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
0a66bd0a
Commit
0a66bd0a
authored
Apr 02, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
9bb78085
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
27 deletions
+20
-27
turnnoprize再来一次.png
egret/resource/assets/common/turnnoprize再来一次.png
+0
-0
turnnoprize继续闯关.png
egret/resource/assets/common/turnnoprize继续闯关.png
+0
-0
default.res.json
egret/resource/default.res.json
+9
-19
TurntableNoPrizeSkin.exml
egret/resource/skins/TurntableNoPrizeSkin.exml
+2
-1
TurntablePrizeSkin.exml
egret/resource/skins/TurntablePrizeSkin.exml
+7
-5
TurntablePrizePanel.ts
egret/src/panels/TurntablePanel/TurntablePrizePanel.ts
+2
-2
No files found.
egret/resource/assets/common/turnnoprize再来一次.png
View replaced file @
9bb78085
View file @
0a66bd0a
21.3 KB
|
W:
|
H:
27.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/common/turnnoprize继续闯关.png
0 → 100644
View file @
0a66bd0a
26.1 KB
egret/resource/default.res.json
View file @
0a66bd0a
...
@@ -241,8 +241,8 @@
...
@@ -241,8 +241,8 @@
"name"
:
"helpGroup"
"name"
:
"helpGroup"
},
},
{
{
"
name"
:
"preload
"
,
"
keys"
:
"combglight_png,turnnoprize继续闯关2_png
"
,
"
keys"
:
"combglight_png
"
"
name"
:
"preload
"
}
}
],
],
"resources"
:
[
"resources"
:
[
...
@@ -4957,21 +4957,6 @@
...
@@ -4957,21 +4957,6 @@
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"commom_prop_bg2_png"
"name"
:
"commom_prop_bg2_png"
},
},
{
"url"
:
"assets/common/turnprize_icon1.png"
,
"type"
:
"image"
,
"name"
:
"turnprize_icon12_png"
},
{
"url"
:
"assets/common/turnprize_icon2.png"
,
"type"
:
"image"
,
"name"
:
"turnprize_icon22_png"
},
{
"url"
:
"assets/common/turnprize_icon3.png"
,
"type"
:
"image"
,
"name"
:
"turnprize_icon32_png"
},
{
{
"url"
:
"assets/recharge/recharge_icon.png"
,
"url"
:
"assets/recharge/recharge_icon.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
...
@@ -5368,9 +5353,14 @@
...
@@ -5368,9 +5353,14 @@
"name"
:
"help_light_png"
"name"
:
"help_light_png"
},
},
{
{
"name"
:
"combglight_png"
,
"url"
:
"assets/common/combglight.png"
,
"type"
:
"image"
,
"name"
:
"combglight_png"
},
{
"url"
:
"assets/common/turnnoprize继续闯关.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/common/combglight.
png"
"
name"
:
"turnnoprize继续闯关2_
png"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/skins/TurntableNoPrizeSkin.exml
View file @
0a66bd0a
...
@@ -15,10 +15,11 @@
...
@@ -15,10 +15,11 @@
<e:Button
id=
"btn1"
label=
""
y=
"0"
x=
"9.09"
>
<e:Button
id=
"btn1"
label=
""
y=
"0"
x=
"9.09"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"turnnoprize再来一次
_png"
source.down=
"turnnoprize再来一次_png"
source.disabled=
"turnnoprize再来一次
_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"turnnoprize再来一次
2_png"
source.down=
"turnnoprize再来一次2_png"
source.disabled=
"turnnoprize再来一次2
_png"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Button
id=
"btn2"
label=
""
y=
"0"
x=
"279"
>
<e:Button
id=
"btn2"
label=
""
y=
"0"
x=
"279"
>
<e:skinName>
<e:skinName>
...
...
egret/resource/skins/TurntablePrizeSkin.exml
View file @
0a66bd0a
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<e:Image
id=
"money"
source=
"signprize元宝_png"
y=
"400.2"
horizontalCenter=
"0"
scaleX=
"0.8"
scaleY=
"0.8"
visible=
"false"
/>
<e:Image
id=
"money"
source=
"signprize元宝_png"
y=
"400.2"
horizontalCenter=
"0"
scaleX=
"0.8"
scaleY=
"0.8"
visible=
"false"
/>
<e:Image
id=
"blood"
source=
"singprize体力_png"
y=
"362.8"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"blood"
source=
"singprize体力_png"
y=
"362.8"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"img"
width=
"508"
height=
"225"
source=
"{data.url}"
horizontalCenter=
"0"
y=
"411.76"
visible=
"false"
/>
<e:Image
id=
"img"
width=
"508"
height=
"225"
source=
"{data.url}"
horizontalCenter=
"0"
y=
"411.76"
visible=
"false"
/>
<e:Image
id=
"prop"
scaleX=
"1.1"
scaleY=
"1.1"
source=
"taskPrize_money_png"
verticalCenter=
"-80"
x=
"260
"
/>
<e:Image
id=
"prop"
scaleX=
"1.1"
scaleY=
"1.1"
verticalCenter=
"-80"
x=
"260"
source=
"common_blood_png
"
/>
<e:Group
id=
"numsgroup"
x=
"410"
anchorOffsetX=
"0"
width=
"188"
anchorOffsetY=
"0"
height=
"62"
verticalCenter=
"-80"
>
<e:Group
id=
"numsgroup"
x=
"410"
anchorOffsetX=
"0"
width=
"188"
anchorOffsetY=
"0"
height=
"62"
verticalCenter=
"-80"
>
<e:Label
id=
"propnums"
text=
"×8"
size=
"48"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"left"
fontFamily=
"FZY3JW"
textColor=
"0xC17343"
left=
"0"
bold=
"true"
/>
<e:Label
id=
"propnums"
text=
"×8"
size=
"48"
verticalCenter=
"0"
verticalAlign=
"middle"
textAlign=
"left"
fontFamily=
"FZY3JW"
textColor=
"0xC17343"
left=
"0"
bold=
"true"
/>
</e:Group>
</e:Group>
...
@@ -31,18 +31,20 @@
...
@@ -31,18 +31,20 @@
<e:Button
id=
"btn1"
label=
""
y=
"0"
x=
"9.09"
>
<e:Button
id=
"btn1"
label=
""
y=
"0"
x=
"9.09"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"turnnoprize再来一次
_png"
source.down=
"turnnoprize再来一次_png"
source.disabled=
"turnnoprize再来一次
_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"turnnoprize再来一次
2_png"
source.down=
"turnnoprize再来一次2_png"
source.disabled=
"turnnoprize再来一次2
_png"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Button
id=
"btn2"
label=
""
y=
"0"
x=
"279"
>
<e:Button
id=
"btn2"
label=
""
y=
"0"
x=
"279"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"tur
prize继续闯关按钮_png"
source.down=
"turprize继续闯关按钮_png"
source.disabled=
"turprize继续闯关按钮
_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"tur
nnoprize继续闯关2_png"
source.down=
"turnnoprize继续闯关2_png"
source.disabled=
"turnnoprize继续闯关2
_png"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Group
id=
"status1"
x=
"52"
y=
"69.32"
>
<e:Group
id=
"status1"
x=
"52"
y=
"69.32"
>
<e:Label
text=
")"
x=
"120.61"
size=
"22"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
verticalCenter=
"0"
/>
<e:Label
text=
")"
x=
"120.61"
size=
"22"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
verticalCenter=
"0"
/>
...
...
egret/src/panels/TurntablePanel/TurntablePrizePanel.ts
View file @
0a66bd0a
...
@@ -44,7 +44,7 @@ export default class TurnPrizePanel extends Panel {
...
@@ -44,7 +44,7 @@ export default class TurnPrizePanel extends Panel {
case
2
:
case
2
:
// this['blood'].visible = true;
// this['blood'].visible = true;
// this['numsgroup'].visible = true;
// this['numsgroup'].visible = true;
this
[
"prop"
].
source
=
'
hbPrize
_blood_png'
;
this
[
"prop"
].
source
=
'
common
_blood_png'
;
this
[
'numsgroup'
].
visible
=
true
;
this
[
'numsgroup'
].
visible
=
true
;
break
;
break
;
case
3
:
case
3
:
...
@@ -55,7 +55,7 @@ export default class TurnPrizePanel extends Panel {
...
@@ -55,7 +55,7 @@ export default class TurnPrizePanel extends Panel {
// this.data.url = `turnprize_icon${propType}_png`;
// this.data.url = `turnprize_icon${propType}_png`;
break
;
break
;
case
4
:
case
4
:
this
[
"prop"
].
source
=
'
hbPrize_money
_png'
;
this
[
"prop"
].
source
=
'
common_yuanbao
_png'
;
this
[
'numsgroup'
].
visible
=
true
;
this
[
'numsgroup'
].
visible
=
true
;
// this['money'].visible = true;
// this['money'].visible = true;
this
[
'propnums'
].
text
=
'×'
+
realValue
;
this
[
'propnums'
].
text
=
'×'
+
realValue
;
...
...
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