|
|
@ -2,7 +2,6 @@ |
|
|
<view> |
|
|
<view> |
|
|
<!-- 商品信息 --> |
|
|
<!-- 商品信息 --> |
|
|
<block v-if="isRight(orderDetails)"> |
|
|
<block v-if="isRight(orderDetails)"> |
|
|
<self-line/> |
|
|
|
|
|
<view class="bg-white padding-tb-sm"> |
|
|
<view class="bg-white padding-tb-sm"> |
|
|
<skeleton :loading="skeletonLoading" :row="2" :showAvatar="false" :showTitle="true"> |
|
|
<skeleton :loading="skeletonLoading" :row="2" :showAvatar="false" :showTitle="true"> |
|
|
|
|
|
|
|
|
@ -39,7 +38,7 @@ |
|
|
<self-line/> |
|
|
<self-line/> |
|
|
<skeleton :loading="skeletonLoading" :row="1" :showAvatar="false" :showTitle="true"> |
|
|
<skeleton :loading="skeletonLoading" :row="1" :showAvatar="false" :showTitle="true"> |
|
|
<view class="bg-white"> |
|
|
<view class="bg-white"> |
|
|
<view class="cu-bar padding-lr solid-bottom"> |
|
|
|
|
|
|
|
|
<view class="cu-bar padding-lr"> |
|
|
<text class="text-gray lf-font-32">优惠</text> |
|
|
<text class="text-gray lf-font-32">优惠</text> |
|
|
<text class="lf-font-32 text-black1">暂无优惠</text> |
|
|
<text class="lf-font-32 text-black1">暂无优惠</text> |
|
|
</view> |
|
|
</view> |
|
|
@ -59,7 +58,7 @@ |
|
|
请认真阅读并同意<text @tap="$routerGo('/pages/agreement/agreement?id='+orderDetails.agreement.article_id)">《{{orderDetails.agreement.title}}》</text>,在小程序下单购买即表示您已默认同意<text @tap="$routerGo('/pages/agreement/agreement?id='+orderDetails.agreement.article_id)">《{{orderDetails.agreement.title}}》</text>的所有条款。 |
|
|
请认真阅读并同意<text @tap="$routerGo('/pages/agreement/agreement?id='+orderDetails.agreement.article_id)">《{{orderDetails.agreement.title}}》</text>,在小程序下单购买即表示您已默认同意<text @tap="$routerGo('/pages/agreement/agreement?id='+orderDetails.agreement.article_id)">《{{orderDetails.agreement.title}}》</text>的所有条款。 |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="padding-lr padding-tb-sm bg-white flex justify-between align-center solid-top shadow"> |
|
|
|
|
|
|
|
|
<view class="padding-lr padding-tb-sm bg-white flex justify-between align-center shadow"> |
|
|
<view class="flex align-center"> |
|
|
<view class="flex align-center"> |
|
|
<text class="lf-font-28 text-gray">应付款:</text> |
|
|
<text class="lf-font-28 text-gray">应付款:</text> |
|
|
<view class="text-red text-price lf-font-42 lf-font-bold"> |
|
|
<view class="text-red text-price lf-font-42 lf-font-bold"> |
|
|
@ -97,7 +96,8 @@ |
|
|
ifCheck: true, |
|
|
ifCheck: true, |
|
|
type: 0, |
|
|
type: 0, |
|
|
order_id: 0, |
|
|
order_id: 0, |
|
|
ifDo: 1 |
|
|
|
|
|
|
|
|
ifDo: 1, |
|
|
|
|
|
ifPay: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
@ -170,6 +170,8 @@ |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}else { |
|
|
}else { |
|
|
|
|
|
if(!this.ifPay) return; |
|
|
|
|
|
this.ifPay = false; |
|
|
if(this.type == 1){ |
|
|
if(this.type == 1){ |
|
|
this.pay(); |
|
|
this.pay(); |
|
|
return; |
|
|
return; |
|
|
@ -188,9 +190,11 @@ |
|
|
signType: res.data.signType, |
|
|
signType: res.data.signType, |
|
|
paySign: res.data.paySign, |
|
|
paySign: res.data.paySign, |
|
|
success: (res) => { |
|
|
success: (res) => { |
|
|
|
|
|
this.ifPay = true |
|
|
this.$url('/pages/order/pay-success?ifSuccess=1&order_id='+this.order_id,{type: 'redirect'}) |
|
|
this.$url('/pages/order/pay-success?ifSuccess=1&order_id='+this.order_id,{type: 'redirect'}) |
|
|
}, |
|
|
}, |
|
|
fail: (err) => { |
|
|
fail: (err) => { |
|
|
|
|
|
this.ifPay = true |
|
|
this.$url('/pages/order/pay-success?ifSuccess=2&order_id='+this.order_id,{type: 'redirect'}) |
|
|
this.$url('/pages/order/pay-success?ifSuccess=2&order_id='+this.order_id,{type: 'redirect'}) |
|
|
}, |
|
|
}, |
|
|
}) |
|
|
}) |
|
|
|