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
8448d3ab
Commit
8448d3ab
authored
Oct 28, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e1922232
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
40 additions
and
10 deletions
+40
-10
turntable_gameTime.png
egret/resource/assets/turntable/turntable_gameTime.png
+0
-0
turntable_oupon.png
egret/resource/assets/turntable/turntable_oupon.png
+0
-0
turntable_prop.png
egret/resource/assets/turntable/turntable_prop.png
+0
-0
turntable_scratch.png
egret/resource/assets/turntable/turntable_scratch.png
+0
-0
turntable_thanks.png
egret/resource/assets/turntable/turntable_thanks.png
+0
-0
turntable_wealth.png
egret/resource/assets/turntable/turntable_wealth.png
+0
-0
default.res.json
egret/resource/default.res.json
+31
-1
TurntableSkin.exml
egret/resource/skins/TurntableSkin.exml
+1
-1
Turntable.ts
egret/src/panels/TurntablePanel/Turntable.ts
+8
-8
No files found.
egret/resource/assets/turntable/turntable_gameTime.png
0 → 100644
View file @
8448d3ab
7.37 KB
egret/resource/assets/turntable/turntable_oupon.png
0 → 100644
View file @
8448d3ab
10.2 KB
egret/resource/assets/turntable/turntable_prop.png
0 → 100644
View file @
8448d3ab
12.7 KB
egret/resource/assets/turntable/turntable_scratch.png
0 → 100644
View file @
8448d3ab
6.5 KB
egret/resource/assets/turntable/turntable_thanks.png
0 → 100644
View file @
8448d3ab
17 KB
egret/resource/assets/turntable/turntable_wealth.png
0 → 100644
View file @
8448d3ab
10.3 KB
egret/resource/default.res.json
View file @
8448d3ab
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
"name"
:
"turntableprize2"
"name"
:
"turntableprize2"
},
},
{
{
"keys"
:
"turnable_icon1_png,turnable_icon2_png,turnable_icon3_png,turntable_bg_png,turntable_panel_png,turntable_rulebtn_png,turntable_startbtn_png"
,
"keys"
:
"turnable_icon1_png,turnable_icon2_png,turnable_icon3_png,turntable_bg_png,turntable_panel_png,turntable_rulebtn_png,turntable_startbtn_png
,turntable_oupon_png,turntable_prop_png,turntable_scratch_png,turntable_thanks_png,turntable_wealth_png,turntable_gameTime_png
"
,
"name"
:
"turntable"
"name"
:
"turntable"
},
},
{
{
...
@@ -2782,6 +2782,36 @@
...
@@ -2782,6 +2782,36 @@
"url"
:
"assets/turntableprize/turprize继续闯关按钮.png"
,
"url"
:
"assets/turntableprize/turprize继续闯关按钮.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"turprize继续闯关按钮_png"
"name"
:
"turprize继续闯关按钮_png"
},
{
"url"
:
"assets/turntable/turntable_oupon.png"
,
"type"
:
"image"
,
"name"
:
"turntable_oupon_png"
},
{
"url"
:
"assets/turntable/turntable_prop.png"
,
"type"
:
"image"
,
"name"
:
"turntable_prop_png"
},
{
"url"
:
"assets/turntable/turntable_scratch.png"
,
"type"
:
"image"
,
"name"
:
"turntable_scratch_png"
},
{
"url"
:
"assets/turntable/turntable_thanks.png"
,
"type"
:
"image"
,
"name"
:
"turntable_thanks_png"
},
{
"url"
:
"assets/turntable/turntable_wealth.png"
,
"type"
:
"image"
,
"name"
:
"turntable_wealth_png"
},
{
"url"
:
"assets/turntable/turntable_gameTime.png"
,
"type"
:
"image"
,
"name"
:
"turntable_gameTime_png"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/skins/TurntableSkin.exml
View file @
8448d3ab
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Label
id=
"btnLabel"
text=
"Label"
size=
"20"
verticalCenter=
"30.5"
verticalAlign=
"middle"
textAlign=
"center"
bold=
"true"
horizontalCenter=
"0"
/>
<e:Label
id=
"btnLabel"
text=
"Label"
size=
"20"
verticalCenter=
"30.5"
verticalAlign=
"middle"
textAlign=
"center"
bold=
"true"
horizontalCenter=
"0"
touchEnabled=
"false"
/>
</e:Group>
</e:Group>
<e:Button
id=
"closeBtn"
label=
""
y=
"292.88"
x=
"565.89"
>
<e:Button
id=
"closeBtn"
label=
""
y=
"292.88"
x=
"565.89"
>
<e:skinName>
<e:skinName>
...
...
egret/src/panels/TurntablePanel/Turntable.ts
View file @
8448d3ab
...
@@ -258,31 +258,31 @@ export default class Turntable extends Panel {
...
@@ -258,31 +258,31 @@ export default class Turntable extends Panel {
let
prizeImg
=
""
;
let
prizeImg
=
""
;
switch
(
v
.
categoryType
)
{
switch
(
v
.
categoryType
)
{
case
"scratch"
:
case
"scratch"
:
prizeImg
=
"
//yun.duiba.com.cn/developer/img/activityTool/slotMachine/object.
png"
;
prizeImg
=
"
turntable_scratch_
png"
;
break
;
break
;
case
"thanks"
:
case
"thanks"
:
prizeImg
=
"
//yun.duiba.com.cn/upload/uP99F1462438316972.
png"
;
prizeImg
=
"
turntable_thanks_
png"
;
break
;
break
;
case
1
:
case
1
:
prizeImg
=
"
//yun.duiba.com.cn/developer/img/activityTool/slotMachine/alipay.
png"
;
prizeImg
=
"
turntable_thanks_
png"
;
break
;
break
;
case
2
:
case
2
:
prizeImg
=
"
//yun.duiba.com.cn/developer/img/activityTool/slotMachine/qb.
png"
;
prizeImg
=
"
turntable_gameTime_
png"
;
break
;
break
;
case
3
:
case
3
:
prizeImg
=
`turnable_icon
${
v
.
propType
}
_png`
;
prizeImg
=
`turnable_icon
${
v
.
propType
}
_png`
;
break
;
break
;
case
4
:
case
4
:
prizeImg
=
"
//yun.duiba.com.cn/developer/img/activityTool/slotMachine/object.
png"
;
prizeImg
=
"
turntable_wealth_
png"
;
break
;
break
;
case
5
:
case
5
:
prizeImg
=
"
//yun.duiba.com.cn/developer/img/activityTool/slotMachine/alipay.
png"
;
prizeImg
=
"
turntable_oupon_
png"
;
break
;
break
;
case
6
:
case
6
:
prizeImg
=
"
//yun.duiba.com.cn/developer/img/activityTool/slotMachine/qb.
png"
;
prizeImg
=
"
turntable_oupon_
png"
;
break
;
break
;
case
7
:
case
7
:
prizeImg
=
"
//yun.duiba.com.cn/developer/img/activityTool/slotMachine/phonebill.
png"
;
prizeImg
=
"
turntable_oupon_
png"
;
break
;
break
;
default
:
default
:
...
...
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