2023-3-4
支付宝支付
This commit is contained in:
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user