|
@@ -24,7 +24,7 @@
|
|
</view>
|
|
</view>
|
|
<view class='item acea-row row-between-wrapper'>
|
|
<view class='item acea-row row-between-wrapper'>
|
|
<view>{{$t(`支付金额`)}}</view>
|
|
<view>{{$t(`支付金额`)}}</view>
|
|
- <view class='itemCom'>{{order_pay_info.pay_price}}</view>
|
|
|
|
|
|
+ <view class='itemCom'>{{totalPrice}}</view>
|
|
</view>
|
|
</view>
|
|
<!--失败时加上这个 -->
|
|
<!--失败时加上这个 -->
|
|
<view class='item acea-row row-between-wrapper'
|
|
<view class='item acea-row row-between-wrapper'
|
|
@@ -112,6 +112,7 @@
|
|
mixins: [colors],
|
|
mixins: [colors],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ totalPrice: 0,
|
|
loading: false,
|
|
loading: false,
|
|
lotteryLoading: false,
|
|
lotteryLoading: false,
|
|
orderLottery: false,
|
|
orderLottery: false,
|
|
@@ -149,6 +150,7 @@
|
|
url: 1
|
|
url: 1
|
|
});
|
|
});
|
|
this.orderId = options.order_id;
|
|
this.orderId = options.order_id;
|
|
|
|
+ this.totalPrice = options.totalPrice;
|
|
this.status = options.status || 0;
|
|
this.status = options.status || 0;
|
|
this.msg = options.msg || '';
|
|
this.msg = options.msg || '';
|
|
|
|
|
|
@@ -231,24 +233,27 @@
|
|
*/
|
|
*/
|
|
goOrderDetails: function(e) {
|
|
goOrderDetails: function(e) {
|
|
let that = this;
|
|
let that = this;
|
|
- // #ifdef MP
|
|
|
|
- uni.showLoading({
|
|
|
|
- title: that.$t(`正在加载中`),
|
|
|
|
- })
|
|
|
|
- openOrderSubscribe().then(res => {
|
|
|
|
- uni.hideLoading();
|
|
|
|
- uni.redirectTo({
|
|
|
|
- url: '/pages/goods/order_details/index?order_id=' + that.orderId
|
|
|
|
- });
|
|
|
|
- }).catch(() => {
|
|
|
|
- nui.hideLoading();
|
|
|
|
- });
|
|
|
|
- // #endif
|
|
|
|
- // #ifndef MP
|
|
|
|
uni.redirectTo({
|
|
uni.redirectTo({
|
|
- url: '/pages/goods/order_details/index?order_id=' + that.orderId
|
|
|
|
- })
|
|
|
|
- // #endif
|
|
|
|
|
|
+ url: '/pages/goods/order_list/index?status=2'
|
|
|
|
+ });
|
|
|
|
+ // // #ifdef MP
|
|
|
|
+ // uni.showLoading({
|
|
|
|
+ // title: that.$t(`正在加载中`),
|
|
|
|
+ // })
|
|
|
|
+ // openOrderSubscribe().then(res => {
|
|
|
|
+ // uni.hideLoading();
|
|
|
|
+ // uni.redirectTo({
|
|
|
|
+ // url: '/pages/goods/order_details/index?order_id=' + that.orderId
|
|
|
|
+ // });
|
|
|
|
+ // }).catch(() => {
|
|
|
|
+ // nui.hideLoading();
|
|
|
|
+ // });
|
|
|
|
+ // // #endif
|
|
|
|
+ // // #ifndef MP
|
|
|
|
+ // uni.redirectTo({
|
|
|
|
+ // url: '/pages/goods/order_details/index?order_id=' + that.orderId
|
|
|
|
+ // })
|
|
|
|
+ // // #endif
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|