Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
翁阳
babycare_xiaoxiao
Commits
8d30855a
Commit
8d30855a
authored
Jul 28, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e7930e53
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
79 additions
and
140 deletions
+79
-140
workspace.xml
.idea/workspace.xml
+20
-10
babycare.getGameInfo.json
mock/miniTb/babycare.getGameInfo.json
+57
-49
babycare.getIndex.json
mock/miniTb/babycare.getIndex.json
+1
-81
CheckBtn.ts
src/scene/map/CheckBtn.ts
+1
-0
No files found.
.idea/workspace.xml
View file @
8d30855a
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
<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=
""
>
<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/panels/SuccessPrizePanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/SuccessPrizePanel.ts"
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$/src/scene/map/CheckBtn.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/CheckBtn.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"
/>
...
@@ -118,7 +120,7 @@
...
@@ -118,7 +120,7 @@
<workItem
from=
"1595555429502"
duration=
"13854000"
/>
<workItem
from=
"1595555429502"
duration=
"13854000"
/>
<workItem
from=
"1595815330125"
duration=
"170000"
/>
<workItem
from=
"1595815330125"
duration=
"170000"
/>
<workItem
from=
"1595815541868"
duration=
"600000"
/>
<workItem
from=
"1595815541868"
duration=
"600000"
/>
<workItem
from=
"1595820295687"
duration=
"1
3079
000"
/>
<workItem
from=
"1595820295687"
duration=
"1
4684
000"
/>
</task>
</task>
<task
id=
"LOCAL-00001"
summary=
"111"
>
<task
id=
"LOCAL-00001"
summary=
"111"
>
<created>
1594122339119
</created>
<created>
1594122339119
</created>
...
@@ -365,7 +367,14 @@
...
@@ -365,7 +367,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1595906807870
</updated>
<updated>
1595906807870
</updated>
</task>
</task>
<option
name=
"localTasksCounter"
value=
"36"
/>
<task
id=
"LOCAL-00036"
summary=
"aaa"
>
<created>
1595916428550
</created>
<option
name=
"number"
value=
"00036"
/>
<option
name=
"presentableId"
value=
"LOCAL-00036"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1595916428550
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"37"
/>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
@@ -376,7 +385,8 @@
...
@@ -376,7 +385,8 @@
<MESSAGE
value=
"map effect"
/>
<MESSAGE
value=
"map effect"
/>
<MESSAGE
value=
"effect"
/>
<MESSAGE
value=
"effect"
/>
<MESSAGE
value=
"Success Panel Effect!"
/>
<MESSAGE
value=
"Success Panel Effect!"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"Success Panel Effect!"
/>
<MESSAGE
value=
"aaa"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"aaa"
/>
</component>
</component>
<component
name=
"WindowStateProjectService"
>
<component
name=
"WindowStateProjectService"
>
<state
x=
"440"
y=
"273"
key=
"#com.intellij.execution.impl.EditConfigurationsDialog"
timestamp=
"1595229546530"
>
<state
x=
"440"
y=
"273"
key=
"#com.intellij.execution.impl.EditConfigurationsDialog"
timestamp=
"1595229546530"
>
...
@@ -391,10 +401,10 @@
...
@@ -391,10 +401,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=
"557"
y=
"183"
width=
"884"
height=
"891"
key=
"CommitChangelistDialog2"
timestamp=
"15959
06807681
"
>
<state
x=
"557"
y=
"183"
width=
"884"
height=
"891"
key=
"CommitChangelistDialog2"
timestamp=
"15959
16428352
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
</state>
<state
x=
"557"
y=
"183"
key=
"CommitChangelistDialog2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"15959
06807681
"
/>
<state
x=
"557"
y=
"183"
key=
"CommitChangelistDialog2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"15959
16428352
"
/>
<state
x=
"558"
y=
"183"
width=
"884"
height=
"891"
key=
"CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584297912"
/>
<state
x=
"558"
y=
"183"
width=
"884"
height=
"891"
key=
"CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584297912"
/>
<state
width=
"883"
height=
"321"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1595903189158"
>
<state
width=
"883"
height=
"321"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1595903189158"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
...
@@ -432,10 +442,10 @@
...
@@ -432,10 +442,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=
"91"
y=
"351"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"15959
06810375
"
>
<state
x=
"91"
y=
"351"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"15959
16430231
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
</state>
<state
x=
"91"
y=
"351"
key=
"Vcs.Push.Dialog.v2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"15959
06810375
"
/>
<state
x=
"91"
y=
"351"
key=
"Vcs.Push.Dialog.v2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"15959
16430230
"
/>
<state
x=
"92"
y=
"351"
key=
"Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584299423"
/>
<state
x=
"92"
y=
"351"
key=
"Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584299423"
/>
<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"
/>
...
@@ -462,10 +472,10 @@
...
@@ -462,10 +472,10 @@
<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=
"1595475548860"
/>
<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=
"15959
06591620
"
>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"15959
18165768
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
</state>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup/30.23.1890.1177@30.23.1890.1177"
timestamp=
"15959
06591620
"
/>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup/30.23.1890.1177@30.23.1890.1177"
timestamp=
"15959
18165768
"
/>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584259535"
/>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584259535"
/>
</component>
</component>
</project>
</project>
\ No newline at end of file
mock/miniTb/babycare.getGameInfo.json
View file @
8d30855a
{
{
"code"
:
"000000"
,
"success"
:
true
,
"code"
:
"1111"
,
"message"
:
"OK"
,
"data"
:
{
"data"
:
{
"currentLevel"
:
1
,
"power"
:
100
,
"visitors"
:
[
"loginAddPower"
:
true
,
"currentLevel"
:
120
,
"tools"
:
{
"STEPS"
:
1
,
"BOOMS"
:
2
,
"HAMMERS"
:
3
},
"prizes"
:
[
{
{
"activityId"
:
"5f08084ec3ad3494b9201c0e"
,
"receiveTime"
:
""
,
"score"
:
10000
,
"level"
:
120
,
"level"
:
120
,
"createTime"
:
1594370024407
,
"isReceive"
:
false
"openId"
:
"AAHuCvE-ALiIWXYsJuTb5S4W"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1594370024407
,
"_id"
:
"5f0827e89da67191b6b29261"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
},
{
{
"activityId"
:
"5f08084ec3ad3494b9201c0e"
,
"receiveTime"
:
""
,
"score"
:
10000
,
"level"
:
90
,
"level"
:
10
,
"isReceive"
:
false
"createTime"
:
1594370106090
,
"openId"
:
"AAHuCvE-ALiIWXYsJuTb5S4W"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1594370106090
,
"_id"
:
"5f08283a75cfb693ea1b3d5b"
,
"stars"
:
3
,
"isPrizeLevel"
:
true
,
"sendAwardType"
:
"prize"
},
},
{
{
"activityId"
:
"5f08084ec3ad3494b9201c0e"
,
"receiveTime"
:
""
,
"score"
:
10000
,
"level"
:
60
,
"level"
:
1
,
"isReceive"
:
false
"createTime"
:
1594369315957
,
},
"openId"
:
"AAHuCvE-ALiIWXYsJuTb5S4W"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1594369868256
,
"_id"
:
"5f082523c3ad3494b92036bf"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
}
],
"prizes"
:
[
{
{
"receiveTime"
:
""
,
"receiveTime"
:
""
,
"level"
:
120
,
"level"
:
30
,
"isReceive"
:
false
},
{
"receiveTime"
:
""
,
"level"
:
10
,
"isReceive"
:
false
"isReceive"
:
false
}
}
],
],
"power"
:
3
,
"visitors"
:
[
"tools"
:
{
{
"HAMMERS"
:
1
,
"level"
:
118
,
"STEPS"
:
1
,
"scores"
:
44444
,
"BOOMS"
:
1
"stars"
:
2
,
},
"isPrizeLevel"
:
false
,
"topAward"
:
""
"isVisitSuccess"
:
true
,
},
"sendAwardType"
:
"prize"
"success"
:
true
,
}
"message"
:
"成功"
],
"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"
}
}
}
}
}
mock/miniTb/babycare.getIndex.json
View file @
8d30855a
...
@@ -40,87 +40,7 @@
...
@@ -40,87 +40,7 @@
],
],
"visitors"
:
[
"visitors"
:
[
{
{
"level"
:
1
,
"level"
:
118
,
"scores"
:
11111
,
"stars"
:
1
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
2
,
"scores"
:
22222
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
3
,
"scores"
:
3333
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
4
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
5
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
6
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
7
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
4
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
8
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
9
,
"scores"
:
44444
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isVisitSuccess"
:
true
,
"sendAwardType"
:
"prize"
},
{
"level"
:
10
,
"scores"
:
44444
,
"scores"
:
44444
,
"stars"
:
2
,
"stars"
:
2
,
"isPrizeLevel"
:
false
,
"isPrizeLevel"
:
false
,
...
...
src/scene/map/CheckBtn.ts
View file @
8d30855a
...
@@ -61,6 +61,7 @@ export default class CheckBtn extends Container {
...
@@ -61,6 +61,7 @@ export default class CheckBtn extends Container {
this
.
starCount
=
data
.
stars
;
this
.
starCount
=
data
.
stars
;
this
.
checkData
=
data
;
this
.
checkData
=
data
;
this
.
checkData
.
isPlayed
=
true
;
this
.
_sendAwardType
=
data
.
sendAwardType
;
this
.
_sendAwardType
=
data
.
sendAwardType
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment