lion 3 weeks ago
parent cb4124605f
commit 32053108f7

@ -47,7 +47,7 @@
<!--<view class="infoCol"><view class="address"><image mode="heightFix" src="../../static/icon_dizhi.png"></image>苏州·园区星海街188号苏州万怡大酒店南栋大酒店南栋</view></view>-->
</view>
<view class="btn">
<text v-if="statusNames==='待参加'" @click.stop="cancelCode(item.code)"> </text>
<text v-if="item.statusName==='待参加'" @click.stop="cancelCode(item.code)"> </text>
<text @click.stop="goDetail(item.id)"> 查看 </text>
</view>
@ -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,
@ -162,9 +158,6 @@
method: 'GET',
data: data,
success: r => {
setTimeout(function() {
uni.hideLoading();
}, 100);
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) {

Loading…
Cancel
Save