Commit 86984d7a authored by lijiongliang's avatar lijiongliang

页面修改

parent 9ecba1f5
// const baseUrl = 'https://r.ucaret.cn/test-api'; // 开发地址 // const baseUrl = 'https://r.ucaret.cn/test-api'; // 开发地址
const baseUrl = 'https://jduniapp.uzosp.com'; // 线上地址 const baseUrl = 'http://4v7u6z.natappfree.cc'; // 开发地址
// const baseUrl = 'https://jduniapp.uzosp.com'; // 线上地址
const httpRequest = (opts, data) => { const httpRequest = (opts, data) => {
let httpDefaultOpts = { let httpDefaultOpts = {
url: baseUrl + opts.url, url: baseUrl + opts.url,
......
...@@ -57,6 +57,9 @@ ...@@ -57,6 +57,9 @@
<view class="pooup-get-coupon" v-if="pooupCoupon"> <view class="pooup-get-coupon" v-if="pooupCoupon">
<view class="coupon-box"> <view class="coupon-box">
<image src="../../../static/index/coupon3.png"></image> <image src="../../../static/index/coupon3.png"></image>
<view class="close" @click="pooupCoupon = false">
X
</view>
<view class="title"> <view class="title">
<view style="margin-bottom:10rpx;font-weight: bold;"> <view style="margin-bottom:10rpx;font-weight: bold;">
您无优惠券可用 您无优惠券可用
...@@ -475,6 +478,11 @@ ...@@ -475,6 +478,11 @@
width:100%;height:100%; width:100%;height:100%;
z-index:-11; z-index:-11;
} }
.close{
font-size:32rpx;
position: absolute;
top:20rpx;right:30rpx;
}
.title{ .title{
width:100%; width:100%;
position: absolute; position: absolute;
......
...@@ -110,6 +110,11 @@ ...@@ -110,6 +110,11 @@
} else { } else {
that.gotoBindMoveCar(scene) that.gotoBindMoveCar(scene)
} }
}else{
uni.showToast({
title: res.data.msg,
icon: 'none',
});
} }
}) })
} else { } else {
...@@ -124,6 +129,11 @@ ...@@ -124,6 +129,11 @@
icon: 'none', icon: 'none',
}) })
} }
}else{
uni.showToast({
title: res.data.msg,
icon: 'none',
});
} }
}) })
} }
......
...@@ -97,6 +97,11 @@ ...@@ -97,6 +97,11 @@
}) })
} }
}); });
}else{
uni.showToast({
title: res.data.msg,
icon: 'none',
});
} }
}) })
// uni.showToast({ // uni.showToast({
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment