Commit 1e87ca3b authored by 邱旭's avatar 邱旭

1

parent cb448830
......@@ -448,7 +448,7 @@ export default class MapScene extends Scene {
if (!success) {
return;
}
console.log(res.data);
// console.log(res.data);
if (res.data.completeFlag == 3) {
showToast("哎呀,萌狮开小差啦!\n过会再来看吧!");
} else {
......@@ -492,7 +492,7 @@ export default class MapScene extends Scene {
this["inviteGroup"].visible = true;
this["inviteTipsBg"].visible = true;
this["inviteTips"].visible = true;
this.cutTime = res.data.endTime - res.data.sysTime + 1000;
this.cutTime = res.data.endTime - res.data.sysTime + 5000;
if (this.timer) {
this.timer.stop();
}
......
......@@ -61,7 +61,7 @@ export default class InviteCutTimePanel extends Panel {
initUI() {
// 到第二天0点的倒计时
let endTime = this.data.sysTime + 86400000 - ((this.data.sysTime + 86400000) % 86400000) - 8 * 3600000;
this.cutTime = endTime - this.data.sysTime + 1000;
this.cutTime = endTime - this.data.sysTime + 5000;
if(this.timer){
this.timer.stop();
}
......
......@@ -102,7 +102,7 @@ export default class InvitePanel extends Panel {
this.list.itemRenderer = InviteItem;
this.list.dataProvider = new eui.ArrayCollection(this.data.invitationUser);
this.cutTime = this.data.endTime - this.data.sysTime + 1000;
this.cutTime = this.data.endTime - this.data.sysTime + 5000;
if(this.timer){
this.timer.stop();
}
......
{
"success": true,
"code": null,
"desc": null,
"timestamp": 1566199822308,
"code": "0000000000",
"desc": "OK",
"timestamp": 1571227735841,
"data": {
"invitationId": "活动id",
"img": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg",
"completeFlag": 1,
"openPrizMsg": "图片",
"prizeType": "nickname",
"prizeName": "nickname",
"prizeImg": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg",
"facePrice": "avatar"
"invitationId": null,
"invitationCount": null,
"sysTime": null,
"endTime": null,
"completeFlag": 2,
"openPrizMsg": null,
"prizeType": "7",
"prizeName": null,
"prizeImg": "//yun.dui88.com/images/201910/bvyb9owmne.gif",
"facePrice": "duibaduiba",
"invitationUser": null
}
}
\ No newline at end of file
......@@ -7,8 +7,8 @@
"invitationId": "活动id",
"invitationCount": 5,
"img": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg",
"sysTime": 1570630215000,
"endTime": 1570672800000,
"sysTime": 1570672800000,
"endTime": 1570672810000,
"invitationUser": [
{
"nickname": "nickname",
......@@ -19,7 +19,7 @@
"avatar": null
}
],
"completeFlag": 0,
"completeFlag": 6,
"openPrizeMsg": "图片",
"prizeType": "nickname",
"prizeName": "nickname",
......
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