消消方块阵换皮表情
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

55 lines
2.0 KiB

//*********************
// create by 流云
// 插件自动生成的节点脚本
// 请勿修改(自动生成会覆盖)
// 请通过子类继承使用
//*********************
import { _decorator, Component, Node, find, Sprite, Label, Button, ScrollView, EditBox } from 'cc';
import { UIBase } from '../../../mx/module/ui/UIBase';
const { ccclass } = _decorator;
@ccclass('Auto_PanelComplain')
export class Auto_PanelComplain extends UIBase {
btnClose:Node;
img_selectIcon:Sprite;
btnSubmit:Node;
s1:Node;
s2:Node;
s3:Node;
s4:Node;
ui_ebDesc:Node;
onLoad(){
super.onLoad();
this.btnClose = find("center/btnClose",this.node);
this.img_selectIcon = find("center/img_selectIcon",this.node)?.getComponent(Sprite);
this.btnSubmit = find("center/btnSubmit",this.node);
this.s1 = find("center/s1",this.node);
this.s2 = find("center/s2",this.node);
this.s3 = find("center/s3",this.node);
this.s4 = find("center/s4",this.node);
this.ui_ebDesc = find("center/ui_ebDesc",this.node);
}
onEnable() {
this.btnClose.on(Node.EventType.TOUCH_END, this.click_btnClose, this);
this.btnSubmit.on(Node.EventType.TOUCH_END, this.click_btnSubmit, this);
this.s1.on(Node.EventType.TOUCH_END, this.click_s1, this);
this.s2.on(Node.EventType.TOUCH_END, this.click_s2, this);
this.s3.on(Node.EventType.TOUCH_END, this.click_s3, this);
this.s4.on(Node.EventType.TOUCH_END, this.click_s4, this);
}
onDisable() {
this.btnClose.off(Node.EventType.TOUCH_END, this.click_btnClose, this);
this.btnSubmit.off(Node.EventType.TOUCH_END, this.click_btnSubmit, this);
this.s1.off(Node.EventType.TOUCH_END, this.click_s1, this);
this.s2.off(Node.EventType.TOUCH_END, this.click_s2, this);
this.s3.off(Node.EventType.TOUCH_END, this.click_s3, this);
this.s4.off(Node.EventType.TOUCH_END, this.click_s4, this);
}
click_btnClose() {}
click_btnSubmit() {}
click_s1() {}
click_s2() {}
click_s3() {}
click_s4() {}
}