Commit 758f2ac7 authored by haiyoucuv's avatar haiyoucuv

1

parent e39d71a6
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="9cef0552-af3c-4a1c-be1f-dc41ebe5b6db" name="Default Changelist" comment=""> <list default="true" id="9cef0552-af3c-4a1c-be1f-dc41ebe5b6db" name="Default Changelist" comment="Success Panel Effect!">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Tools.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/Tools.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/mock/miniTb/babycare.getActivityBaseInfoById.json" beforeDir="false" afterPath="$PROJECT_DIR$/mock/miniTb/babycare.getActivityBaseInfoById.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/panels/SuccessPrizePanel.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/panels/SuccessPrizePanel.ts" 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$/src/scene/map/MapScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapScene.ts" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
...@@ -111,7 +112,7 @@ ...@@ -111,7 +112,7 @@
<workItem from="1594864188027" duration="20343000" /> <workItem from="1594864188027" duration="20343000" />
<workItem from="1594950738970" duration="22032000" /> <workItem from="1594950738970" duration="22032000" />
<workItem from="1595209499266" duration="21574000" /> <workItem from="1595209499266" duration="21574000" />
<workItem from="1595296313180" duration="9406000" /> <workItem from="1595296313180" duration="14308000" />
</task> </task>
<task id="LOCAL-00001" summary="111"> <task id="LOCAL-00001" summary="111">
<created>1594122339119</created> <created>1594122339119</created>
...@@ -295,7 +296,14 @@ ...@@ -295,7 +296,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1595314404681</updated> <updated>1595314404681</updated>
</task> </task>
<option name="localTasksCounter" value="27" /> <task id="LOCAL-00027" summary="Success Panel Effect!">
<created>1595315161168</created>
<option name="number" value="00027" />
<option name="presentableId" value="LOCAL-00027" />
<option name="project" value="LOCAL" />
<updated>1595315161168</updated>
</task>
<option name="localTasksCounter" value="28" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -321,10 +329,10 @@ ...@@ -321,10 +329,10 @@
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="251" y="471" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/31.23.1889.1177@31.23.1889.1177" timestamp="1594113080922" /> <state x="251" y="471" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/31.23.1889.1177@31.23.1889.1177" timestamp="1594113080922" />
<state x="754" y="183" key="CommitChangelistDialog2" timestamp="1595314404349"> <state x="558" y="183" width="884" height="891" key="CommitChangelistDialog2" timestamp="1595315196034">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="754" y="183" key="CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177" timestamp="1595314404349" /> <state x="558" y="183" width="884" height="891" key="CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177" timestamp="1595315196034" />
<state width="866" height="321" key="GridCell.Tab.0.bottom" timestamp="1595296522573"> <state width="866" height="321" key="GridCell.Tab.0.bottom" timestamp="1595296522573">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
...@@ -357,10 +365,10 @@ ...@@ -357,10 +365,10 @@
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="300" y="248" key="SettingsEditor/31.23.1889.1177@31.23.1889.1177" timestamp="1594798992724" /> <state x="300" y="248" key="SettingsEditor/31.23.1889.1177@31.23.1889.1177" timestamp="1594798992724" />
<state x="92" y="351" key="Vcs.Push.Dialog.v2" timestamp="1595314406084"> <state x="92" y="351" key="Vcs.Push.Dialog.v2" timestamp="1595315162424">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="92" y="351" key="Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177" timestamp="1595314406084" /> <state x="92" y="351" key="Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177" timestamp="1595315162424" />
<state x="87" y="216" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser" timestamp="1594705166397"> <state x="87" y="216" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser" timestamp="1594705166397">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
...@@ -385,9 +393,9 @@ ...@@ -385,9 +393,9 @@
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="157" y="286" key="run.anything.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594712635697" /> <state x="157" y="286" key="run.anything.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594712635697" />
<state x="640" y="288" width="670" height="676" key="search.everywhere.popup" timestamp="1595315059105"> <state x="640" y="288" width="670" height="676" key="search.everywhere.popup" timestamp="1595323216913">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="640" y="288" width="670" height="676" key="search.everywhere.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1595315059105" /> <state x="640" y="288" width="670" height="676" key="search.everywhere.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1595323216913" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -3,58 +3,57 @@ ...@@ -3,58 +3,57 @@
"data": { "data": {
"inviteFriends": { "inviteFriends": {
"type": 2, "type": 2,
"value": 10, "value": 8,
"taskNum": 3 "taskNum": 3
}, },
"openId": "AAFwCvE-ALiIWXYsJuTQVRpH", "openId": "AAEaCvE-ALiIWXQsJuac30pr",
"rule": "测试规则4455334354", "rule": "测试活动规则",
"updateTime": 1594627802429, "updateTime": 1594987802814,
"title": "测试活动", "title": "澎锋测试1",
"toolsProbability": { "toolsProbability": {
"HAMMERS": { "HAMMERS": {
"properiodfrom": 1, "properiodfrom": 1,
"properiodto": 500, "properiodto": 3300,
"probability": 5 "probability": 33
}, },
"STEPS": { "STEPS": {
"properiodfrom": 1001, "properiodfrom": 3301,
"properiodto": 1400, "properiodto": 6700,
"probability": 4 "probability": 34
}, },
"BOOMS": { "BOOMS": {
"properiodfrom": 501, "properiodfrom": 6701,
"properiodto": 1000, "properiodto": 10000,
"probability": 5 "probability": 33
} }
}, },
"levelPrize": { "levelPrize": {
"level_60": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN01Llkz1U1wMhRqE4D0f_!!2275046294-2-miniprogram.png", "level_90": "https://img.alicdn.com/imgextra/i4/2275046294/O1CN01rG9iDU1wMhRtEnjA8_!!2275046294-2-miniprogram.png",
"level_90": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png", "level_60": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01Sytynw1wMhRuqjy5V_!!2275046294-2-miniprogram.png",
"level_120": "https://img.alicdn.com/imgextra/i1/2275046294/O1CN01WvSfpG1wMhRrsjqFq_!!2275046294-2-miniprogram.png", "level_120": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01Jh6dtM1wMhRxULetP_!!2275046294-2-miniprogram.png",
"level_30": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN01Mf9wLi1wMhRoCuoOs_!!2275046294-2-miniprogram.png", "level_30": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN019uAoYk1wMhRsoAgag_!!2275046294-2-miniprogram.png",
"level_10": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN01bsypJm1wMhRsRMjh1_!!2275046294-2-miniprogram.png" "level_10": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN01FwiFBB1wMhRybF1V4_!!2275046294-2-miniprogram.png"
}, },
"buyCredits": { "buyCredits": {
"HAMMERS": "8", "HAMMERS": "3",
"POWERS": "9", "POWERS": "4",
"BOOMS": "6", "STEPS": "2",
"STEPS": "7" "BOOMS": "1"
}, },
"beMembership": 65, "beMembership": 7,
"openPrizeMsg": "", "createTime": 1594987659195,
"createTime": 1594361933457,
"deleteStatus": 1, "deleteStatus": 1,
"browseGoods": { "browseGoods": {
"itemIds": "32223", "itemIds": "616444374083,617466150499,616903228711",
"type": 1, "type": 2,
"value": 10, "value": 5,
"taskNum": 3 "taskNum": 3
}, },
"startTime": 1592448580000, "startTime": 1594988024000,
"_id": "5f08084ec3ad3494b9201c0e", "_id": "5f11948b3075d9927ec1f4ce",
"endTime": 1594966980000, "endTime": 1595592824000,
"attentionStore": 7, "attentionStore": 6,
"openPrizeStatus": 3 "openPrizeStatus": 2
}, },
"success": true, "success": true,
"message": "成功" "message": "成功"
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
"code": "1111", "code": "1111",
"message": "OK", "message": "OK",
"data": { "data": {
"power": 0, "power": 100,
"loginAddPower": true, "loginAddPower": true,
"currentLevel": 120, "currentLevel": 25,
"tools": { "tools": {
"STEPS": 1, "STEPS": 1,
"BOOMS": 2, "BOOMS": 2,
......
...@@ -155,8 +155,8 @@ export class MapScene extends Scene { ...@@ -155,8 +155,8 @@ export class MapScene extends Scene {
}); });
// 奖励关卡 // 奖励关卡
data.prizes.forEach((v) => { Tools.baseInfo.prizeLevels.forEach((v) => {
MapScene.checkArr[v.level].isPrize = true; MapScene.checkArr[v].isPrize = true;
}); });
if (this.data && this.data.level) { if (this.data && this.data.level) {
......
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