diff --git a/packages/active/cancel.vue b/packages/active/cancel.vue index 46f79cb..ff4cefa 100644 --- a/packages/active/cancel.vue +++ b/packages/active/cancel.vue @@ -47,7 +47,7 @@ - 核销 + 核销 查看 @@ -109,7 +109,7 @@ methods: { goDetail(id) { uni.navigateTo({ - url: "/pages/active/detail" + url: "/pages/active/detail?id="+id }) }, cancelCode(code){ @@ -138,17 +138,13 @@ uni.switchTab({ url:'/pages/home/home' }) - },2000) + },2500) } } }) }, getOrderList(page) { const userInfo = uni.getStorageSync('userInfo') - uni.showLoading({ - title: '加载中', - mask: true - }); var data = { page: page, page_size: 99, @@ -161,10 +157,7 @@ url: this.baseUrl + '/api/member/active-list', method: 'GET', data: data, - success: r => { - setTimeout(function() { - uni.hideLoading(); - }, 100); + success: r => { if(r.data.data.length==0){ uni.showToast({ title:'您还未报名该活动', @@ -175,7 +168,7 @@ uni.switchTab({ url:'/pages/home/home' }) - },2000) + },2500) return } for (var m of r.data.data) {