49 lines
1.0 KiB
Vue
49 lines
1.0 KiB
Vue
<template>
|
|
<view>
|
|
<status-nav :ifReturn="false" navBarTitle="完成" :marginBottom="0"></status-nav>
|
|
<view class="finish-content">
|
|
<view class="finish-img flex">
|
|
<image src="/static/icon/icon-finish.png" mode="widthFix"></image>
|
|
</view>
|
|
<view class="finish-txt font48">支付已完成</view>
|
|
<view class="finish-btns font36 border-box">
|
|
<view class="btn radius30 border-box background-orange flex" @tap="goShop">继续购物</view>
|
|
<view class="btn radius30 border-box flex" @tap="goOrder">查看订单</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
imgsrc:'',
|
|
id:'',//订单id
|
|
}
|
|
},
|
|
onLoad(op) {
|
|
console.log(op)
|
|
this.id = op.id
|
|
},
|
|
methods: {
|
|
// 提交
|
|
goOrder(){
|
|
uni.navigateTo({
|
|
url:`/pagesA/order/detail?id=${this.id}&backTag=backmy`
|
|
})
|
|
},
|
|
// 继续购物
|
|
goShop(){
|
|
uni.navigateTo({
|
|
url:'/pages/index/index'
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|