Commit c2f609fc authored by wildfirecode's avatar wildfirecode

1

parent 4b8b7515
...@@ -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));
......
...@@ -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));
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
], ],
"remainEnargy": 9979, "remainEnargy": 9979,
"askForEnergy": false, "askForEnergy": false,
"canReceiveTreasureBoxNum": 0, "canReceiveTreasureBoxNum": 10,
"nextRangeStarsNum": 150 "nextRangeStarsNum": 150
} }
} }
\ No newline at end of file
{ {
"success": false, "success": true,
"code": "0000000000", "code": "0000000000",
"desc": "OK", "desc": "OK",
"timestamp": 1566558623308, "timestamp": 1566558623308,
......
...@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment