Commit b5a0cfca authored by wildfirecode's avatar wildfirecode

1

parent bb189fdd
...@@ -22,8 +22,8 @@ export default class Start1Scene extends Scene { ...@@ -22,8 +22,8 @@ export default class Start1Scene extends Scene {
this.list.dataProvider = new eui.ArrayCollection(data.activityList); this.list.dataProvider = new eui.ArrayCollection(data.activityList);
let showSuccess = false; let showSuccess = false;
if (localStorage.getItem('yyh2_success') == null && data.lighten == 1) { if (data.firstLighten && data.lighten == 1) {
localStorage.setItem('yyh2_success', "1"); // localStorage.setItem('yyh2_success', "1");
PanelCtrl.instance.show('SuccessPanel'); PanelCtrl.instance.show('SuccessPanel');
showSuccess = true; showSuccess = true;
} }
......
{ {
"code":"0000000000", "code": null,
"desc":"OK", "data": {
"success":1, "lighten": 1,
"timestamp":1564121038421, "activityList": [
"data":{ {
"lighten":1, "activityId": "",
"completeCount":3, "activityUrl": "https://campaign.geely.com/special/2019/10/dhmls?userId=4",
"activityList":[ "userStatus": 0,
] "sourceType": 1,
} "activityName": "吉利向上马拉松",
"activityStatus": 2,
"banner": "https://yun.duiba.com.cn/db_games/jldhlogo.png",
"completeTime": null,
"startTime": 1572624000,
"endTime": 1574524799
}
],
"completeCount": 1,
"firstLighten": true
},
"message": null,
"success": true
} }
\ No newline at end of file
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