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
ee03c4ea
Commit
ee03c4ea
authored
Sep 03, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9c23f353
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
7 deletions
+8
-7
PrizePanel.ts
egret/libs/new_wx/components/PrizePanel.ts
+1
-1
prize2_icon.png
egret/resource/assets/prize2/prize2_icon.png
+0
-0
Prize2Skin.exml
egret/resource/skins/Prize2Skin.exml
+3
-2
BoxPanel.ts
egret/src/panels/BoxPanel.ts
+1
-1
Prize2Panel.ts
egret/src/panels/Prize2Panel.ts
+1
-1
submit.json
mock/happyclear/submit.json
+1
-1
getPlugOrderStatus.json
mock/json/getPlugOrderStatus.json
+1
-1
No files found.
egret/libs/new_wx/components/PrizePanel.ts
View file @
ee03c4ea
...
@@ -18,7 +18,7 @@ export default class PrizePanel extends Panel {
...
@@ -18,7 +18,7 @@ export default class PrizePanel extends Panel {
setGray
(
this
[
'picc'
]);
setGray
(
this
[
'picc'
]);
this
.
_level
=
parseInt
(
data
.
level
+
''
);
this
.
_level
=
parseInt
(
data
.
level
+
''
);
const
itemid
=
DataManager
.
ins
.
getData
(
'getPlugOrderStatus'
).
lottery
.
itemId
;
const
itemid
=
DataManager
.
ins
.
getData
(
'getPlugOrderStatus'
).
lottery
.
itemId
;
this
.
data
.
img
=
`http://yun.duiba.com.cn/db_games/090
2
/
${
itemid
}
.png`
;
this
.
data
.
img
=
`http://yun.duiba.com.cn/db_games/090
3
/
${
itemid
}
.png`
;
this
[
'shareBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
[
'shareBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
15
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
15
));
...
...
egret/resource/assets/prize2/prize2_icon.png
View replaced file @
9c23f353
View file @
ee03c4ea
52 KB
|
W:
|
H:
49 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/Prize2Skin.exml
View file @
ee03c4ea
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
<e:Image
id=
"pic1"
source=
"点亮 副本 2_png"
x=
"222"
y=
"249"
anchorOffsetX=
"80"
anchorOffsetY=
"58"
/>
<e:Image
id=
"pic1"
source=
"点亮 副本 2_png"
x=
"222"
y=
"249"
anchorOffsetX=
"80"
anchorOffsetY=
"58"
/>
<e:Image
id=
"pic3"
source=
"点亮 副本 2_png"
x=
"536"
y=
"243"
scaleX=
"-1"
anchorOffsetX=
"72"
anchorOffsetY=
"52"
/>
<e:Image
id=
"pic3"
source=
"点亮 副本 2_png"
x=
"536"
y=
"243"
scaleX=
"-1"
anchorOffsetX=
"72"
anchorOffsetY=
"52"
/>
<e:Image
id=
"pic2"
source=
"点亮_png"
y=
"218"
horizontalCenter=
"0"
anchorOffsetX=
"96"
anchorOffsetY=
"76"
/>
<e:Image
id=
"pic2"
source=
"点亮_png"
y=
"218"
horizontalCenter=
"0"
anchorOffsetX=
"96"
anchorOffsetY=
"76"
/>
<e:Label
id=
"tips"
text=
"X30"
y=
"637"
x=
"481.85"
size=
"46"
textColor=
"0xb7592a"
/>
<e:Label
id=
"tips"
text=
"0元宝"
y=
"575"
x=
"349"
size=
"34"
textColor=
"0xb7592a"
bold=
"true"
/>
<e:Image
source=
"prize2_icon_png"
y=
"518.53"
horizontalCenter=
"-26.5"
/>
<e:Label
text=
"可购买游戏道具和体力"
y=
"622.24"
x=
"348"
size=
"24"
textColor=
"0xB7592A"
/>
<e:Image
source=
"prize2_icon_png"
y=
"553.36"
horizontalCenter=
"-135.5"
anchorOffsetX=
"0"
width=
"175"
anchorOffsetY=
"0"
height=
"109.28"
rotation=
"360"
/>
</e:Skin>
</e:Skin>
\ No newline at end of file
egret/src/panels/BoxPanel.ts
View file @
ee03c4ea
...
@@ -14,7 +14,7 @@ export default class BoxPanel extends Panel {
...
@@ -14,7 +14,7 @@ export default class BoxPanel extends Panel {
// this.data.img = DataManager.ins.getData('getPlugOrderStatus').lottery.imgurl;
// this.data.img = DataManager.ins.getData('getPlugOrderStatus').lottery.imgurl;
const
itemid
=
DataManager
.
ins
.
getData
(
'getPlugOrderStatus'
).
lottery
.
itemId
;
const
itemid
=
DataManager
.
ins
.
getData
(
'getPlugOrderStatus'
).
lottery
.
itemId
;
this
.
data
.
img
=
`http://yun.duiba.com.cn/db_games/090
2
/
${
itemid
}
.png`
;
this
.
data
.
img
=
`http://yun.duiba.com.cn/db_games/090
3
/
${
itemid
}
.png`
;
}
}
showlog
()
{
showlog
()
{
NetManager
.
ins
.
showLog
(
getlogItem
(
17
));
NetManager
.
ins
.
showLog
(
getlogItem
(
17
));
...
...
egret/src/panels/Prize2Panel.ts
View file @
ee03c4ea
...
@@ -22,7 +22,7 @@ export default class Prize2Panel extends Panel {
...
@@ -22,7 +22,7 @@ export default class Prize2Panel extends Panel {
this
.
_level
=
parseInt
(
data
.
level
+
''
);
this
.
_level
=
parseInt
(
data
.
level
+
''
);
const
submitdata
=
DataManager
.
ins
.
getData
(
'hc_submit'
).
data
;
const
submitdata
=
DataManager
.
ins
.
getData
(
'hc_submit'
).
data
;
this
[
'tips'
].
text
=
`
X
${
submitdata
.
prizeResponse
.
changeMoney
}
`
;
this
[
'tips'
].
text
=
`
${
submitdata
.
prizeResponse
.
changeMoney
}
元宝
`
;
this
[
'shareBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
[
'shareBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
15
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
15
));
if
(
iswx
())
{
if
(
iswx
())
{
...
...
mock/happyclear/submit.json
View file @
ee03c4ea
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
"prizeType"
:
1
,
"prizeType"
:
1
,
"prizeResponse"
:{
"prizeResponse"
:{
"errorCode"
:
null
,
"errorCode"
:
null
,
"changeMoney"
:
90
,
"changeMoney"
:
1
90
,
"balanceAmount"
:
30
,
"balanceAmount"
:
30
,
"errorMsg"
:
null
,
"errorMsg"
:
null
,
"success"
:
true
"success"
:
true
...
...
mock/json/getPlugOrderStatus.json
View file @
ee03c4ea
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
"imgurl"
:
"//yun.duiba.com.cn/developer/img/activityTool/slotMachine/virtual.png"
,
"imgurl"
:
"//yun.duiba.com.cn/developer/img/activityTool/slotMachine/virtual.png"
,
"isAppHidden"
:
true
,
"isAppHidden"
:
true
,
"isDownloadUrl"
:
true
,
"isDownloadUrl"
:
true
,
"itemId"
:
59
236
,
"itemId"
:
59
521
,
"link"
:
"//activity.m.duibadev.com.cn/activity/takePrizeNew?recordId=30035037&dbnewopen"
,
"link"
:
"//activity.m.duibadev.com.cn/activity/takePrizeNew?recordId=30035037&dbnewopen"
,
"linkTo"
:
0
,
"linkTo"
:
0
,
"title"
:
"宝箱1"
,
"title"
:
"宝箱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