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
ec674abd
Commit
ec674abd
authored
Oct 31, 2019
by
wjf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev
parents
a80784b9
aa23d3f6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
sprize.svga
egret/resource/assets/svgas/sprize.svga
+0
-0
ScratchSkin.exml
egret/resource/skins/ScratchSkin.exml
+3
-2
ScratchPanel.ts
egret/src/panels/ScratchPanel.ts
+1
-1
No files found.
egret/resource/assets/svgas/sprize.svga
View file @
ec674abd
No preview for this file type
egret/resource/skins/ScratchSkin.exml
View file @
ec674abd
...
...
@@ -25,7 +25,8 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Label
id=
"cutTimeLabel"
text=
"将在23:43:21后失效"
y=
"895.33"
size=
"28"
textColor=
"0xffffff"
horizontalCenter=
"0.5"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"cutTimeLabel"
text=
"23:43:21"
y=
"895.33"
size=
"28"
textColor=
"0xffffff"
fontFamily=
"FZY3JW"
bold=
"true"
x=
"310"
/>
<e:Label
text=
"将在 后失效"
y=
"895.33"
size=
"28"
textColor=
"0xFFFFFF"
fontFamily=
"FZY3JW"
horizontalCenter=
"0"
/>
<e:Label
text=
"帮刮\n记录"
y=
"805"
size=
"28"
textColor=
"0xFFFFFF"
horizontalCenter=
"-248"
/>
<e:Scroller
width=
"487"
height=
"90"
y=
"783"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
horizontalCenter=
"32.5"
>
<e:Group
anchorOffsetX=
"0"
y=
"2"
>
...
...
@@ -48,7 +49,7 @@
<e:Group
id=
"progressGroup"
x=
"8"
verticalCenter=
"0"
>
<e:Image
id=
"progressBg"
source=
"scratch_progress_bg_png"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
x=
"0"
y=
"0"
width=
"437"
height=
"22"
/>
<e:Rect
id=
"progress"
fillColor=
"0xeb1917"
left=
"0"
verticalCenter=
"0"
width=
"0"
top=
"0"
bottom=
"0"
/>
<e:Label
id=
"progressLabel"
text=
"仅剩90.7%"
size=
"18"
verticalCenter=
"2"
horizontalCenter=
"0.5"
bold=
"true"
verticalAlign=
"middle"
textAlign=
"center"
fontFamily=
"FZY3JW
"
/>
<e:Label
id=
"progressLabel"
text=
"仅剩90.7%"
size=
"18"
verticalCenter=
"2"
bold=
"true"
verticalAlign=
"middle"
textAlign=
"center"
fontFamily=
"FZY3JW"
horizontalCenter=
"0
"
/>
</e:Group>
<e:Image
id=
"hongbao"
source=
"scratch_hongbao_png"
scaleX=
"1"
scaleY=
"1"
verticalCenter=
"0"
horizontalCenter=
"219"
/>
</e:Group>
...
...
egret/src/panels/ScratchPanel.ts
View file @
ec674abd
...
...
@@ -160,7 +160,7 @@ export default class ScratchPanel extends Panel {
this
.
setProgress
(
+
this
.
data
.
completePercent
);
// 倒计时
this
.
cutTimer
=
new
CutTimer
(
this
[
"cutTimeLabel"
],
"
将在hh:mm:ss后失效
"
,
()
=>
{
this
.
cutTimer
=
new
CutTimer
(
this
[
"cutTimeLabel"
],
"
hh:mm:ss
"
,
()
=>
{
this
.
hidePanel
();
GDispatcher
.
dispatchEvent
(
"updateScratchTips"
);
}
...
...
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