✨ feat: 卡密页新增loding
This commit is contained in:
parent
71999bcc52
commit
bb762e8380
|
@ -12,6 +12,8 @@
|
|||
<script type="text/javascript" src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/common/axios.js?v=1367936144322">
|
||||
</script>
|
||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/api2_0.js"></script>
|
||||
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/loading.css">
|
||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/loading.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -87,6 +89,9 @@
|
|||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<div class="mask" @touchmove.prevent @mousewheel.prevent v-if="loading" ref="load">
|
||||
<preload-component />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -103,7 +108,8 @@
|
|||
show_url: null,
|
||||
},
|
||||
toastShow: false,
|
||||
toastTip: ''
|
||||
toastTip: '',
|
||||
loading: true
|
||||
};
|
||||
},
|
||||
|
||||
|
@ -127,10 +133,12 @@
|
|||
|
||||
getInfo () {
|
||||
const orderNumber = localStorage.getItem('orderNumber');
|
||||
this.loading = true;
|
||||
/* 获取卡密详情 */
|
||||
req.axiosGet(`/key/order/detail/${orderNumber}`).then(res => {
|
||||
if (res.code == 200) {
|
||||
this.cardData = res.data;
|
||||
this.loading = false;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue