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
dfe9c6c7
Commit
dfe9c6c7
authored
Feb 23, 2021
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
m
parent
0e70feba
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
16 deletions
+25
-16
workspace.xml
.idea/workspace.xml
+14
-5
output.js
output.js
+1
-1
output.js.map
output.js.map
+1
-1
Tools.ts
src/Tools.ts
+9
-9
No files found.
.idea/workspace.xml
View file @
dfe9c6c7
...
...
@@ -3,7 +3,9 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"0d3cb18d-e144-41a0-bc8b-4877c2e1fef1"
name=
"默认的"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapUI.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapUI.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/output.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/output.js"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/output.js.map"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/output.js.map"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/Tools.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/Tools.ts"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -62,7 +64,7 @@
<recent
name=
"$PROJECT_DIR$/lotties"
/>
</key>
</component>
<component
name=
"RunManager"
selected=
"npm.build"
>
<component
name=
"RunManager"
selected=
"npm.build
TS
"
>
<configuration
name=
"build"
type=
"js.build_tools.npm"
temporary=
"true"
nameIsGenerated=
"true"
>
<package-json
value=
"$PROJECT_DIR$/package.json"
/>
<command
value=
"run"
/>
...
...
@@ -111,10 +113,10 @@
</list>
<recent_temporary>
<list>
<item
itemvalue=
"npm.buildTS"
/>
<item
itemvalue=
"npm.build"
/>
<item
itemvalue=
"npm.dev"
/>
<item
itemvalue=
"npm.flushRes"
/>
<item
itemvalue=
"npm.buildTS"
/>
</list>
</recent_temporary>
</component>
...
...
@@ -131,7 +133,7 @@
<workItem
from=
"1612662929222"
duration=
"40609000"
/>
<workItem
from=
"1613698993022"
duration=
"22309000"
/>
<workItem
from=
"1613785579125"
duration=
"17751000"
/>
<workItem
from=
"1613958457445"
duration=
"6
026
000"
/>
<workItem
from=
"1613958457445"
duration=
"6
710
000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"斐乐消消乐"
>
<created>
1612581213298
</created>
...
...
@@ -420,7 +422,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1614046524319
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"42"
/>
<task
id=
"LOCAL-00042"
summary=
"m"
>
<created>
1614048624668
</created>
<option
name=
"number"
value=
"00042"
/>
<option
name=
"presentableId"
value=
"LOCAL-00042"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1614048624668
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"43"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
output.js
View file @
dfe9c6c7
...
...
@@ -15629,7 +15629,7 @@ var MapUI = (function (_super) {
ctrls_1.showPanel(RulePanel_1.RulePanel);
break;
case this.myPrizeBtn:
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, { url: '/pages/my
Prize/myP
rize' }, function () {
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, { url: '/pages/my
prize/myp
rize' }, function () {
}, true);
break;
case this.taskBtn:
output.js.map
View file @
dfe9c6c7
This diff is collapsed.
Click to expand it.
src/Tools.ts
View file @
dfe9c6c7
...
...
@@ -141,15 +141,15 @@ export class Tools {
}
public
static
gameOver
(
data
)
{
if
(
data
.
level
==
Tools
.
maxLevel
)
{
// 99肯定是抽奖机会
showPanel
(
SuccessNoPrize
Panel
,
data
);
}
else
if
(
!
data
.
isVisitSuccess
)
{
// 闯关失败
showPanel
(
Failed
Panel
,
data
);
}
else
if
(
data
.
prize
&&
data
.
prize
.
type
!=
5
)
{
// 闯关成功,奖励关卡
showPanel
(
SuccessPrizePanel
,
data
);
}
else
{
// 闯关成功,不是奖励关卡
showPanel
(
SuccessNoPrizePanel
,
data
);
}
if
(
!
data
.
isVisitSuccess
)
{
// 闯关失败
showPanel
(
Failed
Panel
,
data
);
}
else
if
(
data
.
level
==
Tools
.
maxLevel
)
{
// 99肯定是抽奖机会
showPanel
(
SuccessNoPrize
Panel
,
data
);
}
else
if
(
data
.
prize
&&
data
.
prize
.
type
!=
5
)
{
// 闯关成功,奖励关卡
showPanel
(
SuccessPrizePanel
,
data
);
}
else
{
// 闯关成功,不是奖励关卡
showPanel
(
SuccessNoPrizePanel
,
data
);
}
}
/**
...
...
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