Commit 477b5530 authored by haiyoucuv's avatar haiyoucuv

1

parents 286990ea ff6739b6
This diff is collapsed.
{ "code": "000000", "data": { "currentLevel": 120, "visitors": [ { "activityId": "5f213ff79897b44ce1d2925d", "score": 57340, "level": 107, "createTime": 1596426790338, "openId": "AAFgCvE-ALiIWXYsJuSLKdVt", "isVisitSuccess": true, "updateTime": 1596426790338, "_id": "5f278a26964f9706aa6a0f6a", "stars": 3, "isPrizeLevel": false, "sendAwardType": true }, { "activityId": "5f213ff79897b44ce1d2925d", "score": 61920, "level": 90, "createTime": 1596426870046, "openId": "AAFgCvE-ALiIWXYsJuSLKdVt", "isVisitSuccess": true, "updateTime": 1596426967833, "_id": "5f278a7675cfb6d7c12b4a34", "stars": 3, "isPrizeLevel": true, "sendAwardType": "prize" }, { "activityId": "5f213ff79897b44ce1d2925d", "score": 71960, "level": 30, "createTime": 1596167666174, "openId": "AAFgCvE-ALiIWXYsJuSLKdVt", "isVisitSuccess": true, "updateTime": 1596167666174, "_id": "5f2395f275cfb6d7c120368e", "stars": 3, "isPrizeLevel": true, "sendAwardType": "prize" }, { "activityId": "5f213ff79897b44ce1d2925d", "score": 33790, "level": 29, "createTime": 1596167581587, "openId": "AAFgCvE-ALiIWXYsJuSLKdVt", "isVisitSuccess": true, "updateTime": 1596167581587, "_id": "5f23959d964f9706aa5eee7c", "stars": 3, "isPrizeLevel": false, "sendAwardType": true }, { "activityId": "5f213ff79897b44ce1d2925d", "score": 22440, "level": 28, "createTime": 1596097857555, "openId": "AAFgCvE-ALiIWXYsJuSLKdVt", "isVisitSuccess": true, "updateTime": 1596097857555, "_id": "5f228541738989c8b3f71b0e", "stars": 3, "isPrizeLevel": false, "sendAwardType": true }, { "activityId": "5f213ff79897b44ce1d2925d", "score": 61340, "level": 27, "createTime": 1596097814868, "openId": "AAFgCvE-ALiIWXYsJuSLKdVt", "isVisitSuccess": true, "updateTime": 1596097814868, "_id": "5f228516ef5071ef853e122c", "stars": 3, "isPrizeLevel": false, "sendAwardType": true }, { "activityId": "5f213ff79897b44ce1d2925d", "score": 43200, "level": 26, "createTime": 1596097739299, "openId": "AAFgCvE-ALiIWXYsJuSLKdVt", "isVisitSuccess": true, "updateTime": 1596097739299, "_id": "5f2284cb9897b44ce1d55d80", "stars": 3, "isPrizeLevel": false, "sendAwardType": true }, { "activityId": "5f213ff79897b44ce1d2925d", "score": 35330, "level": 25, "createTime": 1596097712583, "openId": "AAFgCvE-ALiIWXYsJuSLKdVt", "isVisi tSuccess": true, {
"code": "000000",
"data": {
"currentLevel": 118,
"visitors": [
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 57340,
"level": 107,
"createTime": 1596426790338,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596426790338,
"_id": "5f278a26964f9706aa6a0f6a",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 61920,
"level": 90,
"createTime": 1596426870046,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596426967833,
"_id": "5f278a7675cfb6d7c12b4a34",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 71960,
"level": 30,
"createTime": 1596167666174,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596167666174,
"_id": "5f2395f275cfb6d7c120368e",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 33790,
"level": 29,
"createTime": 1596167581587,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596167581587,
"_id": "5f23959d964f9706aa5eee7c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 22440,
"level": 28,
"createTime": 1596097857555,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097857555,
"_id": "5f228541738989c8b3f71b0e",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 61340,
"level": 27,
"createTime": 1596097814868,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097814868,
"_id": "5f228516ef5071ef853e122c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 43200,
"level": 26,
"createTime": 1596097739299,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097739299,
"_id": "5f2284cb9897b44ce1d55d80",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 35330,
"level": 25,
"createTime": 1596097712583,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisi tSuccess": true,
"updateTime": 1596097712583, "updateTime": 1596097712583,
"_id": "5f2284b0c3ad349c09931d20", "_id": "5f2284b0c3ad349c09931d20",
"stars": 3, "stars": 3,
"isPrizeLevel": false, "isPrizeLevel": false,
"sendAwardType": true "sendAwardType": true
}, },
{ {
"activityId": "5f213ff79897b44ce1d2925d", "activityId": "5f213ff79897b44ce1d2925d",
"score": 19030, "score": 19030,
...@@ -317,7 +419,7 @@ ...@@ -317,7 +419,7 @@
"isPrizeLevel": false, "isPrizeLevel": false,
"sendAwardType": true "sendAwardType": true
} }
], ],
"prizes": [ "prizes": [
{ {
"receiveTime": "", "receiveTime": "",
...@@ -331,7 +433,7 @@ ...@@ -331,7 +433,7 @@
"STEPS": 103, "STEPS": 103,
"BOOMS": 95 "BOOMS": 95
} }
}, },
"success": true, "success": true,
"message": "成功" "message": "成功"
} }
This diff is collapsed.
...@@ -218,6 +218,7 @@ export class MapScene extends Scene { ...@@ -218,6 +218,7 @@ export class MapScene extends Scene {
const midData = arr; // 剩下的是中间的数据 const midData = arr; // 剩下的是中间的数据
let maxHeight = MapTop.HEIGHT; let maxHeight = MapTop.HEIGHT;
this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题
this.mapContainer.addChild(new MapTop(topData)); this.mapContainer.addChild(new MapTop(topData));
...@@ -234,6 +235,7 @@ export class MapScene extends Scene { ...@@ -234,6 +235,7 @@ export class MapScene extends Scene {
bottom.y = maxHeight; bottom.y = maxHeight;
maxHeight += MapBottom.HEIGHT; maxHeight += MapBottom.HEIGHT;
// this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题 // this.mapContainer.addChild(new MapTop(topData)); // 最后加,因为有个层级问题
this.scrollPage.maxDistance = maxHeight; this.scrollPage.maxDistance = maxHeight;
......
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