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