mall-laonong/pages/cart/finish.vue

49 lines
1.0 KiB
Vue
Raw Permalink Normal View History

2022-07-31 02:14:22 +00:00
<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({
2022-08-02 05:51:36 +00:00
url:`/pagesA/order/detail?id=${this.id}&backTag=backmy`
2022-07-31 02:14:22 +00:00
})
},
// 继续购物
goShop(){
uni.navigateTo({
url:'/pages/index/index'
})
},
}
}
</script>
<style>
</style>