提交代码
This commit is contained in:
@@ -134,7 +134,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 50vh;
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -171,8 +171,8 @@
|
|||||||
以优惠¥{{emitorderfoodform.couponsPrice}}
|
以优惠¥{{emitorderfoodform.couponsPrice}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="fixedview_tow" @tap="showpopupclickdd">
|
<!-- <view class="fixedview_tow" @tap="showpopupclickdd"> -->
|
||||||
<!-- <view class="fixedview_tow" @tap="$u.debounce(showpopupclickdd, 500)"> -->
|
<view class="fixedview_tow" @tap="$u.debounce(showpopupclickdd, 500)">
|
||||||
立即付款
|
立即付款
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -445,31 +445,17 @@
|
|||||||
uni.requestSubscribeMessage({
|
uni.requestSubscribeMessage({
|
||||||
tmplIds: ['z0fUG7-jhSfYCrw6poOvSRzh4_hgnPkm_5C7E5s5bCQ'],
|
tmplIds: ['z0fUG7-jhSfYCrw6poOvSRzh4_hgnPkm_5C7E5s5bCQ'],
|
||||||
complete() {
|
complete() {
|
||||||
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "支付成功"
|
title: "支付成功"
|
||||||
})
|
})
|
||||||
|
|
||||||
uni.cache.set('shopUser', '') //删除shopUser
|
uni.cache.set('shopUser', '') //删除shopUser
|
||||||
this.paymodfiyOrderInfo()
|
this.paymodfiyOrderInfo()
|
||||||
|
|
||||||
|
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: '/pages/order/order_detail?orderId=' + _this
|
url: '/pages/order/order_detail?orderId=' + _this
|
||||||
.listinfo.id
|
.listinfo.id
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// setTimeout(() => {
|
|
||||||
// uni.redirectTo({
|
|
||||||
// url: '/pages/order/order_detail?orderId=' + _this
|
|
||||||
// .listinfo.id
|
|
||||||
// });
|
|
||||||
// }, 700)
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
// #endif
|
// #endif
|
||||||
@@ -492,15 +478,15 @@
|
|||||||
this.showToastUppop('支付成功')
|
this.showToastUppop('支付成功')
|
||||||
let _this = this
|
let _this = this
|
||||||
|
|
||||||
uni.requestSubscribeMessage({
|
uni.requestSubscribeMessage({
|
||||||
tmplIds: ['z0fUG7-jhSfYCrw6poOvSRzh4_hgnPkm_5C7E5s5bCQ'],
|
tmplIds: ['z0fUG7-jhSfYCrw6poOvSRzh4_hgnPkm_5C7E5s5bCQ'],
|
||||||
complete() {
|
complete() {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: '/pages/order/order_detail?orderId=' + _this
|
url: '/pages/order/order_detail?orderId=' + _this
|
||||||
.listinfo.id
|
.listinfo.id
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
} else if (res.data == 2) {
|
} else if (res.data == 2) {
|
||||||
this.showToastUppop('余额不足')
|
this.showToastUppop('余额不足')
|
||||||
|
|||||||
Reference in New Issue
Block a user