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
be52bb75
Commit
be52bb75
authored
Mar 30, 2020
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6c314a4a
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
main2.tmproject
egret/resource/TextureMerger/main2.tmproject
+1
-1
MyExmlPlugin.ts
egret/scripts/MyExmlPlugin.ts
+2
-1
TaskCenter.ts
egret/src/panels/TaskCenter/TaskCenter.ts
+1
-6
No files found.
egret/resource/TextureMerger/main2.tmproject
View file @
be52bb75
This diff is collapsed.
Click to expand it.
egret/scripts/MyExmlPlugin.ts
View file @
be52bb75
...
...
@@ -53,8 +53,9 @@ export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command {
'cutTimeFont.png'
,
'sharenums.png'
,
'nums.png'
,
'nums3.png'
,
'nums2.png'
,
'nums3.png'
,
'nums4.png'
,
'hbCutTimeFont.png'
,
'hbGameScoreFont.png'
,
'hbGameCutTimeFont.png'
,
...
...
egret/src/panels/TaskCenter/TaskCenter.ts
View file @
be52bb75
...
...
@@ -91,13 +91,12 @@ class TaskCenterItem extends eui.ItemRenderer {
let
taskConfig
=
config
.
taskConfs
||
[];
let
has
=
false
;
this
.
moneyGroup
.
visible
=
false
;
for
(
let
task
of
taskConfig
)
{
if
(
this
.
data
.
subActivityId
==
task
.
taskMark
)
{
for
(
let
prize
of
task
.
prizeList
)
{
if
(
prize
.
categoryType
==
4
&&
prize
.
minValue
==
prize
.
maxValue
)
{
has
=
true
;
this
.
moneyGroup
.
visible
=
true
;
this
.
moneyCount
.
text
=
`×
${
prize
.
maxValue
}
`
;
this
.
moneyGroup
.
x
=
this
.
remark
.
x
+
this
.
remark
.
width
+
20
;
...
...
@@ -106,10 +105,6 @@ class TaskCenterItem extends eui.ItemRenderer {
}
}
if
(
!
has
)
{
this
.
moneyGroup
.
visible
=
false
;
}
this
.
setBtn
();
// 设置按钮
}
...
...
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