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
213f89a4
Commit
213f89a4
authored
Apr 08, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整转盘显示
parent
221c7abc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
TurntableNoPrizeSkin.exml
egret/resource/skins/TurntableNoPrizeSkin.exml
+3
-2
TurntablePrizeSkin.exml
egret/resource/skins/TurntablePrizeSkin.exml
+2
-2
Turntable.ts
egret/src/panels/TurntablePanel/Turntable.ts
+1
-1
No files found.
egret/resource/skins/TurntableNoPrizeSkin.exml
View file @
213f89a4
...
...
@@ -30,8 +30,8 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Label
id=
"status2"
text=
"(免费次数:1)"
x=
"69.3"
y=
"62.66"
size=
"22"
touchEnabled=
"false"
visible=
"false"
/>
<e:Group
id=
"status1"
x=
"
48.01"
y=
"69.32
"
touchChildren=
"false"
touchEnabled=
"false"
>
<e:Group
id=
"status1"
x=
"
52"
y=
"75
"
touchChildren=
"false"
touchEnabled=
"false"
>
<e:Label
text=
")"
x=
"120.61"
size=
"22"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
verticalCenter=
"0"
/>
<e:Label
id=
"nums"
text=
"(-50"
x=
"7"
size=
"22"
textAlign=
"right"
width=
"82"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
verticalCenter=
"0"
/>
<e:Image
source=
"common_yuanbao_png"
x=
"94"
scaleX=
"0.2"
scaleY=
"0.2"
verticalCenter=
"0"
/>
...
...
@@ -40,4 +40,5 @@
<e:Image
id=
"tips1"
source=
"turnnoprize换个姿势再来一次!_png"
y=
"436"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"tips2"
source=
"turnnoprize奖励溜走了,再试一次吧!_png"
y=
"423.65"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"tips3"
source=
"turnnoprize离奖励只差一毫米! 再来一次吧!_png"
y=
"436"
horizontalCenter=
"1"
visible=
"false"
/>
<e:Label
id=
"status2"
text=
"(免费次数:1)"
x=
"169.3"
y=
"629.58"
size=
"22"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
visible=
"false"
/>
</e:Skin>
\ No newline at end of file
egret/resource/skins/TurntablePrizeSkin.exml
View file @
213f89a4
...
...
@@ -50,11 +50,11 @@
</e:Button>
<e:Group
id=
"status1"
x=
"52"
y=
"
69.32
"
>
<e:Group
id=
"status1"
x=
"52"
y=
"
75"
visible=
"false
"
>
<e:Label
text=
")"
x=
"120.61"
size=
"22"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
verticalCenter=
"0"
/>
<e:Label
id=
"nums"
text=
"(-50"
x=
"7"
size=
"22"
textAlign=
"right"
width=
"82"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
verticalCenter=
"0"
/>
<e:Image
source=
"common_yuanbao_png"
x=
"94"
scaleX=
"0.2"
scaleY=
"0.2"
verticalCenter=
"0"
/>
</e:Group>
</e:Group>
<e:Label
id=
"status2"
text=
"(免费次数:1)"
x=
"169.3"
y=
"76
4.97"
size=
"22"
touchEnabled=
"false"
visible=
"false
"
/>
<e:Label
id=
"status2"
text=
"(免费次数:1)"
x=
"169.3"
y=
"76
8.97"
size=
"22"
touchEnabled=
"false"
fontFamily=
"FZY3JW
"
/>
</e:Skin>
\ No newline at end of file
egret/src/panels/TurntablePanel/Turntable.ts
View file @
213f89a4
...
...
@@ -272,7 +272,7 @@ export default class Turntable extends Panel {
// 设置按钮次数显示
if
(
data
.
remainTimes
>
0
)
{
this
[
'btnLabel'
].
text
=
`免费次数:
\n
${
data
.
remainTimes
}
次`
;
this
[
'btnLabel'
].
text
=
`免费次数:
${
data
.
remainTimes
}
次`
;
}
else
{
this
[
'btnLabel'
].
text
=
`
${
data
.
nextTimeNeedCoin
}
元宝/次`
;
}
...
...
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