Commit 1c5e3412 authored by haiyoucuv's avatar haiyoucuv

1

parent 57ada2df
......@@ -3,8 +3,10 @@
<component name="ChangeListManager">
<list default="true" id="9cef0552-af3c-4a1c-be1f-dc41ebe5b6db" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mock/miniTb/babycare.getGameInfo.json" beforeDir="false" afterPath="$PROJECT_DIR$/mock/miniTb/babycare.getGameInfo.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json" beforeDir="false" afterPath="$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/guide_tip.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/guide_tip.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/res.json" beforeDir="false" afterPath="$PROJECT_DIR$/resource/res.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ResJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ResJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapUI.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapUI.ts" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
......@@ -64,7 +66,7 @@
<recent name="$PROJECT_DIR$/resource/SuccessPrizePanel" />
</key>
</component>
<component name="RunManager" selected="npm.flushRes">
<component name="RunManager" selected="npm.dev">
<configuration name="dev" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
......@@ -130,7 +132,7 @@
<workItem from="1596079283722" duration="2448000" />
<workItem from="1596185145914" duration="75000" />
<workItem from="1596187812585" duration="636000" />
<workItem from="1596418925126" duration="4681000" />
<workItem from="1596418925126" duration="5389000" />
</task>
<task id="LOCAL-00001" summary="111">
<created>1594122339119</created>
......@@ -449,38 +451,38 @@
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state x="131" y="123" width="730" height="977" key="DiffContextDialog/30.23.1890.1177@30.23.1890.1177" timestamp="1596165868169" />
<state width="888" height="321" key="GridCell.Tab.0.bottom" timestamp="1596433522647">
<state width="888" height="321" key="GridCell.Tab.0.bottom" timestamp="1596434405974">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state width="888" height="321" key="GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177" timestamp="1596433522647" />
<state width="888" height="321" key="GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177" timestamp="1596434405974" />
<state width="1041" height="321" key="GridCell.Tab.0.bottom/31.23.1649.1027@31.23.1649.1027" timestamp="1595590577198" />
<state width="1041" height="321" key="GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177" timestamp="1595579918465" />
<state width="888" height="321" key="GridCell.Tab.0.center" timestamp="1596433522643">
<state width="888" height="321" key="GridCell.Tab.0.center" timestamp="1596434405973">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state width="888" height="321" key="GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177" timestamp="1596433522643" />
<state width="888" height="321" key="GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177" timestamp="1596434405973" />
<state width="1041" height="321" key="GridCell.Tab.0.center/31.23.1649.1027@31.23.1649.1027" timestamp="1595590577198" />
<state width="1041" height="321" key="GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177" timestamp="1595579918464" />
<state width="888" height="321" key="GridCell.Tab.0.left" timestamp="1596433522641">
<state width="888" height="321" key="GridCell.Tab.0.left" timestamp="1596434405972">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state width="888" height="321" key="GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177" timestamp="1596433522641" />
<state width="888" height="321" key="GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177" timestamp="1596434405972" />
<state width="1041" height="321" key="GridCell.Tab.0.left/31.23.1649.1027@31.23.1649.1027" timestamp="1595590577197" />
<state width="1041" height="321" key="GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177" timestamp="1595579918463" />
<state width="888" height="321" key="GridCell.Tab.0.right" timestamp="1596433522646">
<state width="888" height="321" key="GridCell.Tab.0.right" timestamp="1596434405973">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state width="888" height="321" key="GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177" timestamp="1596433522646" />
<state width="888" height="321" key="GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177" timestamp="1596434405973" />
<state width="1041" height="321" key="GridCell.Tab.0.right/31.23.1649.1027@31.23.1649.1027" timestamp="1595590577198" />
<state width="1041" height="321" key="GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177" timestamp="1595579918465" />
<state x="82" y="353" key="IDE.errors.dialog" timestamp="1594777965326">
<screen x="31" y="23" width="1889" height="1177" />
</state>
<state x="82" y="353" key="IDE.errors.dialog/31.23.1889.1177@31.23.1889.1177" timestamp="1594777965326" />
<state x="209" y="320" key="RollbackChangesDialog" timestamp="1596074500976">
<state x="209" y="320" key="RollbackChangesDialog" timestamp="1596434350752">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state x="209" y="320" key="RollbackChangesDialog/30.23.1890.1177@30.23.1890.1177" timestamp="1596074500976" />
<state x="209" y="320" key="RollbackChangesDialog/30.23.1890.1177@30.23.1890.1177" timestamp="1596434350752" />
<state x="210" y="320" key="RollbackChangesDialog/31.23.1889.1177@31.23.1889.1177" timestamp="1594173186663" />
<state x="289" y="314" key="SettingsEditor" timestamp="1596079390860">
<screen x="30" y="23" width="1890" height="1177" />
......@@ -518,10 +520,10 @@
</state>
<state x="156" y="286" key="run.anything.popup/30.23.1890.1177@30.23.1890.1177" timestamp="1596432664001" />
<state x="157" y="286" key="run.anything.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1595475548860" />
<state x="639" y="288" width="671" height="676" key="search.everywhere.popup" timestamp="1596433751950">
<state x="639" y="288" width="671" height="676" key="search.everywhere.popup" timestamp="1596434723742">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state x="639" y="288" width="671" height="676" key="search.everywhere.popup/30.23.1890.1177@30.23.1890.1177" timestamp="1596433751950" />
<state x="639" y="288" width="671" height="676" key="search.everywhere.popup/30.23.1890.1177@30.23.1890.1177" timestamp="1596434723742" />
<state x="640" y="288" width="670" height="676" key="search.everywhere.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1595584259535" />
</component>
</project>
\ No newline at end of file
{
"success": true,
"code": "1111",
"message": "OK",
"data": {
"power": 100,
"loginAddPower": true,
"currentLevel": 120,
"tools": {
"STEPS": 1,
"BOOMS": 2,
"HAMMERS": 3
{ "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,
"updateTime": 1596097712583,
"_id": "5f2284b0c3ad349c09931d20",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 19030,
"level": 24,
"createTime": 1596097640984,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097640984,
"_id": "5f2284689da6714ab7da8001",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
"prizes": [
{
"receiveTime": "",
"level": 120,
"isReceive": false
"activityId": "5f213ff79897b44ce1d2925d",
"score": 10490,
"level": 23,
"createTime": 1596097504126,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097504126,
"_id": "5f2283e0738989c8b3f71299",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"receiveTime": "",
"level": 90,
"isReceive": false
"activityId": "5f213ff79897b44ce1d2925d",
"score": 36280,
"level": 22,
"createTime": 1596097409349,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097409349,
"_id": "5f228381114fbb8f6d236f6c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"receiveTime": "",
"level": 60,
"isReceive": false
"activityId": "5f213ff79897b44ce1d2925d",
"score": 164350,
"level": 21,
"createTime": 1596097323573,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097323573,
"_id": "5f22832b114fbb8f6d236d98",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"receiveTime": "",
"level": 30,
"isReceive": false
"activityId": "5f213ff79897b44ce1d2925d",
"score": 29280,
"level": 20,
"createTime": 1596097265605,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097265605,
"_id": "5f2282f1738989c8b3f70d99",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"receiveTime": "",
"activityId": "5f213ff79897b44ce1d2925d",
"score": 51060,
"level": 19,
"createTime": 1596097204199,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097204199,
"_id": "5f2282b375cfb6d7c11de506",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 57090,
"level": 18,
"createTime": 1596097156455,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097156455,
"_id": "5f228284ef5071ef853e032d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 40860,
"level": 17,
"createTime": 1596090162290,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097074636,
"_id": "5f22673267f13766547b9efb",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 50350,
"level": 16,
"createTime": 1596090092557,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596090092557,
"_id": "5f2266ece5c0d7361f1f00d9",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 46920,
"level": 15,
"createTime": 1596019074167,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596019074167,
"_id": "5f2151829da6714ab7d807a9",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 35630,
"level": 14,
"createTime": 1596018897035,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596018897035,
"_id": "5f2150d1086e654a41691f2d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 48950,
"level": 13,
"createTime": 1596018744786,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596018744786,
"_id": "5f2150399897b44ce1d2c65c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 17990,
"level": 12,
"createTime": 1596017503514,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596017503514,
"_id": "5f214b5f75cfb6d7c11b5317",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 42230,
"level": 11,
"createTime": 1596017212682,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596017212682,
"_id": "5f214a3c75cfb6d7c11b5008",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 45420,
"level": 10,
"isReceive": false
}
],
"visitors": [
"createTime": 1596016713590,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016713590,
"_id": "5f214849964f9706aa59ea6c",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 27230,
"level": 9,
"createTime": 1596016663401,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016663401,
"_id": "5f214817964f9706aa59e9a6",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 29620,
"level": 8,
"createTime": 1596016581567,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016581567,
"_id": "5f2147c585a7496423c10bdf",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 31870,
"level": 7,
"createTime": 1596016549909,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016549909,
"_id": "5f2147a50cb7330c94bb21b2",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 22810,
"level": 6,
"createTime": 1596016411087,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016411087,
"_id": "5f21471a67f1376654797a22",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"level": 118,
"scores": 44444,
"activityId": "5f213ff79897b44ce1d2925d",
"score": 28460,
"level": 5,
"createTime": 1596016335251,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016335251,
"_id": "5f2146cf114fbb8f6d20d120",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 24440,
"level": 4,
"createTime": 1596016289945,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016289945,
"_id": "5f2146a1114fbb8f6d20d02e",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 9380,
"level": 3,
"createTime": 1596016236933,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016236933,
"_id": "5f21466cc3ad349c09908568",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 960,
"level": 2,
"createTime": 1596016196546,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"sendAwardType": "prize"
}
],
"isFristLogin": false,
"topAward": {
"openPrizeStatus": true,
"prize": {
"image": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01TrcMYF1wMhRuCphHI_!!2275046294-2-miniprogram.png",
"level": 90,
"drawStatus": 1,
"openId": "AAHuCvE-ALiIWXYsJuTb5S4W",
"createDay": "2020/07/14",
"avatar": "sdfwerwerwer",
"type": 3,
"prizeId": "5f08084e0cb7338a0a377c8d",
"activityId": "5f08084ec3ad3494b9201c0e",
"ename": "",
"userNick": "wmmmmm",
"name": "90关奖品4",
"_id": "AAHuCvE-ALiIWXYsJuTb5S4W1594715684002"
"updateTime": 1596016196546,
"_id": "5f2146443075d9e9767f79ef",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 72080,
"level": 1,
"createTime": 1596016183343,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016183343,
"_id": "5f214637964f9706aa59e156",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
}
],
"prizes": [
{
"receiveTime": "",
"level": 120,
"isReceive": false
}
],
"power": 523,
"tools": {
"HAMMERS": 89,
"STEPS": 103,
"BOOMS": 95
}
},
"success": true,
"message": "成功"
}
{
"success": true,
"code": "1111",
"message": "OK",
"code": "000000",
"data": {
"power": 100,
"loginAddPower": true,
"currentLevel": 120,
"tools": {
"STEPS": 1,
"BOOMS": 2,
"HAMMERS": 3
"isFristLogin": false,
"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-ALiIWXY sJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097712583,
"_id": "5f2284b0c3ad349c09931d20",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 19030,
"level": 24,
"createTime": 1596097640984,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097640984,
"_id": "5f2284689da6714ab7da8001",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 10490,
"level": 23,
"createTime": 1596097504126,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097504126,
"_id": "5f2283e0738989c8b3f71299",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 36280,
"level": 22,
"createTime": 1596097409349,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097409349,
"_id": "5f228381114fbb8f6d236f6c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 164350,
"level": 21,
"createTime": 1596097323573,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097323573,
"_id": "5f22832b114fbb8f6d236d98",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 29280,
"level": 20,
"createTime": 1596097265605,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097265605,
"_id": "5f2282f1738989c8b3f70d99",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 51060,
"level": 19,
"createTime": 1596097204199,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097204199,
"_id": "5f2282b375cfb6d7c11de506",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 57090,
"level": 18,
"createTime": 1596097156455,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097156455,
"_id": "5f228284ef5071ef853e032d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 40860,
"level": 17,
"createTime": 1596090162290,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596097074636,
"_id": "5f22673267f13766547b9efb",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 50350,
"level": 16,
"createTime": 1596090092557,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596090092557,
"_id": "5f2266ece5c0d7361f1f00d9",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 46920,
"level": 15,
"createTime": 1596019074167,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596019074167,
"_id": "5f2151829da6714ab7d807a9",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 35630,
"level": 14,
"createTime": 1596018897035,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596018897035,
"_id": "5f2150d1086e654a41691f2d",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 48950,
"level": 13,
"createTime": 1596018744786,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596018744786,
"_id": "5f2150399897b44ce1d2c65c",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 17990,
"level": 12,
"createTime": 1596017503514,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596017503514,
"_id": "5f214b5f75cfb6d7c11b5317",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 42230,
"level": 11,
"createTime": 1596017212682,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596017212682,
"_id": "5f214a3c75cfb6d7c11b5008",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 45420,
"level": 10,
"createTime": 1596016713590,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016713590,
"_id": "5f214849964f9706aa59ea6c",
"stars": 3,
"isPrizeLevel": true,
"sendAwardType": "prize"
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 27230,
"level": 9,
"createTime": 1596016663401,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016663401,
"_id": "5f214817964f9706aa59e9a6",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 29620,
"level": 8,
"createTime": 1596016581567,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016581567,
"_id": "5f2147c585a7496423c10bdf",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 31870,
"level": 7,
"createTime": 1596016549909,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016549909,
"_id": "5f2147a50cb7330c94bb21b2",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 22810,
"level": 6,
"createTime": 1596016411087,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016411087,
"_id": "5f21471a67f1376654797a22",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 28460,
"level": 5,
"createTime": 1596016335251,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016335251,
"_id": "5f2146cf114fbb8f6d20d120",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 24440,
"level": 4,
"createTime": 1596016289945,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016289945,
"_id": "5f2146a1114fbb8f6d20d02e",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 9380,
"level": 3,
"createTime": 1596016236933,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016236933,
"_id": "5f21466cc3ad349c09908568",
"stars": 2,
"isPrizeLevel": false,
"sendAwardType": ""
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 960,
"level": 2,
"createTime": 1596016196546,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016196546,
"_id": "5f2146443075d9e9767f79ef",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
},
{
"activityId": "5f213ff79897b44ce1d2925d",
"score": 72080,
"level": 1,
"createTime": 1596016183343,
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"isVisitSuccess": true,
"updateTime": 1596016183343,
"_id": "5f214637964f9706aa59e156",
"stars": 3,
"isPrizeLevel": false,
"sendAwardType": true
}
],
"openId": "AAFgCvE-ALiIWXYsJuSLKdVt",
"prizes": [
{
"receiveTime": "",
"level": 120,
"level": 10,
"isReceive": false
}
],
"visitors": [
},
{
"receiveTime": "",
"level": 120,
"scores": 44444,
"stars": 2,
"isPrizeLevel": true,
"isVisitSuccess": true,
"sendAwardType": "prize"
"isReceive": false
}
],
"isFristLogin": true,
"loginAddPower": 0,
"power": 523,
"tools": {
"HAMMERS": 89,
"STEPS": 103,
"BOOMS": 95
},
"topAward": {
"openPrizeStatus": true,
"prize": {
"image": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01TrcMYF1wMhRuCphHI_!!2275046294-2-miniprogram.png",
"level": 90,
"drawStatus": 1,
"openId": "AAHuCvE-ALiIWXYsJuTb5S4W",
"createDay": "2020/07/14",
"avatar": "sdfwerwerwer",
"type": 3,
"prizeId": "5f08084e0cb7338a0a377c8d",
"activityId": "5f08084ec3ad3494b9201c0e",
"ename": "",
"userNick": "wmmmmm",
"name": "90关奖品4",
"_id": "AAHuCvE-ALiIWXYsJuTb5S4W1594715684002"
}
}
"prize": {}
}
},
"success": true,
"message": "成功"
}
......@@ -5,13 +5,6 @@
"name": "BuyPowerPanel"
},
{
<<<<<<< HEAD
=======
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common"
},
{
>>>>>>> 882d90540f4da80e7c4999e6c1032fe61b3a3a8a
"keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel"
},
......
......@@ -2,371 +2,7 @@ export const ResJson = {
"groups": [
{
"keys": "增加体力背景.png,无字按钮底.png",
<<<<<<< HEAD
"name": "BuyPowerPanel"
=======
"name": "BuyPowerPanel",
"atlas": {
"增加体力背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 477,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 477,
"ro": true
},
"无字按钮底.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common",
"atlas": {
"boomBtn.png": {
"x": 108,
"y": 874,
"w": 101,
"h": 109,
"ox": 0,
"oy": 0,
"sw": 101,
"sh": 109,
"ro": false
},
"comCloseBtn.png": {
"x": 347,
"y": 908,
"w": 48,
"h": 48,
"ox": 0,
"oy": 0,
"sw": 48,
"sh": 48,
"ro": false
},
"comm_light.png": {
"x": 464,
"y": 2,
"w": 439,
"h": 439,
"ox": 0,
"oy": 0,
"sw": 439,
"sh": 439,
"ro": false
},
"ele0.png": {
"x": 188,
"y": 762,
"w": 80,
"h": 66,
"ox": 0,
"oy": 13,
"sw": 80,
"sh": 80,
"ro": true
},
"ele1.png": {
"x": 279,
"y": 922,
"w": 66,
"h": 72,
"ox": 7,
"oy": 8,
"sw": 80,
"sh": 80,
"ro": false
},
"ele10.png": {
"x": 256,
"y": 761,
"w": 76,
"h": 74,
"ox": 2,
"oy": 6,
"sw": 80,
"sh": 80,
"ro": true
},
"ele11.png": {
"x": 211,
"y": 844,
"w": 76,
"h": 74,
"ox": 2,
"oy": 6,
"sw": 80,
"sh": 80,
"ro": true
},
"ele12.png": {
"x": 211,
"y": 844,
"w": 76,
"h": 74,
"ox": 2,
"oy": 6,
"sw": 80,
"sh": 80,
"ro": true
},
"ele13.png": {
"x": 287,
"y": 839,
"w": 67,
"h": 67,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 67,
"ro": false
},
"ele14.png": {
"x": 332,
"y": 754,
"w": 61,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 61,
"sh": 66,
"ro": false
},
"ele2.png": {
"x": 118,
"y": 762,
"w": 80,
"h": 68,
"ox": 0,
"oy": 10,
"sw": 80,
"sh": 80,
"ro": true
},
"ele3.png": {
"x": 280,
"y": 598,
"w": 72,
"h": 70,
"ox": 4,
"oy": 10,
"sw": 80,
"sh": 80,
"ro": true
},
"ele4.png": {
"x": 279,
"y": 678,
"w": 74,
"h": 64,
"ox": 6,
"oy": 14,
"sw": 80,
"sh": 80,
"ro": true
},
"ele5.png": {
"x": 118,
"y": 598,
"w": 80,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 80,
"sh": 80,
"ro": false
},
"ele6.png": {
"x": 211,
"y": 922,
"w": 66,
"h": 72,
"ox": 7,
"oy": 5,
"sw": 80,
"sh": 80,
"ro": false
},
"ele7.png": {
"x": 278,
"y": 528,
"w": 72,
"h": 68,
"ox": 4,
"oy": 6,
"sw": 80,
"sh": 80,
"ro": false
},
"ele8.png": {
"x": 118,
"y": 680,
"w": 78,
"h": 80,
"ox": 1,
"oy": 0,
"sw": 80,
"sh": 80,
"ro": false
},
"ele9.png": {
"x": 200,
"y": 598,
"w": 78,
"h": 78,
"ox": 1,
"oy": 1,
"sw": 80,
"sh": 80,
"ro": false
},
"hammerBtn.png": {
"x": 2,
"y": 874,
"w": 104,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 104,
"sh": 114,
"ro": false
},
"stepBtn.png": {
"x": 905,
"y": 2,
"w": 124,
"h": 117,
"ox": 0,
"oy": 0,
"sw": 124,
"sh": 117,
"ro": true
},
"toastBg.png": {
"x": 2,
"y": 2,
"w": 460,
"h": 130,
"ox": 0,
"oy": 0,
"sw": 460,
"sh": 130,
"ro": false
},
"waitingBg.png": {
"x": 278,
"y": 366,
"w": 160,
"h": 180,
"ox": 0,
"oy": 0,
"sw": 160,
"sh": 180,
"ro": true
},
"waitingRot.png": {
"x": 345,
"y": 672,
"w": 56,
"h": 56,
"ox": 0,
"oy": 0,
"sw": 56,
"sh": 56,
"ro": false
},
"关闭按钮.png": {
"x": 198,
"y": 680,
"w": 79,
"h": 79,
"ox": 0,
"oy": 0,
"sw": 79,
"sh": 79,
"ro": false
},
"再想想.png": {
"x": 2,
"y": 598,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": true
},
"开始闯关不要能量.png": {
"x": 2,
"y": 250,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
},
"开始闯关要能量.png": {
"x": 2,
"y": 134,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
},
"确定.png": {
"x": 2,
"y": 482,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"继续闯关大.png": {
"x": 905,
"y": 128,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
},
"继续闯关小.png": {
"x": 2,
"y": 366,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
}
}
>>>>>>> 882d90540f4da80e7c4999e6c1032fe61b3a3a8a
},
{
"keys": "积分不足背景.png,赚取积分.png",
......@@ -461,114 +97,8 @@ export const ResJson = {
"name": "map"
},
{
<<<<<<< HEAD
"keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "mapCheckPrizeEffect"
=======
"keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,开奖按钮120.png,道具圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel",
"atlas": {
"star_dis.png": {
"x": 835,
"y": 957,
"w": 150,
"h": 144,
"ox": 0,
"oy": 0,
"sw": 150,
"sh": 144,
"ro": false
},
"star_en.png": {
"x": 835,
"y": 644,
"w": 164,
"h": 157,
"ox": 0,
"oy": 0,
"sw": 164,
"sh": 157,
"ro": false
},
"去抽奖.png": {
"x": 2,
"y": 1402,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"圆角矩形 648.png": {
"x": 2,
"y": 1529,
"w": 502,
"h": 196,
"ox": 0,
"oy": 2,
"sw": 504,
"sh": 200,
"ro": true
},
"开奖按钮120.png": {
"x": 835,
"y": 1103,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
},
"道具圆圈.png": {
"x": 835,
"y": 803,
"w": 152,
"h": 152,
"ox": 0,
"oy": 0,
"sw": 152,
"sh": 152,
"ro": false
},
"闯关成功.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 971,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 971,
"ro": true
},
"闯关成功Bg.png": {
"x": 2,
"y": 644,
"w": 640,
"h": 831,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 831,
"ro": true
},
"闯关成功不满星按钮.png": {
"x": 2,
"y": 1286,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
}
}
>>>>>>> 882d90540f4da80e7c4999e6c1032fe61b3a3a8a
},
{
"keys": "map_crab_0.png,map_crab_1.png,map_crab_10.png,map_crab_11.png,map_crab_12.png,map_crab_13.png,map_crab_14.png,map_crab_15.png,map_crab_16.png,map_crab_17.png,map_crab_18.png,map_crab_19.png,map_crab_2.png,map_crab_20.png,map_crab_21.png,map_crab_22.png,map_crab_23.png,map_crab_24.png,map_crab_25.png,map_crab_26.png,map_crab_27.png,map_crab_28.png,map_crab_29.png,map_crab_3.png,map_crab_30.png,map_crab_4.png,map_crab_5.png,map_crab_6.png,map_crab_7.png,map_crab_8.png,map_crab_9.png",
......@@ -591,9 +121,5 @@ export const ResJson = {
"name": "starLight"
}
],
<<<<<<< HEAD
"path": "./resource/"
=======
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1596423352/resource/"
>>>>>>> 882d90540f4da80e7c4999e6c1032fe61b3a3a8a
}
\ No newline at end of file
......@@ -10,7 +10,7 @@ import { showPanel, changeScene, showToast } from "../../../module/ctrls";
import { RulePanel } from "../../panels/RulePanel";
import { BuyPowerPanel } from "../../panels/BuyPowerPanel";
import { TaskPanel } from "../../panels/TaskPanel";
import { sendTbNet, TbNetName } from "../../TaoBaoNet";
import { getTbData, sendTbNet, TbNetName } from "../../TaoBaoNet";
import Texture = FYGE.Texture;
import { LotteryScene } from "../LotteryScene";
import { GDispatcher } from "../../Main";
......@@ -315,7 +315,9 @@ class PrizeBox extends Button {
}, this)
} else if (prizes.length == 1 && +prizes[0].level == 120) {
// this.checkTip.text = `等待开奖`;
this.checkTip.text = Tools.gameData.topAward.openPrizeStatus
const index = getTbData(TbNetName.getIndex).data
this.checkTip.text = index.topAward.openPrizeStatus
? '已开奖' : '等待开奖';
this.tip.text = `8月28日10点`;
this.prizeImg.y += 4;
......@@ -323,7 +325,7 @@ class PrizeBox extends Button {
this.addEventListener(FYGE.MouseEvent.CLICK, () => {
//有需要,到时再改
Tools.btnDelay(this);
showToast(Tools.gameData.topAward.openPrizeStatus
showToast(index.topAward.openPrizeStatus
? '已开奖' : this.tip.text)
}, this)
} else {
......
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