Commit b16d044b authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 4b44a5fa
...@@ -312,21 +312,29 @@ ...@@ -312,21 +312,29 @@
}, },
queryOrderStatus(largeType, tid) { queryOrderStatus(largeType, tid) {
let that = this; let that = this;
this.post({ setTimeout(() => {
data: { tt.showLoading({
tid: tid title: '查询中...'
}, });
url: '/vip/queryVipOrder', setTimeout(() => {
showLoading: true, tt.hideLoading();
success: ({ that.post({
data data: {
}) => { tid: tid
message.notify('支付成功'); },
setTimeout(() => { url: '/vip/queryVipOrder',
navigateBack() showLoading: true,
}, 1000); success: ({
} data
}); }) => {
message.notify('支付成功');
setTimeout(() => {
navigateBack()
}, 1000);
}
});
}, 3000);
}, 1000);
}, },
checkboxChange(e) { checkboxChange(e) {
if (e.detail.value.length > 0) { if (e.detail.value.length > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment