Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 756 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 762 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 850 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 375 B |
@ -0,0 +1,97 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-08 01:11:33
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-06-27 19:13:06
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div>
|
||||
<div class="main">
|
||||
<img class="icon" src="@/assets/img/order/pay_success.png" />
|
||||
<p>评价成功</p>
|
||||
<div>
|
||||
<UiButton type="grey" @click="$router.back()" :radius="true">返回</UiButton>
|
||||
</div>
|
||||
<div>
|
||||
<b class="product-title">这些宝贝还在等你得评价哦~</b>
|
||||
<ul class="product">
|
||||
<li v-for="(item, idx) in list" :key="idx">
|
||||
<img :src="item.productPicture"/>
|
||||
<p>{{item.productName}}</p>
|
||||
<UiButton type="grey">立即评价</UiButton>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<BsChosen class="chosen"/>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import UiButton from '@/components/UiButton.vue';
|
||||
import {ApiGetOrderPaySatus} from '@/plugins/api/order';
|
||||
export default {
|
||||
components: { UiButton },
|
||||
data(){
|
||||
return {
|
||||
orderId : this.$route.query.orderId,
|
||||
list : [{"id":null,"originId":null,"parentId":null,"userId":null,"userName":null,"commentContent":null,"isShow":null,"createTime":null,"commentType":null,"userAvatar":null,"productId":139,"orderProductId":1075,"skuName":"","productName":"订单设置测试","productPicture":"https://msb-edu-dev.oss-cn-beijing.aliyuncs.com/mall-product/product/cscs.png","pictureUrl":null,"commentScore":null,"isLike":null,"usefulCount":null,"followComment":null,"answerCommentList":null,"merchantComment":null},{"id":null,"originId":null,"parentId":null,"userId":null,"userName":null,"commentContent":null,"isShow":null,"createTime":null,"commentType":null,"userAvatar":null,"productId":73,"orderProductId":1076,"skuName":"L,黄","productName":"测试数据(勿拍)","productPicture":"https://msb-edu-dev.oss-cn-beijing.aliyuncs.com/mall-product/productcute.jpg","pictureUrl":null,"commentScore":null,"isLike":null,"usefulCount":null,"followComment":null,"answerCommentList":null,"merchantComment":null}]
|
||||
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
|
||||
},
|
||||
methods:{
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.main{
|
||||
@include layout-box;
|
||||
text-align: center;
|
||||
padding: 100px 0 40px;
|
||||
}
|
||||
.icon{
|
||||
width: 239px;
|
||||
}
|
||||
b{
|
||||
display: block;
|
||||
}
|
||||
p{
|
||||
margin: 10px 0 25px 0;
|
||||
color: #999;
|
||||
}
|
||||
button{
|
||||
margin: 0 10px 30px;
|
||||
}
|
||||
.product-title{
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: left;
|
||||
background: #F7F7F7;
|
||||
font-weight: normal;
|
||||
color: #666;
|
||||
padding: 0 16px;
|
||||
}
|
||||
.product{
|
||||
display: flex;
|
||||
// justify-content: flex-start;
|
||||
li{
|
||||
margin:40px 0 0 48px;
|
||||
width: 140px;
|
||||
img{
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
object-fit: contain;
|
||||
|
||||
}
|
||||
p{
|
||||
@include ellipses(2);
|
||||
height: 40px;
|
||||
margin: 10px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,59 @@
|
||||
<!--
|
||||
* @Author: ch
|
||||
* @Date: 2022-05-08 01:11:33
|
||||
* @LastEditors: ch
|
||||
* @LastEditTime: 2022-06-27 15:37:53
|
||||
* @Description: file content
|
||||
-->
|
||||
<template>
|
||||
<div>
|
||||
<div class="main">
|
||||
<img class="icon" src="@/assets/img/order/pay_success.png" />
|
||||
<!-- <b>交易成功</b> -->
|
||||
<p>交易成功</p>
|
||||
<div>
|
||||
<UiButton type="grey" @click="$router.replace(`/`)" :radius="true">返回首页</UiButton>
|
||||
<UiButton type="yellow_gradual" @click="$router.replace(`./comment?orderId=${orderId}`)" :radius="true">去评价</UiButton>
|
||||
</div>
|
||||
</div>
|
||||
<BsChosen class="chosen"/>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import UiButton from '@/components/UiButton.vue';
|
||||
import {ApiGetOrderPaySatus} from '@/plugins/api/order';
|
||||
export default {
|
||||
components: { UiButton },
|
||||
data(){
|
||||
return {
|
||||
orderId : this.$route.query.orderId
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
|
||||
|
||||
},
|
||||
methods:{
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.main{
|
||||
@include layout-box;
|
||||
text-align: center;
|
||||
padding: 100px 0 40px;
|
||||
}
|
||||
.icon{
|
||||
width: 239px;
|
||||
}
|
||||
b{
|
||||
display: block;
|
||||
}
|
||||
p{
|
||||
margin: 10px 0 25px 0;
|
||||
color: #999;
|
||||
}
|
||||
button{
|
||||
margin: 0 10px 30px;
|
||||
}
|
||||
</style>
|