Commit 1617d9b9 authored by wildfirecode's avatar wildfirecode

Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev

parents 1f3044ae 814d3f13
...@@ -20,5 +20,4 @@ ...@@ -20,5 +20,4 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Component y="726.33" skinName="ADSmallSkin" horizontalCenter="0"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -28,5 +28,5 @@ ...@@ -28,5 +28,5 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Component y="845.33" skinName="ADSmallSkin" horizontalCenter="0"/> <e:Component skinName="ADSmallSkin" horizontalCenter="0"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -4,6 +4,7 @@ import PanelCtrl from "../../libs/new_wx/ctrls/panelCtrl"; ...@@ -4,6 +4,7 @@ import PanelCtrl from "../../libs/new_wx/ctrls/panelCtrl";
import getHomeData from "../getHomeData"; import getHomeData from "../getHomeData";
import { ModuleTypes } from "../../libs/new_wx/types/sceneTypes"; import { ModuleTypes } from "../../libs/new_wx/types/sceneTypes";
import Utils from "../Utils"; import Utils from "../Utils";
import { addAdComp } from "./BoxPanel";
/** /**
* 邀请规则面板 * 邀请规则面板
...@@ -40,7 +41,7 @@ export default class InviteCutTimePanel extends Panel { ...@@ -40,7 +41,7 @@ export default class InviteCutTimePanel extends Panel {
} }
onTouchOK() { onTouchOK() {
if((getHomeData().levels.length + 1)>window['last_level']){ if((getHomeData().levels.length + 1) > window['last_level']) {
changeMapScene(); changeMapScene();
super.hidePanel(); super.hidePanel();
return; return;
...@@ -56,6 +57,7 @@ export default class InviteCutTimePanel extends Panel { ...@@ -56,6 +57,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, 726.33, this);
} }
private cutTimer() { private cutTimer() {
......
...@@ -2,6 +2,7 @@ import Panel from "../../libs/new_wx/components/Panel"; ...@@ -2,6 +2,7 @@ import Panel from "../../libs/new_wx/components/Panel";
import PanelCtrl from "../../libs/new_wx/ctrls/panelCtrl"; import PanelCtrl from "../../libs/new_wx/ctrls/panelCtrl";
import getHomeData from "../getHomeData"; import getHomeData from "../getHomeData";
import { changeMapScene } from "../startScene/StartScene"; import { changeMapScene } from "../startScene/StartScene";
import { addAdComp } from "./BoxPanel";
/** /**
* 邀请规则面板 * 邀请规则面板
...@@ -38,7 +39,7 @@ export default class InvitePrizePanel extends Panel { ...@@ -38,7 +39,7 @@ export default class InvitePrizePanel extends Panel {
} }
onTouchOK() { onTouchOK() {
if((getHomeData().levels.length + 1)>window['last_level']){ if((getHomeData().levels.length + 1) > window['last_level']) {
changeMapScene(); changeMapScene();
super.hidePanel(); super.hidePanel();
return; return;
...@@ -52,6 +53,7 @@ export default class InvitePrizePanel extends Panel { ...@@ -52,6 +53,7 @@ export default class InvitePrizePanel extends Panel {
initUI() { initUI() {
this.prizeImg.source = this.data.prizeImg; this.prizeImg.source = this.data.prizeImg;
addAdComp(84, 845.33, this);
} }
protected get closeBtns(): eui.Button[] { protected get closeBtns(): eui.Button[] {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"avatar": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg" "avatar": "http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg"
} }
], ],
"completeFlag": 0, "completeFlag": 1,
"openPrizeMsg": "图片", "openPrizeMsg": "图片",
"prizeType": "nickname", "prizeType": "nickname",
"prizeName": "nickname", "prizeName": "nickname",
......
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