const { ccclass } = cc._decorator; @ccclass export default class auto_signView extends cc.Component { signView: cc.Node; mask: cc.Node; bg: cc.Node; close: cc.Node; allNode: cc.Node; singleNode1: cc.Node; itme1: cc.Node; day1: cc.Node; jiaobiao_y: cc.Node; jiaobiao: cc.Node; singleNode2: cc.Node; item2: cc.Node; day2: cc.Node; singleNode3: cc.Node; item3: cc.Node; day3: cc.Node; singleNode4: cc.Node; item4: cc.Node; day4: cc.Node; singleNode5: cc.Node; item5: cc.Node; day5: cc.Node; singleNode6: cc.Node; item6: cc.Node; day6: cc.Node; singleNode7: cc.Node; item7: cc.Node; day7: cc.Node; done: cc.Node; all_comp: cc.Node; public static URL:string = "db://assets/resources/prefab/Interface/signView.prefab" onLoad () { this.signView = this.node this.mask = this.signView.getChildByName("mask"); this.bg = this.signView.getChildByName("bg"); this.done = this.signView.getChildByName("done"); this.close = this.bg.getChildByName("close"); this.allNode = this.bg.getChildByName("allNode"); this.all_comp = this.allNode.getChildByName("all_comp"); this.singleNode1 = this.bg.getChildByName("singleNode1"); this.itme1 = this.singleNode1.getChildByName("itme1"); this.day1 = this.singleNode1.getChildByName("day1"); this.jiaobiao_y = this.singleNode1.getChildByName("jiaobiao_y"); this.jiaobiao = this.singleNode1.getChildByName("jiaobiao"); this.singleNode2 = this.bg.getChildByName("singleNode2"); this.item2 = this.singleNode2.getChildByName("item2"); this.day2 = this.singleNode2.getChildByName("day2"); this.singleNode3 = this.bg.getChildByName("singleNode3"); this.item3 = this.singleNode3.getChildByName("item3"); this.day3 = this.singleNode3.getChildByName("day3"); this.singleNode4 = this.bg.getChildByName("singleNode4"); this.item4 = this.singleNode4.getChildByName("item4"); this.day4 = this.singleNode4.getChildByName("day4"); this.singleNode5 = this.bg.getChildByName("singleNode5"); this.item5 = this.singleNode5.getChildByName("item5"); this.day5 = this.singleNode5.getChildByName("day5"); this.singleNode6 = this.bg.getChildByName("singleNode6"); this.item6 = this.singleNode6.getChildByName("item6"); this.day6 = this.singleNode6.getChildByName("day6"); this.singleNode7 = this.bg.getChildByName("singleNode7"); this.item7 = this.singleNode7.getChildByName("item7"); this.day7 = this.singleNode7.getChildByName("day7"); } }