Files
dvcp_v2_wxcp_app/library/project/pidu/AppRedemptionPoints/successOrder.vue

120 lines
2.2 KiB
Vue
Raw Normal View History

2023-03-24 14:17:51 +08:00
<template>
<div class="successOrder">
2023-03-27 10:01:12 +08:00
<img src="./img/success.png" alt="">
<div v-if="isOrder">
<h3>提交成功</h3>
<p>提交免费兑订单成功扣减 <span>50积分</span></p>
<div class="btn-flex">
<div>返回</div>
<div>查看订单</div>
</div>
</div>
<div v-else>
<h3>兑换成功</h3>
<p>提交京东低价商品订单成功扣减 <span>50积分</span>
可点击下方按钮前往京东商城进行低价购买
</p>
<div class="btn">去购买</div>
</div>
2023-03-24 14:17:51 +08:00
</div>
</template>
<script>
import {mapState} from "vuex";
export default {
name: 'successOrder',
appName: '提交订单',
data() {
return {
2023-03-27 10:01:12 +08:00
isOrder: false
2023-03-24 14:17:51 +08:00
}
},
computed: {
...mapState(['user']),
},
onLoad() {
},
onShow() {
document.title = '提交订单'
},
methods: {
},
onReachBottom() {
// this.current = this.current + 1
// this.getList()
},
}
</script>
<style lang="scss" scoped>
2023-03-27 10:01:12 +08:00
uni-page-body{
background-color: #fff;
}
2023-03-24 14:17:51 +08:00
.successOrder {
2023-03-27 10:01:12 +08:00
padding: 0 60px;
text-align: center;
img {
width: 240px;
height: 232px;
margin: 168px auto 32px auto;
}
h3 {
font-family: PingFangSC-SNaNpxibold;
font-weight: 600;
font-size: 40px;
color: #333;
line-height: 56px;
margin-bottom: 16px;
}
p {
color: #333;
font-size: 30px;
font-family: PingFangSC;
line-height: 50px;
text-align: center;
margin-bottom: 80px;
span {
color: #FF6900;
}
}
.btn {
width: 410px;
height: 88px;
line-height: 88px;
background: #2D7DFF;
border-radius: 44px;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 34px;
color: #FFF;
text-align: center;
margin: 0 auto;
}
.btn-flex {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 34px;
margin: 0 auto;
div {
display: inline-block;
width: 272px;
text-align: center;
height: 88px;
line-height: 88px;
border-radius: 44px;
color: #FFF;
background-color: #2D7DFF;
}
div:nth-of-type(1) {
background-color: #E5EFFF;
color: #2D7DFF;
margin-right: 26px;
}
2023-03-24 14:17:51 +08:00
}
}
</style>