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
a3a2668d
Commit
a3a2668d
authored
Oct 26, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7b0ac09b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
TurntablePrize2Skin.exml
egret/resource/skins/TurntablePrize2Skin.exml
+6
-6
TurntablePrize2Panel.ts
egret/src/panels/TurntablePanel/TurntablePrize2Panel.ts
+3
-3
turnabledojoin.json
mock/happyclear/turnabledojoin.json
+1
-1
No files found.
egret/resource/skins/TurntablePrize2Skin.exml
View file @
a3a2668d
...
...
@@ -19,12 +19,12 @@
</e:Button>
<e:Image
id=
"btn"
source=
"turnprize2按钮_png"
y=
"677"
horizontalCenter=
"0"
/>
<e:Group
x=
"124"
y=
"606"
width=
"506"
height=
"57"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
>
<e:Image
id=
"progressMask
0
"
source=
"scratch_progress_bg_png"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
x=
"7"
verticalCenter=
"0"
/>
<e:Group
id=
"progressGroup
0
"
x=
"8"
verticalCenter=
"0"
>
<e:Image
id=
"progressBg
0
"
source=
"scratch_progress_bg_png"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
x=
"0"
y=
"0"
width=
"437"
height=
"22"
/>
<e:Rect
id=
"progress
0
"
fillColor=
"0xEB1917"
left=
"0"
verticalCenter=
"0"
width=
"0"
top=
"0"
bottom=
"0"
/>
<e:Label
id=
"progressLabel
0
"
text=
"仅剩90.7%"
size=
"18"
verticalCenter=
"0"
horizontalCenter=
"0"
bold=
"true"
/>
<e:Image
id=
"progressMask"
source=
"scratch_progress_bg_png"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
x=
"7"
verticalCenter=
"0"
/>
<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=
"0"
horizontalCenter=
"0"
bold=
"true"
/>
</e:Group>
<e:Image
id=
"hongbao
0
"
source=
"scratch_hongbao_png"
scaleX=
"1"
scaleY=
"1"
verticalCenter=
"0"
horizontalCenter=
"219"
/>
<e:Image
id=
"hongbao"
source=
"scratch_hongbao_png"
scaleX=
"1"
scaleY=
"1"
verticalCenter=
"0"
horizontalCenter=
"219"
/>
</e:Group>
</e:Skin>
\ No newline at end of file
egret/src/panels/TurntablePanel/TurntablePrize2Panel.ts
View file @
a3a2668d
...
...
@@ -11,9 +11,9 @@ export default class TurnPrize2Panel extends Panel {
start
(
data
)
{
super
.
start
();
this
.
showlog
();
this
.
setProgress
(
data
.
completePercent
);
this
.
data
.
url
=
data
.
prizeImage
;
this
[
"progressGroup"
].
mask
=
this
[
"progressMask"
];
this
.
setProgress
(
+
data
.
option
.
completePercent
);
this
.
data
.
url
=
data
.
option
.
prizeImage
;
this
[
'light1'
].
visible
=
this
[
'light2'
].
visible
=
false
;
addAdComp
(
84
,
816
,
this
);
data
.
mv
.
gotoAndPlay
(
10
,
true
)
...
...
mock/happyclear/turnabledojoin.json
View file @
a3a2668d
...
...
@@ -3,7 +3,7 @@
"data"
:{
"isScratchCard"
:
true
,
"option"
:{
"completePercent"
:
"
完成进度
"
,
"completePercent"
:
"
99
"
,
"prizeImage"
:
"http://yun.duiba.com.cn/db_games/1022/111.png"
,
"remainPercent"
:
"剩余进度"
,
"scratchCardTaskId"
:
1
,
...
...
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