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
c2f609fc
Commit
c2f609fc
authored
Aug 27, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4b8b7515
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
6 deletions
+10
-6
PrizePanel.ts
egret/libs/new_wx/components/PrizePanel.ts
+3
-2
BoxPanel.ts
egret/src/panels/BoxPanel.ts
+4
-1
home.json
mock/happyclear/home.json
+1
-1
openTreasureBox.json
mock/happyclear/openTreasureBox.json
+1
-1
getPlugOrderStatus.json
mock/json/getPlugOrderStatus.json
+1
-1
No files found.
egret/libs/new_wx/components/PrizePanel.ts
View file @
c2f609fc
...
@@ -18,8 +18,9 @@ export default class PrizePanel extends Panel {
...
@@ -18,8 +18,9 @@ export default class PrizePanel extends Panel {
// showCustomLog(lottery);
// showCustomLog(lottery);
this
.
_level
=
parseInt
(
data
.
level
+
''
);
this
.
_level
=
parseInt
(
data
.
level
+
''
);
const
itemid
=
DataManager
.
ins
.
getData
(
'getPlugOrderStatus'
).
lottery
.
itemId
;
this
.
data
.
img
=
DataManager
.
ins
.
getData
(
'getPlugOrderStatus'
).
lottery
.
imgurl
;
this
.
data
.
img
=
`http://yun.duiba.com.cn/db_games/0827/
${
itemid
}
.png`
;
// this.data.img = DataManager.ins.getData('getPlugOrderStatus').lottery.imgurl;
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/src/panels/BoxPanel.ts
View file @
c2f609fc
...
@@ -11,7 +11,10 @@ export default class BoxPanel extends Panel {
...
@@ -11,7 +11,10 @@ export default class BoxPanel extends Panel {
},
this
);
},
this
);
this
.
showlog
();
this
.
showlog
();
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
;
this
.
data
.
img
=
`http://yun.duiba.com.cn/db_games/0827/
${
itemid
}
.png`
;
}
}
showlog
()
{
showlog
()
{
NetManager
.
ins
.
showLog
(
getlogItem
(
17
));
NetManager
.
ins
.
showLog
(
getlogItem
(
17
));
...
...
mock/happyclear/home.json
View file @
c2f609fc
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
],
],
"remainEnargy"
:
9979
,
"remainEnargy"
:
9979
,
"askForEnergy"
:
false
,
"askForEnergy"
:
false
,
"canReceiveTreasureBoxNum"
:
0
,
"canReceiveTreasureBoxNum"
:
1
0
,
"nextRangeStarsNum"
:
150
"nextRangeStarsNum"
:
150
}
}
}
}
\ No newline at end of file
mock/happyclear/openTreasureBox.json
View file @
c2f609fc
{
{
"success"
:
fals
e
,
"success"
:
tru
e
,
"code"
:
"0000000000"
,
"code"
:
"0000000000"
,
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"timestamp"
:
1566558623308
,
"timestamp"
:
1566558623308
,
...
...
mock/json/getPlugOrderStatus.json
View file @
c2f609fc
...
@@ -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"
:
49440
,
"itemId"
:
59236
,
"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