Merge branch 'msb_test' into msb_prod

feature/ad-0531-ch
ch 3 years ago
commit be4082e868

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-05-08 01:11:33
* @LastEditors: ch
* @LastEditTime: 2022-05-10 15:48:51
* @LastEditTime: 2022-05-27 19:32:59
* @Description: file content
-->
<template>
@ -13,20 +13,26 @@
<div>
<UiButton type="grey" @click="goHome" :radius="true">返回首页</UiButton>
<UiButton type="yellow_gradual" @click="goDetail" :radius="true">查看订单</UiButton>
<UiButton type="yellow_gradual" v-if="orderInfo.orderType !== ORDER_TYPE.VIRTUAL" @click="goMessage" :radius="true"></UiButton>
</div>
</div>
</template>
<script>
import UiButton from '../../components/UiButton.vue';
import {ApiGetOrderPaySatus} from '@/plugins/api/order';
import {ORDER_TYPE} from '@/plugins/dicts/order';
export default {
components: { UiButton },
data(){
return {
orderInfo : {},
ORDER_TYPE,
reuqestNum : 0
}
},
mounted(){
this.getOrderInfo();
},
methods:{
async getOrderInfo(){
this.reuqestNum++;
@ -48,6 +54,9 @@ export default {
},
goDetail(){
this.$router.replace(`/account/order/detail?id=${this.$route.query.id}`)
},
goMessage(){
window.open('https://you.mashibing.com/account/message','_black');
}
}
}

Loading…
Cancel
Save