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
2d871c5a
Commit
2d871c5a
authored
Jul 31, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1111
parent
5dcfa9ab
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
134 additions
and
8403 deletions
+134
-8403
workspace.xml
.idea/workspace.xml
+19
-11
res.json
resource/res.json
+52
-52
ResJson.ts
src/ResJson.ts
+61
-8338
MapScene.ts
src/scene/map/MapScene.ts
+2
-2
No files found.
.idea/workspace.xml
View file @
2d871c5a
...
...
@@ -3,7 +3,9 @@
<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$/src/panels/PrizePanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/PrizePanel.ts"
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/MapScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -126,6 +128,8 @@
<workItem
from=
"1596079211888"
duration=
"5000"
/>
<workItem
from=
"1596079246036"
duration=
"1000"
/>
<workItem
from=
"1596079283722"
duration=
"2448000"
/>
<workItem
from=
"1596185145914"
duration=
"75000"
/>
<workItem
from=
"1596187812585"
duration=
"161000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"111"
>
<created>
1594122339119
</created>
...
...
@@ -433,28 +437,32 @@
</state>
<state
x=
"557"
y=
"183"
key=
"CommitChangelistDialog2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596081056013"
/>
<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=
"1596079345732
"
>
<state
x=
"131"
y=
"123"
width=
"730"
height=
"977"
key=
"DiffContextDialog"
timestamp=
"1596165868169
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
width=
"883"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596079345732"
/>
<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=
"1596185225515"
>
<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=
"1596185225515"
/>
<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=
"88
3"
height=
"321"
key=
"GridCell.Tab.0.center"
timestamp=
"1596079345730
"
>
<state
width=
"88
8"
height=
"321"
key=
"GridCell.Tab.0.center"
timestamp=
"1596185225515
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
width=
"88
3"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596079345730
"
/>
<state
width=
"88
8"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596185225515
"
/>
<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=
"88
3"
height=
"321"
key=
"GridCell.Tab.0.left"
timestamp=
"1596079345728
"
>
<state
width=
"88
8"
height=
"321"
key=
"GridCell.Tab.0.left"
timestamp=
"1596185225514
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
width=
"88
3"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596079345728
"
/>
<state
width=
"88
8"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596185225514
"
/>
<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=
"88
3"
height=
"321"
key=
"GridCell.Tab.0.right"
timestamp=
"1596079345731
"
>
<state
width=
"88
8"
height=
"321"
key=
"GridCell.Tab.0.right"
timestamp=
"1596185225515
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
width=
"88
3"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596079345731
"
/>
<state
width=
"88
8"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596185225515
"
/>
<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"
>
...
...
@@ -501,10 +509,10 @@
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<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=
"15961
02263131
"
>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"15961
87836960
"
>
<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=
"15961
02263131
"
/>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup/30.23.1890.1177@30.23.1890.1177"
timestamp=
"15961
87836960
"
/>
<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
resource/res.json
View file @
2d871c5a
This diff is collapsed.
Click to expand it.
src/ResJson.ts
View file @
2d871c5a
This diff is collapsed.
Click to expand it.
src/scene/map/MapScene.ts
View file @
2d871c5a
...
...
@@ -17,6 +17,7 @@ import { showPanel } from "../../../module/ctrls";
import
{
FreePowerPanel
}
from
"../../panels/FreePowerPanel"
;
import
{
PrizePanel
}
from
"../../panels/PrizePanel"
;
import
{
GTool
}
from
"../../../module/tools/GTool"
;
import
{
NoPrizePanel
}
from
"../../panels/NoPrizePanel"
;
export
class
MapScene
extends
Scene
{
private
mapContainer
:
Container
=
null
;
...
...
@@ -65,8 +66,7 @@ export class MapScene extends Scene {
if
(
Tools
.
gameData
.
topAward
.
prize
&&
Tools
.
gameData
.
topAward
.
prize
.
_id
)
{
// 有奖
showPanel
(
PrizePanel
,
JSON
.
parse
(
JSON
.
stringify
(
Tools
.
gameData
.
topAward
.
prize
)));
}
else
{
// 没奖
/// TODO 弹没奖的弹窗
console
.
log
(
'弹没奖的弹窗'
);
showPanel
(
NoPrizePanel
);
}
Tools
.
gameData
.
topAward
=
null
;
}
...
...
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