Commit c92f9f08 authored by wildfirecode's avatar wildfirecode

1

parent b8eeec7b
...@@ -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/1018/${itemid}.png`; this.data.img = `http://yun.duiba.com.cn/db_games/${window['imgver']}/${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));
......
...@@ -15,7 +15,7 @@ export default class BoxPanel extends Panel { ...@@ -15,7 +15,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/1018/${itemid}.png`; this.data.img = `http://yun.duiba.com.cn/db_games/${window['imgver']}/${itemid}.png`;
addAdComp(84,739.52,this) addAdComp(84,739.52,this)
} }
......
...@@ -18,7 +18,7 @@ export default class SignPrizePanel extends Panel { ...@@ -18,7 +18,7 @@ export default class SignPrizePanel extends Panel {
this['numsgroup'].visible=false; this['numsgroup'].visible=false;
} else { } else {
if(customInfo.itemId) if(customInfo.itemId)
this['img'].source = `http://yun.duiba.com.cn/db_games/1018/${customInfo.itemId}.png`; this['img'].source = `http://yun.duiba.com.cn/db_games/${window['imgver']}/${customInfo.itemId}.png`;
} }
this['nums'].text ='x'+ customInfo.prizeCount; this['nums'].text ='x'+ customInfo.prizeCount;
......
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