修改订单问题

This commit is contained in:
liuyuan
2025-07-01 16:34:25 +08:00
parent e0556ef0fd
commit c7bab5afb4
12 changed files with 1065 additions and 743 deletions

View File

@@ -2,8 +2,7 @@
<view class="container commonPageBox">
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<z-nav-bar title="充值" bgColor="#258feb" fontColor="#fff" :homeState="options.source == 'order' ? 1000 : 2000"
:backState="options.source == 'order' ? 2000 : 1000" @click-home="handleHomeClick"></z-nav-bar>
<z-nav-bar title="充值" bgColor="#258feb" fontColor="#fff"></z-nav-bar>
<view>
<view class="cha_jine">
@@ -234,12 +233,6 @@
});
},
//回到首页
handleHomeClick(){
uni.switchTab({
url: '/pages/peanut/home'
});
},
// 关闭交易订单
finishTransaction(trans) {
this.iapChannel.finishTransaction(
@@ -641,8 +634,8 @@
title: "支付成功",
});
setTimeout(() => {
uni.navigateTo({
url: "/pages/mine/wallet/index/index?source=recharge",
uni.switchTab({
url: "/pages/mine/mine/index",
});
}, 2000);
} else {
@@ -673,8 +666,8 @@
title: "支付成功",
});
setTimeout(() => {
uni.navigateTo({
url: "/pages/mine/wallet/index/index?source=recharge",
uni.switchTab({
url: "/pages/mine/mine/index",
});
}, 2000);
} else {