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
5a3f52df
Commit
5a3f52df
authored
Oct 30, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dcb430d7
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
32 additions
and
33 deletions
+32
-33
购买步数增加.png
egret/resource/assets/buy3/购买步数增加.png
+0
-0
exchange.png
egret/resource/assets/exchange/exchange.png
+0
-0
道具商城.png
egret/resource/assets/shop/道具商城.png
+0
-0
Buy1Skin.exml
egret/resource/skins/Buy1Skin.exml
+2
-2
ExchangeSkin.exml
egret/resource/skins/ExchangeSkin.exml
+1
-1
ScratchRuleSkin.exml
egret/resource/skins/ScratchRuleSkin.exml
+1
-1
ShopSkin.exml
egret/resource/skins/ShopSkin.exml
+5
-5
TurnRuleSkin.exml
egret/resource/skins/TurnRuleSkin.exml
+1
-1
TurntableNoPrizeSkin.exml
egret/resource/skins/TurntableNoPrizeSkin.exml
+2
-2
TurntablePrize2Skin.exml
egret/resource/skins/TurntablePrize2Skin.exml
+2
-2
TurntablePrizeSkin.exml
egret/resource/skins/TurntablePrizeSkin.exml
+2
-2
TurntableSkin.exml
egret/resource/skins/TurntableSkin.exml
+2
-2
ScratchPanel.ts
egret/src/panels/ScratchPanel.ts
+0
-1
scratchGetTaskInfo.json
mock/happyclear/scratchGetTaskInfo.json
+9
-9
turnabledojoin.json
mock/happyclear/turnabledojoin.json
+5
-5
No files found.
egret/resource/assets/buy3/购买步数增加.png
View replaced file @
dcb430d7
View file @
5a3f52df
127 KB
|
W:
|
H:
127 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/exchange/exchange.png
View replaced file @
dcb430d7
View file @
5a3f52df
119 KB
|
W:
|
H:
119 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/shop/道具商城.png
View replaced file @
dcb430d7
View file @
5a3f52df
185 KB
|
W:
|
H:
187 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/Buy1Skin.exml
View file @
5a3f52df
...
...
@@ -19,8 +19,8 @@
</e:skinName>
</e:Button>
<e:Group
y=
"706"
horizontalCenter=
"0"
>
<e:Label
text=
"可使用的元宝:"
x=
"34.88"
y=
"0"
textColor=
"0x885037"
size=
"24"
/>
<e:Label
id=
"moneyTxt"
text=
"00000"
x=
"192.97"
y=
"0"
textColor=
"0x885037"
size=
"24"
/>
<e:Label
text=
"可使用的元宝:"
x=
"34.88"
y=
"0"
textColor=
"0x885037"
size=
"24"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"moneyTxt"
text=
"00000"
x=
"192.97"
y=
"0"
textColor=
"0x885037"
size=
"24"
fontFamily=
"FZY3JW"
/>
<e:Image
source=
"common_yuanbao_png"
x=
"2.93"
y=
"1.04"
/>
</e:Group>
<e:Label
id=
"priceTxt"
text=
"-3"
x=
"257.08"
y=
"613"
bold=
"true"
size=
"47"
touchEnabled=
"false"
width=
"131"
textAlign=
"right"
/>
...
...
egret/resource/skins/ExchangeSkin.exml
View file @
5a3f52df
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"ExchangeSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16c984f7919"
/>
<e:Image
y=
"5
0"
horizontalCenter=
"0"
source=
"exchange_png
"
/>
<e:Image
y=
"5
2.2"
source=
"exchange_png"
horizontalCenter=
"0
"
/>
<e:Button
id=
"buyBtn"
label=
""
y=
"589"
horizontalCenter=
"0"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
...
...
egret/resource/skins/ScratchRuleSkin.exml
View file @
5a3f52df
...
...
@@ -4,7 +4,7 @@
<e:Image
id=
"ruleBg"
horizontalCenter=
"0.5"
y=
"152"
source=
"scratch_rule_bg_png"
/>
<e:Scroller
id=
"scroller"
width=
"545"
x=
"104.76"
height=
"507"
y=
"377.2"
>
<e:Group
id=
"group"
width=
"100%"
>
<e:Label
id=
"labContent"
width=
"100%"
text=
""
lineSpacing=
"10"
size=
"30"
multiline=
"true"
textColor=
"0xa54615"
/>
<e:Label
id=
"labContent"
width=
"100%"
text=
""
lineSpacing=
"10"
size=
"30"
multiline=
"true"
textColor=
"0xa54615"
fontFamily=
"FZY3JW"
/>
<e:layout>
<e:VerticalLayout/>
</e:layout>
...
...
egret/resource/skins/ShopSkin.exml
View file @
5a3f52df
...
...
@@ -2,10 +2,10 @@
<e:Skin
class=
"ShopSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16c953f5068"
horizontalCenter=
"0"
/>
<e:Image
source=
"道具商城_png"
y=
"42"
horizontalCenter=
"0"
/>
<e:Label
id=
"price1Txt"
text=
"20"
y=
"395.86"
x=
"294.52"
size=
"27"
textColor=
"0xc33700"
/>
<e:Label
id=
"price2Txt"
text=
"20"
y=
"541.44"
textColor=
"0xC33700"
x=
"295.4"
size=
"27"
/>
<e:Label
id=
"price3Txt"
text=
"20"
y=
"680.64"
textColor=
"0xC33700"
x=
"294.76"
size=
"27"
/>
<e:Label
id=
"price4Txt"
text=
"20"
y=
"819.28"
textColor=
"0xC33700"
x=
"297.16"
size=
"27"
/>
<e:Label
id=
"price1Txt"
text=
"20"
y=
"395.86"
x=
"294.52"
size=
"27"
textColor=
"0xc33700"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"price2Txt"
text=
"20"
y=
"541.44"
textColor=
"0xC33700"
x=
"295.4"
size=
"27"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"price3Txt"
text=
"20"
y=
"680.64"
textColor=
"0xC33700"
x=
"294.76"
size=
"27"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"price4Txt"
text=
"20"
y=
"819.28"
textColor=
"0xC33700"
x=
"297.16"
size=
"27"
fontFamily=
"FZY3JW"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"614"
y=
"230"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
...
...
@@ -46,5 +46,5 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Label
id=
"moneyTxt"
text=
"0000"
x=
"421.24"
y=
"886"
textColor=
"0x885037"
size=
"24"
/>
<e:Label
id=
"moneyTxt"
text=
"0000"
x=
"421.24"
y=
"886"
textColor=
"0x885037"
size=
"24"
fontFamily=
"FZY3JW"
/>
</e:Skin>
\ No newline at end of file
egret/resource/skins/TurnRuleSkin.exml
View file @
5a3f52df
...
...
@@ -3,7 +3,7 @@
<e:Image
id=
"ruleBg"
horizontalCenter=
"0.5"
y=
"152"
source=
"turnrule抽奖说明_png"
/>
<e:Scroller
id=
"scroller"
width=
"545"
x=
"104.76"
height=
"507"
y=
"377.2"
>
<e:Group
id=
"group"
width=
"100%"
>
<e:Label
id=
"labContent"
width=
"100%"
text=
""
lineSpacing=
"10"
size=
"30"
multiline=
"true"
textColor=
"0xa54615"
/>
<e:Label
id=
"labContent"
width=
"100%"
text=
""
lineSpacing=
"10"
size=
"30"
multiline=
"true"
textColor=
"0xa54615"
fontFamily=
"FZY3JW"
/>
<e:layout>
<e:VerticalLayout/>
</e:layout>
...
...
egret/resource/skins/TurntableNoPrizeSkin.exml
View file @
5a3f52df
...
...
@@ -30,8 +30,8 @@
</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=
"52"
y=
"60"
touchChildren=
"false"
touchEnabled=
"false"
>
<e:Label
text=
")"
x=
"132"
y=
"2"
size=
"22"
touchEnabled=
"false"
/>
<e:Label
id=
"nums"
text=
"(-50"
x=
"0"
y=
"3"
size=
"22"
textAlign=
"right"
width=
"82"
touchEnabled=
"false"
/>
<e:Label
text=
")"
x=
"132"
y=
"2"
size=
"22"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"nums"
text=
"(-50"
x=
"0"
y=
"3"
size=
"22"
textAlign=
"right"
width=
"82"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
/>
<e:Image
source=
"common_yuanbao_png"
x=
"91.99"
y=
"1.67"
/>
</e:Group>
</e:Group>
...
...
egret/resource/skins/TurntablePrize2Skin.exml
View file @
5a3f52df
...
...
@@ -6,7 +6,7 @@
<e:Group
id=
"container"
y=
"-98.45"
x=
"-3"
/>
<e:Image
source=
"turnprize2bg_png"
y=
"159"
horizontalCenter=
"0"
/>
<e:Image
y=
"323"
source=
"scratch_card_bg_png"
horizontalCenter=
"0"
/>
<e:Image
id=
"prizeImg"
width=
"508"
height=
"225"
source=
""
x=
"121"
y=
"345
"
/>
<e:Image
id=
"prizeImg"
width=
"508"
height=
"225"
source=
""
y=
"345"
x=
"121
"
/>
<e:Button
id=
"closeBtn"
label=
""
y=
"242.88"
x=
"615"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
...
...
@@ -21,7 +21,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"
bold=
"true"
verticalAlign=
"middle"
textAlign=
"center"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
<e:Label
id=
"progressLabel"
text=
"仅剩90.7%"
size=
"18"
bold=
"true"
verticalAlign=
"middle"
textAlign=
"center"
horizontalCenter=
"0"
verticalCenter=
"0"
fontFamily=
"FZY3JW"
/>
</e:Group>
<e:Image
id=
"hongbao"
source=
"scratch_hongbao_png"
scaleX=
"1"
scaleY=
"1"
verticalCenter=
"0"
horizontalCenter=
"219"
/>
</e:Group>
...
...
egret/resource/skins/TurntablePrizeSkin.exml
View file @
5a3f52df
...
...
@@ -39,8 +39,8 @@
</e:skinName>
</e:Button>
<e:Group
id=
"status1"
x=
"52"
y=
"60"
>
<e:Label
text=
")"
x=
"128.96"
y=
"2"
size=
"22"
touchEnabled=
"false"
/>
<e:Label
id=
"nums"
text=
"(-50"
x=
"3.04"
y=
"1.52"
size=
"22"
textAlign=
"right"
width=
"82"
touchEnabled=
"false"
/>
<e:Label
text=
")"
x=
"128.96"
y=
"2"
size=
"22"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"nums"
text=
"(-50"
x=
"3.04"
y=
"1.52"
size=
"22"
textAlign=
"right"
width=
"82"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
/>
<e:Image
source=
"common_yuanbao_png"
x=
"91.99"
y=
"1.67"
/>
</e:Group>
</e:Group>
...
...
egret/resource/skins/TurntableSkin.exml
View file @
5a3f52df
...
...
@@ -38,7 +38,7 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Label
id=
"btnLabel"
text=
"Label"
size=
"20"
verticalCenter=
"30.5"
verticalAlign=
"middle"
textAlign=
"center"
bold=
"true"
horizontalCenter=
"0"
touchEnabled=
"false"
/>
<e:Label
id=
"btnLabel"
text=
"Label"
size=
"20"
verticalCenter=
"30.5"
verticalAlign=
"middle"
textAlign=
"center"
bold=
"true"
horizontalCenter=
"0"
touchEnabled=
"false"
fontFamily=
"FZY3JW"
/>
</e:Group>
<e:Button
id=
"closeBtn"
label=
""
y=
"292.88"
x=
"565.89"
>
<e:skinName>
...
...
@@ -49,6 +49,6 @@
</e:skinName>
</e:Button>
<e:Group
id=
"container2"
/>
<e:Label
id=
"nums"
text=
"当前可用元宝:0"
y=
"951"
textColor=
"0xffe9c0"
horizontalCenter=
"0"
/>
<e:Label
id=
"nums"
text=
"当前可用元宝:0"
y=
"951"
textColor=
"0xffe9c0"
horizontalCenter=
"0"
fontFamily=
"FZY3JW"
/>
<e:Image
id=
"rulebtn"
source=
"turntable_rulebtn_png"
y=
"1000"
horizontalCenter=
"0"
/>
</e:Skin>
\ No newline at end of file
egret/src/panels/ScratchPanel.ts
View file @
5a3f52df
...
...
@@ -62,7 +62,6 @@ export default class ScratchPanel extends Panel {
this
.
setGtaphics
(
this
[
"prizeImg"
].
x
-
30
,
this
[
"prizeImg"
].
y
+
this
[
"prizeImg"
].
height
);
},
500
);
const
scratchData
=
DataManager
.
ins
.
getData
(
'hc_turnableDojoin'
);
this
[
'light1'
].
visible
=
this
[
'light2'
].
visible
=
false
;
this
[
'con'
].
addChild
(
this
.
data
.
mv
);
...
...
mock/happyclear/scratchGetTaskInfo.json
View file @
5a3f52df
...
...
@@ -2,17 +2,17 @@
"success"
:
true
,
"code"
:
"0000000000"
,
"desc"
:
"OK"
,
"timestamp"
:
157242
0059060
,
"timestamp"
:
157242
7313222
,
"data"
:
{
"scratchCardTaskId"
:
3
,
"scratchCardTaskId"
:
9
,
"taskStatus"
:
1
,
"prizeImage"
:
"//yun.dui88.com/images/201910/
9u6nk8sjt8
.jpg"
,
"currentTime"
:
157242
0059060
,
"endTime"
:
1572
493282
000
,
"completePercent"
:
"9
8
"
,
"remainPercent"
:
"0"
,
"prizeImage"
:
"//yun.dui88.com/images/201910/
gxqaecxymq
.jpg"
,
"currentTime"
:
157242
7313215
,
"endTime"
:
1572
513706
000
,
"completePercent"
:
"9
1.0
"
,
"remainPercent"
:
"
9.
0"
,
"totalNeedCount"
:
1
,
"helpedCount"
:
1
,
"avatarList"
:
null
"helpedCount"
:
0
,
"avatarList"
:
[]
}
}
\ No newline at end of file
mock/happyclear/turnabledojoin.json
View file @
5a3f52df
...
...
@@ -2,14 +2,14 @@
"success"
:
true
,
"code"
:
"0000000000"
,
"desc"
:
"OK"
,
"timestamp"
:
1572
327888728
,
"timestamp"
:
1572
428041912
,
"data"
:
{
"isScratchCard"
:
true
,
"option"
:
{
"scratchCardTaskId"
:
7
,
"prizeImage"
:
"//yun.dui88.com/images/201910/
e6pmpk2pne.png
"
,
"completePercent"
:
"9
8
"
,
"remainPercent"
:
null
"scratchCardTaskId"
:
12
,
"prizeImage"
:
"//yun.dui88.com/images/201910/
dx04j91xfk.gif
"
,
"completePercent"
:
"9
0
"
,
"remainPercent"
:
"10"
},
"orderNum"
:
null
}
...
...
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