Commit 38689793 authored by zhangjinzhou's avatar zhangjinzhou

新增banner

parent b5a0cfca
......@@ -8,9 +8,12 @@ export default class StartItem extends eui.ItemRenderer {
}
dataChanged() {
this.addEventListener(egret.TouchEvent.TOUCH_TAP,()=>{
location.href = this.data.activityUrl;
},this);
if(this.data.activityStatus!=0){
this.addEventListener(egret.TouchEvent.TOUCH_TAP,()=>{
location.href = this.data.activityUrl;
},this);
}
this['img0'].visible=false;
this['img2'].visible=false;
this['img1'].visible=false;
......
......@@ -14,6 +14,18 @@
"completeTime": null,
"startTime": 1572624000,
"endTime": 1574524799
},
{
"activityId": "addnew",
"activityUrl": "http://aghzapi.zjkczn.com/h5/pages/luckyActivity/#/",
"userStatus": 1,
"sourceType": 1,
"activityName": "中国移动我为亚运赋能",
"activityStatus": 0,
"banner": "https://yun.duiba.com.cn/aurora/assets/7049b9d893348f5b64d9d8454863052107139a5b.png",
"completeTime": null,
"startTime": 1572624000,
"endTime": 1574524799
}
],
"completeCount": 1,
......
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