提交代码

This commit is contained in:
duan 2024-06-12 14:04:38 +08:00
parent b03afdb4e3
commit 3abfa4658a
2 changed files with 12 additions and 26 deletions

View File

@ -134,7 +134,7 @@
left: 0;
top: 0;
width: 100%;
height: 100vh;
height: 50vh;
background-color: #FFFFFF;
}

View File

@ -171,8 +171,8 @@
以优惠¥{{emitorderfoodform.couponsPrice}}
</view>
</view>
<view class="fixedview_tow" @tap="showpopupclickdd">
<!-- <view class="fixedview_tow" @tap="$u.debounce(showpopupclickdd, 500)"> -->
<!-- <view class="fixedview_tow" @tap="showpopupclickdd"> -->
<view class="fixedview_tow" @tap="$u.debounce(showpopupclickdd, 500)">
立即付款
</view>
</view>
@ -445,31 +445,17 @@
uni.requestSubscribeMessage({
tmplIds: ['z0fUG7-jhSfYCrw6poOvSRzh4_hgnPkm_5C7E5s5bCQ'],
complete() {
uni.showToast({
title: "支付成功"
})
uni.cache.set('shopUser', '') //shopUser
this.paymodfiyOrderInfo()
uni.redirectTo({
url: '/pages/order/order_detail?orderId=' + _this
.listinfo.id
});
},
})
// setTimeout(() => {
// uni.redirectTo({
// url: '/pages/order/order_detail?orderId=' + _this
// .listinfo.id
// });
// }, 700)
},
});
// #endif
@ -492,15 +478,15 @@
this.showToastUppop('支付成功')
let _this = this
uni.requestSubscribeMessage({
tmplIds: ['z0fUG7-jhSfYCrw6poOvSRzh4_hgnPkm_5C7E5s5bCQ'],
complete() {
uni.redirectTo({
url: '/pages/order/order_detail?orderId=' + _this
.listinfo.id
});
},
})
uni.requestSubscribeMessage({
tmplIds: ['z0fUG7-jhSfYCrw6poOvSRzh4_hgnPkm_5C7E5s5bCQ'],
complete() {
uni.redirectTo({
url: '/pages/order/order_detail?orderId=' + _this
.listinfo.id
});
},
})
} else if (res.data == 2) {
this.showToastUppop('余额不足')