|
...
|
...
|
@@ -36,7 +36,13 @@ Page({ |
|
|
|
}else{
|
|
|
|
item.is_expire='1';
|
|
|
|
}
|
|
|
|
if(item.is_type == '3'){
|
|
|
|
item.status = '2';
|
|
|
|
item.is_examine = '0';
|
|
|
|
}
|
|
|
|
})
|
|
|
|
list.sort((a, b) => a.is_examine - b.is_examine);
|
|
|
|
list.sort((a, b) => a.is_expire - b.is_expire);
|
|
|
|
this.setData({
|
|
|
|
list,
|
|
|
|
isShow:true,
|
|
...
|
...
|
@@ -65,9 +71,18 @@ Page({ |
|
|
|
todetail(e) {
|
|
|
|
let item=e.currentTarget.dataset['item'];
|
|
|
|
if(item.is_examine=='0' && item.is_expire=='0' && item.is_examine=='0' && item.status!='4' && item.status!='5'){
|
|
|
|
wx.navigateTo({
|
|
|
|
url: '/pack-activity/pack/examineCertificate?id='+item.id,
|
|
|
|
})
|
|
|
|
// 免费券 扫商家的付款码 进行使用
|
|
|
|
if(item.is_type == '3'){
|
|
|
|
wx.scanCode({
|
|
|
|
success: (res) => {
|
|
|
|
}
|
|
|
|
})
|
|
|
|
return
|
|
|
|
}else{
|
|
|
|
wx.navigateTo({
|
|
|
|
url: '/pack-activity/pack/examineCertificate?id='+item.id,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(item.is_examine=='1' && item.is_expire=='0' && item.status!='4' && item.status!='5' && item.is_comment!='1'){
|
|
|
|
wx.navigateTo({
|
...
|
...
|
|