Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
wildfirecode13
xiaoxiaole
Commits
40607a62
Commit
40607a62
authored
Apr 08, 2020
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0a4a39b9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
PrizePanel.ts
egret/libs/new_wx/components/PrizePanel.ts
+3
-3
TaskCenterPrize.ts
egret/src/panels/TaskCenter/TaskCenterPrize.ts
+3
-3
No files found.
egret/libs/new_wx/components/PrizePanel.ts
View file @
40607a62
...
...
@@ -25,19 +25,19 @@ export default class PrizePanel extends Panel {
this
.
img
.
visible
=
false
;
this
.
propGroup
.
visible
=
true
;
this
.
prop
.
source
=
'prize_blood_png'
;
this
.
nums
.
text
=
`×
${
num
}
`
;
this
.
nums
.
text
=
`×
${
num
||
1
}
`
;
break
;
case
3
:
this
.
img
.
visible
=
false
;
this
.
propGroup
.
visible
=
true
;
this
.
prop
.
source
=
`prize_icon
${
propType
}
_png`
;
this
.
nums
.
text
=
`×
${
num
}
`
;
this
.
nums
.
text
=
`×
${
num
||
1
}
`
;
break
;
case
4
:
this
.
img
.
visible
=
false
;
this
.
propGroup
.
visible
=
true
;
this
.
prop
.
source
=
'prize_money_png'
;
this
.
nums
.
text
=
`×
${
realValue
}
`
;
this
.
nums
.
text
=
`×
${
realValue
||
1
}
`
;
break
;
default
:
this
.
img
.
visible
=
true
;
...
...
egret/src/panels/TaskCenter/TaskCenterPrize.ts
View file @
40607a62
...
...
@@ -62,14 +62,14 @@ export default class TaskCenterPrize extends Panel {
case
2
:
this
.
numsgroup
.
visible
=
true
;
this
.
prop
.
visible
=
true
;
this
.
nums
.
text
=
'×'
+
num
;
this
.
nums
.
text
=
'×'
+
(
num
||
1
)
;
this
.
prop
.
source
=
'taskPrize_blood_png'
;
this
.
tipsLabel
.
text
=
'继续完成任务可以获得更多体力哦~'
;
break
;
case
3
:
this
.
numsgroup
.
visible
=
true
;
this
.
prop
.
visible
=
true
;
this
.
nums
.
text
=
'×'
+
num
;
this
.
nums
.
text
=
'×'
+
(
num
||
1
)
;
this
.
prop
.
source
=
`taskPrize_icon
${
propType
}
_png`
;
this
.
tipsLabel
.
text
=
'继续完成任务可以获得更多道具哦~'
;
break
;
...
...
@@ -77,7 +77,7 @@ export default class TaskCenterPrize extends Panel {
case
4
:
this
.
numsgroup
.
visible
=
true
;
this
.
prop
.
visible
=
true
;
this
.
nums
.
text
=
'×'
+
realValue
;
this
.
nums
.
text
=
'×'
+
(
realValue
||
1
)
;
this
.
prop
.
source
=
'taskPrize_money_png'
;
this
.
tipsLabel
.
text
=
'继续完成任务可以获得更多元宝哦~'
;
break
;
...
...
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