Commit d6c47c6e authored by wildfirecode's avatar wildfirecode

1

parent ea87f682
...@@ -11,7 +11,7 @@ export default class Box2Panel extends Panel { ...@@ -11,7 +11,7 @@ export default class Box2Panel 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;
addAdComp(84,921.52,this,27) addAdComp(68,921.52,this,27)
} }
showlog() { showlog() {
NetManager.ins.showLog(getlogItem(27)); NetManager.ins.showLog(getlogItem(27));
......
...@@ -69,7 +69,7 @@ export default class InviteCutTimePanel extends Panel { ...@@ -69,7 +69,7 @@ export default class InviteCutTimePanel extends Panel {
this.timer.addEventListener(egret.TimerEvent.TIMER, this.cutTimer, this); this.timer.addEventListener(egret.TimerEvent.TIMER, this.cutTimer, this);
this.timer.start(); this.timer.start();
this.cutTimer(); this.cutTimer();
addAdComp(84, 695, this,38); addAdComp(68, 695, this,38);
} }
private cutTimer() { private cutTimer() {
......
...@@ -66,7 +66,7 @@ export default class InvitePrizePanel extends Panel { ...@@ -66,7 +66,7 @@ export default class InvitePrizePanel extends Panel {
initUI() { initUI() {
this.prizeImg.source = this.data.prizeImg; this.prizeImg.source = this.data.prizeImg;
addAdComp(84, 910, this,38); addAdComp(68, 910, this,38);
} }
protected get closeBtns(): eui.Button[] { protected get closeBtns(): eui.Button[] {
......
...@@ -72,7 +72,7 @@ export default class ScratchPrizePanel extends Panel { ...@@ -72,7 +72,7 @@ export default class ScratchPrizePanel extends Panel {
initUI() { initUI() {
this.prizeImg.source = this.data.prizeImage; this.prizeImg.source = this.data.prizeImage;
addAdComp(84, 891, this,54); addAdComp(68, 891, this,54);
} }
protected get closeBtns(): eui.Button[] { protected get closeBtns(): eui.Button[] {
......
...@@ -36,7 +36,7 @@ export default class SignPrizePanel extends Panel { ...@@ -36,7 +36,7 @@ export default class SignPrizePanel extends Panel {
// if(prizeType=='coin') { // if(prizeType=='coin') {
// this['numsgroup'].visible=false; // this['numsgroup'].visible=false;
// } // }
addAdComp(84,779.37,this,24); addAdComp(68,779.37,this,24);
this.showlog(); this.showlog();
} }
......
...@@ -45,7 +45,7 @@ export default class StartPanel extends Panel { ...@@ -45,7 +45,7 @@ export default class StartPanel extends Panel {
} }
if(data > homedata.levels.length) { if(data > homedata.levels.length) {
addAdComp(72, 890, this, 29); addAdComp(68, 890, this, 29);
NetManager.ins.showLog(getlogItem(29)); NetManager.ins.showLog(getlogItem(29));
} else } else
addRankFriendList(72, 890, this, data); addRankFriendList(72, 890, this, data);
......
...@@ -67,7 +67,7 @@ export default class TaskCenterNoPrize extends Panel { ...@@ -67,7 +67,7 @@ export default class TaskCenterNoPrize extends Panel {
break; break;
} }
addAdComp(84, 867.5, this); addAdComp(68, 867.5, this);
} }
onTouchTap_closeBtn() { onTouchTap_closeBtn() {
......
...@@ -48,7 +48,7 @@ export default class TaskCenterPrize extends Panel { ...@@ -48,7 +48,7 @@ export default class TaskCenterPrize extends Panel {
}, this); }, this);
// 埋点 // 埋点
addAdComp(84, 830, this); addAdComp(68, 830, this);
} }
updateOption(option: any) { updateOption(option: any) {
......
...@@ -13,7 +13,7 @@ export default class TurntableNoPrizePanel extends Panel { ...@@ -13,7 +13,7 @@ export default class TurntableNoPrizePanel extends Panel {
super.start(); super.start();
this.showlog(); this.showlog();
this.data = data; this.data = data;
addAdComp(84,707, this,48); addAdComp(68,707, this,48);
if (this['tips' + data.type]) if (this['tips' + data.type])
this['tips' + data.type].visible = true; this['tips' + data.type].visible = true;
NetManager.ins.hc_turnableBaseInfo((success, res) => { NetManager.ins.hc_turnableBaseInfo((success, res) => {
......
...@@ -61,7 +61,7 @@ export default class TurnPrize2Panel extends Panel { ...@@ -61,7 +61,7 @@ export default class TurnPrize2Panel extends Panel {
}, 500); }, 500);
this['light1'].visible = this['light2'].visible = false; this['light1'].visible = this['light2'].visible = false;
addAdComp(84, 862, this,48); addAdComp(68, 862, this,48);
data.mv.gotoAndPlay(10, true); data.mv.gotoAndPlay(10, true);
data.mv.once(egret.Event.COMPLETE, () => { data.mv.once(egret.Event.COMPLETE, () => {
// data.mv.stop(1); // data.mv.stop(1);
......
...@@ -14,7 +14,7 @@ export default class TurnPrizePanel extends Panel { ...@@ -14,7 +14,7 @@ export default class TurnPrizePanel extends Panel {
this['light1'].visible = this['light2'].visible = false; this['light1'].visible = this['light2'].visible = false;
addAdComp(84, 862, this,48); addAdComp(68, 862, this,48);
data.mv.gotoAndPlay(10, true) data.mv.gotoAndPlay(10, true)
data.mv.once(egret.Event.COMPLETE, () => { data.mv.once(egret.Event.COMPLETE, () => {
data.mv.stop(1); data.mv.stop(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