支付宝支付
This commit is contained in:
2023-03-04 15:59:08 +08:00
parent 966dd3b269
commit 39ae66c2f4
5 changed files with 41 additions and 20 deletions

View File

@@ -2,9 +2,9 @@
<view class="content">
<text class="success-icon yticon icon-xuanzhong2"></text>
<text class="tit">支付成功</text>
<view class="result-mid red-price">
{{ paymentInfo.payAmount }}
</view>
<!-- <view class="result-mid red-price">
{{ paymentInfo.payAmount }}
</view> -->
<view class="btn-group">
<navigator url="/pages/order/order?status=0" open-type="redirect" class="mix-btn">查看订单</navigator>
<navigator url="/pages/index/index" open-type="switchTab" class="mix-btn hollow">返回首页</navigator>
@@ -25,11 +25,11 @@ import Api from '@/common/api';
}
},
onLoad(options) {
if (options.order) {
let order = JSON.parse(options.order)
this.orderId = order.id
this.paymentInfo = order
}
// if (options.order) {
// let order = JSON.parse(options.order)
// this.orderId = order.id
// this.paymentInfo = order
// }
},
methods: {}