|
|
|
@ -25,7 +25,7 @@ |
|
|
|
</button> |
|
|
|
</view> |
|
|
|
<view class="padding-top-sm padding-lr-lg"> |
|
|
|
<button class="cu-btn block bg-white border lg margin-top round" @tap="returnIndex()"> |
|
|
|
<button class="cu-btn block bg-white border lg margin-top round" @tap="$url('/pages/index/index',{type: 'switch'})"> |
|
|
|
<text class="text-df text-black">返回首页</text> |
|
|
|
</button> |
|
|
|
</view> |
|
|
|
@ -37,17 +37,10 @@ |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
ifpaySuccess:1, |
|
|
|
ifpaySuccess:-1, |
|
|
|
order_id: 1 |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
returnIndex() { |
|
|
|
uni.switchTab({ |
|
|
|
url: '/pages/order/index' |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(e) { |
|
|
|
this.ifpaySuccess = e.ifSuccess |
|
|
|
this.order_id = e.order_id |
|
|
|
|