提交代码

This commit is contained in:
duan 2024-06-12 14:50:03 +08:00
parent 3abfa4658a
commit 84b5632d23
3 changed files with 11 additions and 5 deletions

View File

@ -130,11 +130,11 @@
$base: #555; // $base: #555; //
.page { .page {
position: absolute; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 100%;
height: 50vh; height: 100%;
background-color: #FFFFFF; background-color: #FFFFFF;
} }

View File

@ -87,7 +87,8 @@
</view> </view>
<view class="card" style="padding-bottom: 20rpx;" v-if="listinfo.shopQrcode"> <view class="card" style="padding-bottom: 20rpx;" v-if="listinfo.shopQrcode">
<image :src="listinfo.shopQrcode" show-menu-by-longpress="true" style="width: 100%;" mode="widthFix"></image> <image :src="listinfo.shopQrcode" show-menu-by-longpress="true" style="width: 100%;" mode="widthFix">
</image>
</view> </view>
<view :style="{height:height}"> <view :style="{height:height}">
@ -120,7 +121,7 @@
pay_type: 1, pay_type: 1,
orderId: '', orderId: '',
listinfo: {}, listinfo: {},
srcimge:'https://czg-qr-order.oss-cn-beijing.aliyuncs.com/wx.jpg' srcimge: 'https://czg-qr-order.oss-cn-beijing.aliyuncs.com/wx.jpg'
}; };
}, },
async onLoad(e) { async onLoad(e) {
@ -133,6 +134,11 @@
this.orderorderInfo() this.orderorderInfo()
} }
}, },
onUnload() {
uni.switchTab({
url: '/pages/order/order'
})
},
methods: { methods: {
mountedcreateSelectorQuery() { mountedcreateSelectorQuery() {
//#ifdef MP-WEIXIN || H5 //#ifdef MP-WEIXIN || H5

View File

@ -449,7 +449,7 @@
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