Commit 7b41d090 authored by wildfirecode13's avatar wildfirecode13

u

parent 29d6cf5b
......@@ -17,7 +17,7 @@ export class getTimesPanel extends Panel {
super.initUi();
var skin = RES.getSkinDataByName(this.skinName);
this.position.set(skin.x, skin.y);
centerTextField(getObject(this,'cost_tips'),496);
// centerTextField(getObject(this,'cost_tips'),496);
}
initEvents() {
......@@ -30,6 +30,6 @@ export class getTimesPanel extends Panel {
}
protected get closeBtns(): any[] {
return [getObject(this,'cost_close')]
return [getObject(this,'getTimes_close')]
}
}
......@@ -10,14 +10,14 @@ export class memberGuidePanel extends Panel {
console.log('share_share_go');
}
get groupNames() { return ["cost"] }
get skinName() { return "cost" }
get groupNames() { return ["memberGuide"] }
get skinName() { return "memberGuide" }
initUi() {
super.initUi();
var skin = RES.getSkinDataByName(this.skinName);
this.position.set(skin.x, skin.y);
centerTextField(getObject(this,'cost_tips'),496);
// centerTextField(getObject(this,'cost_tips'),496);
}
initEvents() {
......@@ -30,6 +30,6 @@ export class memberGuidePanel extends Panel {
}
protected get closeBtns(): any[] {
return [getObject(this,'cost_close')]
return [getObject(this,'memberGuide_close')]
}
}
......@@ -9,7 +9,7 @@ let section;
export class SharePanel extends Panel {
share_share_go(){
console.log('share_share_go');
console.log('share');
}
get groupNames() { return ["share"] }
get skinName() { return "share" }
......
......@@ -7,17 +7,17 @@ let section;
export class timesNotEnoughPanel extends Panel {
share_share_go(){
console.log('share_share_go');
console.log('timesNotEnough');
}
get groupNames() { return ["cost"] }
get skinName() { return "cost" }
get groupNames() { return ["timesNotEnough"] }
get skinName() { return "timesNotEnough" }
initUi() {
super.initUi();
var skin = RES.getSkinDataByName(this.skinName);
this.position.set(skin.x, skin.y);
centerTextField(getObject(this,'cost_tips'),496);
// centerTextField(getObject(this,'cost_tips'),496);
}
initEvents() {
......@@ -30,6 +30,6 @@ export class timesNotEnoughPanel extends Panel {
}
protected get closeBtns(): any[] {
return [getObject(this,'cost_close')]
return [getObject(this,'timesNotEnough_close')]
}
}
......@@ -3,10 +3,13 @@ import { RES } from "../../module/RES";
import { Scene } from "../../module/views/Scene";
import getObject from "../common/getObject";
import { CostPanel } from "../panels/cost";
import { getTimesPanel } from "../panels/getTimes";
import { memberGuidePanel } from "../panels/memberGuide";
import { NoPrizePanel } from "../panels/noprize";
import { notEnoughMoneyPanel } from "../panels/notEnoughMoney";
import { PrizePanel } from "../panels/prize";
import { SharePanel } from "../panels/share";
import { timesNotEnoughPanel } from "../panels/timesNotEnough";
import { RulePanel } from "../template/RulePanel";
import { Box } from "./Box";
import { BoxGroup } from "./BoxGroup";
......@@ -27,7 +30,7 @@ export class IndexScene extends Scene {
start() {
super.start();
showPanel(notEnoughMoneyPanel);
showPanel(SharePanel);
getObject(this,'index_sharetips').visible=false;
this.initContainer();
this.initmask();
......
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