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
97570c41
Commit
97570c41
authored
Aug 03, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab2.dui88.com/MrKwon/babycare_xiaoxiao
parents
b1c2455b
e27dffe2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
babycare.gameOver.json
mock/miniTb/babycare.gameOver.json
+2
-1
SuccessPrizePanel.ts
src/panels/SuccessPrizePanel.ts
+3
-2
No files found.
mock/miniTb/babycare.gameOver.json
View file @
97570c41
...
...
@@ -7,7 +7,8 @@
"image"
:
"https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png"
},
"prize"
:
{
"type"
:
"HAMMERS"
"type"
:
"HAMMERS"
,
"image"
:
"https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png"
}
},
"success"
:
true
,
...
...
src/panels/SuccessPrizePanel.ts
View file @
97570c41
...
...
@@ -81,7 +81,7 @@ export class SuccessPrizePanel extends Panel {
propImg
.
texture
=
RES
.
getRes
(
'boomBtn.png'
);
propImg
.
y
+=
5
;
propImg
.
x
+=
15
;
propLabel
.
text
=
'
步数
道具
\
tx1'
;
propLabel
.
text
=
'
炸弹
道具
\
tx1'
;
break
;
case
PropType
.
HAMMERS
:
...
...
@@ -105,7 +105,8 @@ export class SuccessPrizePanel extends Panel {
this
.
prop
.
visible
=
false
;
this
.
prizeImg
.
texture
=
Texture
.
fromUrl
(
this
.
data
.
prize
.
image
);
this
.
tipsTex
.
text
=
'
\
t
\
t闯关成功!获得抽大奖机会!'
;
// this.tipsTex.text = '\t\t闯关成功!获得抽大奖机会!';
this
.
tipsTex
.
text
=
'
\
t闯关成功!有机会抽取如下奖品'
;
}
}
...
...
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