|
@@ -5787,6 +5787,7 @@
|
|
|
this.addUIClick(this.ui.myNode.n_qiuGan, () => this.switchBtn("qiugan"));
|
|
|
this.addUIClick(this.ui.myNode.n_daoju, () => this.switchBtn("daoju"));
|
|
|
this.addUIClick(this.ui, this.interuptSecretary);
|
|
|
+ console.log('zh:this.renderBallRodthis.renderBallRodthis.renderBallRodthis.renderBallRod = ' + this.renderBallRod);
|
|
|
this.ui.myNode.myList.itemRenderer = Laya.Handler.create(this, this.renderBallRod, null, false);
|
|
|
this.ballRodArr = [];
|
|
|
this.itemNums = Object.keys(cfgTable.ballrodData).length;
|
|
@@ -6568,20 +6569,20 @@
|
|
|
onConstruct() {
|
|
|
this.n38 = (this.getChild("n38"));
|
|
|
this.n9 = (this.getChild("n9"));
|
|
|
- this.btn_reg = (this.getChild("btn_reg"));
|
|
|
this.n14 = (this.getChild("n14"));
|
|
|
this.n15 = (this.getChild("n15"));
|
|
|
this.n34 = (this.getChild("n34"));
|
|
|
- this.btn_gotoLogin = (this.getChild("btn_gotoLogin"));
|
|
|
this.closeBtn = (this.getChild("closeBtn"));
|
|
|
this.n39 = (this.getChild("n39"));
|
|
|
- this.n40 = (this.getChild("n40"));
|
|
|
+ this.lab_tip = (this.getChild("lab_tip"));
|
|
|
+ this.n43 = (this.getChild("n43"));
|
|
|
this.txt_ua = (this.getChild("txt_ua"));
|
|
|
- this.n41 = (this.getChild("n41"));
|
|
|
+ this.n44 = (this.getChild("n44"));
|
|
|
this.txt_up1 = (this.getChild("txt_up1"));
|
|
|
- this.n42 = (this.getChild("n42"));
|
|
|
+ this.n45 = (this.getChild("n45"));
|
|
|
this.txt_up2 = (this.getChild("txt_up2"));
|
|
|
- this.lab_tip = (this.getChild("lab_tip"));
|
|
|
+ this.btn_gotoLogin = (this.getChild("btn_gotoLogin"));
|
|
|
+ this.btn_reg = (this.getChild("btn_reg"));
|
|
|
}
|
|
|
}
|
|
|
ui_UIReg.URL = "ui://isxx5ak7bobav57v";
|
|
@@ -6591,19 +6592,19 @@
|
|
|
return (fgui.UIPackage.createObject("game", "UILogin"));
|
|
|
}
|
|
|
onConstruct() {
|
|
|
+ this.c1 = this.getController("c1");
|
|
|
this.n18 = (this.getChild("n18"));
|
|
|
this.n7 = (this.getChild("n7"));
|
|
|
- this.btn_login = (this.getChild("btn_login"));
|
|
|
this.n5 = (this.getChild("n5"));
|
|
|
this.n6 = (this.getChild("n6"));
|
|
|
- this.btn_gotoReg = (this.getChild("btn_gotoReg"));
|
|
|
- this.lab_tip = (this.getChild("lab_tip"));
|
|
|
this.closeBtn = (this.getChild("closeBtn"));
|
|
|
- this.n25 = (this.getChild("n25"));
|
|
|
- this.txt_ua = (this.getChild("txt_ua"));
|
|
|
- this.n27 = (this.getChild("n27"));
|
|
|
+ this.btn_gotoReg = (this.getChild("btn_gotoReg"));
|
|
|
+ this.btn_login = (this.getChild("btn_login"));
|
|
|
+ this.n30 = (this.getChild("n30"));
|
|
|
+ this.n31 = (this.getChild("n31"));
|
|
|
this.txt_up = (this.getChild("txt_up"));
|
|
|
- this.n29 = (this.getChild("n29"));
|
|
|
+ this.n32 = (this.getChild("n32"));
|
|
|
+ this.txt_ua = (this.getChild("txt_ua"));
|
|
|
}
|
|
|
}
|
|
|
ui_UILogin.URL = "ui://isxx5ak7bobav57u";
|
|
@@ -6629,7 +6630,6 @@
|
|
|
this.hide();
|
|
|
}
|
|
|
userLogin() {
|
|
|
- this.ui.lab_tip.visible = false;
|
|
|
let ua = this.ui.txt_ua.text;
|
|
|
let up = this.ui.txt_up.text;
|
|
|
if (ua && up) {
|
|
@@ -6641,11 +6641,9 @@
|
|
|
});
|
|
|
xGame.httpMgr.sendPost2025('loginForApp', reqData, (res) => {
|
|
|
try {
|
|
|
- this.ui.lab_tip.visible = true;
|
|
|
console.log('zh:res = ' + JSON.stringify(res));
|
|
|
let code = res.code;
|
|
|
let msg = res.msg;
|
|
|
- this.ui.lab_tip.text = msg;
|
|
|
xGame.uiMgr.Show(UIMsg, msg);
|
|
|
if (code == 200) {
|
|
|
let keyStr = 'userInfo';
|
|
@@ -6654,10 +6652,8 @@
|
|
|
"token": res.token
|
|
|
};
|
|
|
LocalStorageManager.setItem(keyStr, jsonStr);
|
|
|
- this.ui.lab_tip.color = "#FFFFFF";
|
|
|
}
|
|
|
else {
|
|
|
- this.ui.lab_tip.color = "#FF0000";
|
|
|
}
|
|
|
}
|
|
|
catch (error) {
|
|
@@ -6705,7 +6701,6 @@
|
|
|
let up1 = this.ui.txt_up1.text;
|
|
|
let up2 = this.ui.txt_up2.text;
|
|
|
if (ua && up1 && up2 && up1 == up2) {
|
|
|
- this.ui.closeBtn.visible = false;
|
|
|
xGame.uiMgr.Show(UIMsg, "Request in progress..");
|
|
|
let reqData = JSON.stringify({
|
|
|
username: ua.trim(),
|
|
@@ -12509,7 +12504,7 @@
|
|
|
}
|
|
|
onConstruct() {
|
|
|
this.button = this.getController("button");
|
|
|
- this.n5 = (this.getChild("n5"));
|
|
|
+ this.n6 = (this.getChild("n6"));
|
|
|
this.n4 = (this.getChild("n4"));
|
|
|
}
|
|
|
}
|
|
@@ -13157,9 +13152,9 @@
|
|
|
this.n23 = (this.getChild("n23"));
|
|
|
this.n41 = (this.getChild("n41"));
|
|
|
this.myList = (this.getChild("myList"));
|
|
|
- this.djList = (this.getChild("djList"));
|
|
|
this.n_qiuGan = (this.getChild("n_qiuGan"));
|
|
|
this.n_daoju = (this.getChild("n_daoju"));
|
|
|
+ this.djList = (this.getChild("djList"));
|
|
|
this.t0 = this.getTransition("t0");
|
|
|
}
|
|
|
}
|
|
@@ -14503,40 +14498,18 @@
|
|
|
}
|
|
|
ui_dh_zy_wanfa.URL = "ui://isxx5ak7n43d3vp";
|
|
|
|
|
|
- class ui_Component_daoju_list extends fgui.GComponent {
|
|
|
- static createInstance() {
|
|
|
- return (fgui.UIPackage.createObject("game", "Component_daoju_list"));
|
|
|
- }
|
|
|
- onConstruct() {
|
|
|
- this.myList_daoju = (this.getChild("myList_daoju"));
|
|
|
- }
|
|
|
- }
|
|
|
- ui_Component_daoju_list.URL = "ui://isxx5ak7nmu9v57t";
|
|
|
-
|
|
|
class ui_Button_login extends fgui.GButton {
|
|
|
static createInstance() {
|
|
|
return (fgui.UIPackage.createObject("game", "Button_login"));
|
|
|
}
|
|
|
onConstruct() {
|
|
|
this.button = this.getController("button");
|
|
|
- this.n4 = (this.getChild("n4"));
|
|
|
+ this.n5 = (this.getChild("n5"));
|
|
|
this.n3 = (this.getChild("n3"));
|
|
|
}
|
|
|
}
|
|
|
ui_Button_login.URL = "ui://isxx5ak7nnz5v587";
|
|
|
|
|
|
- class ui_Component_goto extends fgui.GButton {
|
|
|
- static createInstance() {
|
|
|
- return (fgui.UIPackage.createObject("game", "Component_goto"));
|
|
|
- }
|
|
|
- onConstruct() {
|
|
|
- this.c1 = this.getController("c1");
|
|
|
- this.n0 = (this.getChild("n0"));
|
|
|
- this.n_goto = (this.getChild("n_goto"));
|
|
|
- }
|
|
|
- }
|
|
|
- ui_Component_goto.URL = "ui://isxx5ak7nnz5v589";
|
|
|
-
|
|
|
class ui_Component53_1 extends fgui.GComponent {
|
|
|
static createInstance() {
|
|
|
return (fgui.UIPackage.createObject("game", "Component53_1"));
|
|
@@ -15145,16 +15118,16 @@
|
|
|
}
|
|
|
ui_Component119.URL = "ui://isxx5ak7u8eiv4i3";
|
|
|
|
|
|
- class ui_Component_daoju_item extends fgui.GComponent {
|
|
|
+ class ui_daoJuDisplay extends fgui.GComponent {
|
|
|
static createInstance() {
|
|
|
- return (fgui.UIPackage.createObject("game", "Component_daoju_item"));
|
|
|
+ return (fgui.UIPackage.createObject("game", "daoJuDisplay"));
|
|
|
}
|
|
|
onConstruct() {
|
|
|
this.n1 = (this.getChild("n1"));
|
|
|
this.n0 = (this.getChild("n0"));
|
|
|
}
|
|
|
}
|
|
|
- ui_Component_daoju_item.URL = "ui://isxx5ak7uel8v58m";
|
|
|
+ ui_daoJuDisplay.URL = "ui://isxx5ak7uel8v58m";
|
|
|
|
|
|
class ui_Component132_1 extends fgui.GComponent {
|
|
|
static createInstance() {
|
|
@@ -16039,9 +16012,7 @@
|
|
|
fgui.UIObjectFactory.setExtension(ui_dh_zy_sc_guang.URL, ui_dh_zy_sc_guang);
|
|
|
fgui.UIObjectFactory.setExtension(ui_dh_zy_shangcheng.URL, ui_dh_zy_shangcheng);
|
|
|
fgui.UIObjectFactory.setExtension(ui_dh_zy_wanfa.URL, ui_dh_zy_wanfa);
|
|
|
- fgui.UIObjectFactory.setExtension(ui_Component_daoju_list.URL, ui_Component_daoju_list);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Button_login.URL, ui_Button_login);
|
|
|
- fgui.UIObjectFactory.setExtension(ui_Component_goto.URL, ui_Component_goto);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Component53_1.URL, ui_Component53_1);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Component30.URL, ui_Component30);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Component30_1.URL, ui_Component30_1);
|
|
@@ -16088,7 +16059,7 @@
|
|
|
fgui.UIObjectFactory.setExtension(ui_againBtn.URL, ui_againBtn);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Component118.URL, ui_Component118);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Component119.URL, ui_Component119);
|
|
|
- fgui.UIObjectFactory.setExtension(ui_Component_daoju_item.URL, ui_Component_daoju_item);
|
|
|
+ fgui.UIObjectFactory.setExtension(ui_daoJuDisplay.URL, ui_daoJuDisplay);
|
|
|
fgui.UIObjectFactory.setExtension(ui_Component132_1.URL, ui_Component132_1);
|
|
|
fgui.UIObjectFactory.setExtension(ui_SecretaryDisplay.URL, ui_SecretaryDisplay);
|
|
|
fgui.UIObjectFactory.setExtension(ui_BallRodDisplay.URL, ui_BallRodDisplay);
|
|
@@ -22165,6 +22136,7 @@
|
|
|
this.addUIClick(this.ui.myNode.n_qiuGan, () => this.switchBtn("qiugan"));
|
|
|
this.addUIClick(this.ui.myNode.n_daoju, () => this.switchBtn("daoju"));
|
|
|
this.addUIClick(this.ui, this.interuptSecretary);
|
|
|
+ console.log('zh:this.renderBallRodthis.renderBallRodthis.renderBallRodthis.renderBallRod = ' + this.renderBallRod);
|
|
|
this.ui.myNode.myList.itemRenderer = Laya.Handler.create(this, this.renderBallRod, null, false);
|
|
|
this.ballRodArr = [];
|
|
|
this.itemNums = Object.keys(cfgTable.ballrodData).length;
|
|
@@ -22605,7 +22577,6 @@
|
|
|
this.hide();
|
|
|
}
|
|
|
userLogin() {
|
|
|
- this.ui.lab_tip.visible = false;
|
|
|
let ua = this.ui.txt_ua.text;
|
|
|
let up = this.ui.txt_up.text;
|
|
|
if (ua && up) {
|
|
@@ -22617,11 +22588,9 @@
|
|
|
});
|
|
|
xGame.httpMgr.sendPost2025('loginForApp', reqData, (res) => {
|
|
|
try {
|
|
|
- this.ui.lab_tip.visible = true;
|
|
|
console.log('zh:res = ' + JSON.stringify(res));
|
|
|
let code = res.code;
|
|
|
let msg = res.msg;
|
|
|
- this.ui.lab_tip.text = msg;
|
|
|
xGame.uiMgr.Show(UIMsg$1, msg);
|
|
|
if (code == 200) {
|
|
|
let keyStr = 'userInfo';
|
|
@@ -22630,10 +22599,8 @@
|
|
|
"token": res.token
|
|
|
};
|
|
|
LocalStorageManager.setItem(keyStr, jsonStr);
|
|
|
- this.ui.lab_tip.color = "#FFFFFF";
|
|
|
}
|
|
|
else {
|
|
|
- this.ui.lab_tip.color = "#FF0000";
|
|
|
}
|
|
|
}
|
|
|
catch (error) {
|
|
@@ -22681,7 +22648,6 @@
|
|
|
let up1 = this.ui.txt_up1.text;
|
|
|
let up2 = this.ui.txt_up2.text;
|
|
|
if (ua && up1 && up2 && up1 == up2) {
|
|
|
- this.ui.closeBtn.visible = false;
|
|
|
xGame.uiMgr.Show(UIMsg$1, "Request in progress..");
|
|
|
let reqData = JSON.stringify({
|
|
|
username: ua.trim(),
|