Commit 8f10ea45 authored by wildfirecode's avatar wildfirecode

1

parent 54102687
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
<script src="libs/fileSave.js"></script> <script src="libs/fileSave.js"></script>
<img id="pic" style="width:100%;position: absolute;z-index: 999;display: none;"/> <img id="pic" style="width:100%;position: absolute;z-index: 999;display: none;"/>
<script> <script>
// localStorage.clear();
window['testUrl'] = 'http://cuxiaoprexg.m.cnsuning.com/scms/cx521.html?activityId=SL446689024459878400&subactivityId=SUB446689681678090240&businessid=cx521'; window['testUrl'] = 'http://cuxiaoprexg.m.cnsuning.com/scms/cx521.html?activityId=SL446689024459878400&subactivityId=SUB446689681678090240&businessid=cx521';
window['hbRainTime'] = 30; // 红包雨倒计时 window['hbRainTime'] = 30; // 红包雨倒计时
window['plugs'] = [1, 2, 3] window['plugs'] = [1, 2, 3]
......
...@@ -347,20 +347,20 @@ export default class MapScene extends Scene { ...@@ -347,20 +347,20 @@ export default class MapScene extends Scene {
onAllPanelHide = () => { onAllPanelHide = () => {
if(!localStorage.getItem('activityguide')) { if(!localStorage.getItem('activityguide')) {
NetManager.ins.hbRainBaseInfo((success, res) => { // NetManager.ins.hbRainBaseInfo((success, res) => {
if(!success) { // if(!success) {
if(res.code == "600054" || res.code == "600055") { // if(res.code == "600054" || res.code == "600055") {
this['guide'].visible = false; // this['guide'].visible = false;
} // }
return; // return;
} // }
const data = res.data; // const data = res.data;
if(!data.currentSession && !data.nextSession) { // if(!data.currentSession && !data.nextSession) {
this['guide'].visible = false; // this['guide'].visible = false;
return; // return;
} // }
this['guide'].visible = true; this['guide'].visible = true;
}); // });
} }
} }
......
...@@ -5,18 +5,8 @@ ...@@ -5,18 +5,8 @@
"timestamp": 1573210800000, "timestamp": 1573210800000,
"data": { "data": {
"currentRemainTimes": 0, "currentRemainTimes": 0,
"currentSession": { "currentSession": null,
"sessionIndex": 6, "nextSession": null,
"startTime": 1573210800000, "canJoin": false
"endTime": 1573299903000,
"limitScore": 10
},
"nextSession": {
"sessionIndex": 10,
"startTime": 1573440915952,
"endTime": 1573299903000,
"limitScore": 10
},
"canJoin": 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