|
|
@@ -77,6 +77,8 @@ Page({ |
|
|
|
machineShow:false, |
|
|
|
upgradeShow:false, |
|
|
|
starMoveShow:false, |
|
|
|
cash1Show:false, |
|
|
|
cash2Show:false, |
|
|
|
lookPrizeDetail:false, |
|
|
|
lookIndex:null, |
|
|
|
buyStateCouponCode:"", |
|
|
@@ -305,7 +307,6 @@ Page({ |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
console.log(1); |
|
|
|
if(!app.globalData.isStar){ |
|
|
|
this.phonebolb(); |
|
|
|
}else{ |
|
|
@@ -831,15 +832,15 @@ Page({ |
|
|
|
// res.data[0].awardState = 0; |
|
|
|
// res.data = this.data.testData; |
|
|
|
// res.data = [{ |
|
|
|
// awardDetailPicurl:"https://xingb.venucia.com/award/14_2.png", |
|
|
|
// awardId:14, |
|
|
|
// awardName:"100元机油升级券", |
|
|
|
// awardPicurl:"https://xingb.venucia.com/award/14_1.png", |
|
|
|
// awardState:1, |
|
|
|
// awardType:2, |
|
|
|
// cdate:"2020-04-01", |
|
|
|
// couponCode:"450610985", |
|
|
|
// productId:0 |
|
|
|
// awardDetailPicContentHeight: 0, |
|
|
|
// awardName: "500元现金", //奖品名称 |
|
|
|
// awardPicurl: "https://xingb.venucia.com/award/10_1.png",//奖品小图 |
|
|
|
// couponCode: "我是卡号",//卡号 |
|
|
|
// couponSecret:"我是卡密",//卡密 |
|
|
|
// dead_date:"我是有效期",//有效期 |
|
|
|
// awardState: 1, |
|
|
|
// cdate: "2020-03-23", |
|
|
|
// awardId: 16 |
|
|
|
// }] |
|
|
|
// if(this.data.parames2.page<3){ |
|
|
|
// for(let i=0;i<20;i++){ |
|
|
@@ -1032,6 +1033,10 @@ Page({ |
|
|
|
this.upgradeHide(); |
|
|
|
}else if(this.data.couponList[index].couponId=="179478"){ |
|
|
|
this.starMoveHide(); |
|
|
|
}else if(this.data.couponList[index].couponId=="185379"){ |
|
|
|
this.cashHide1(); |
|
|
|
}else if(this.data.couponList[index].couponId=="185382"){ |
|
|
|
this.cashHide2(); |
|
|
|
} |
|
|
|
}, |
|
|
|
vipDetailHide:function(){ |
|
|
@@ -1054,6 +1059,16 @@ Page({ |
|
|
|
starMoveShow:!this.data.starMoveShow |
|
|
|
}) |
|
|
|
}, |
|
|
|
cashHide1:function(){ |
|
|
|
this.setData({ |
|
|
|
cash1Show:!this.data.cash1Show |
|
|
|
}) |
|
|
|
}, |
|
|
|
cashHide2:function(){ |
|
|
|
this.setData({ |
|
|
|
cash2Show:!this.data.cash2Show |
|
|
|
}) |
|
|
|
}, |
|
|
|
cardCodeCopy:function(){ |
|
|
|
this.contentCopy(this.data.couponListCode); |
|
|
|
}, |