var CLASS$=Laya.class;
var STATICATTR$=Laya.static;
var View=laya.ui.View;
var Dialog=laya.ui.Dialog;
var ABCPanelUI=(function(_super){
function ABCPanelUI(){
ABCPanelUI.__super.call(this);
}
CLASS$(ABCPanelUI,'ui.abc.ABCPanelUI',_super);
var __proto__=ABCPanelUI.prototype;
__proto__.createChildren=function(){
3 个回复
佟掌柜
赞同来自:
var CLASS$=Laya.class;
var STATICATTR$=Laya.static;
var View=laya.ui.View;
var Dialog=laya.ui.Dialog;
var ABCPanelUI=(function(_super){
function ABCPanelUI(){
ABCPanelUI.__super.call(this);
}
CLASS$(ABCPanelUI,'ui.abc.ABCPanelUI',_super);
var __proto__=ABCPanelUI.prototype;
__proto__.createChildren=function(){
laya.ui.Component.prototype.createChildren.call(this);
this.createView(ABCPanelUI.uiView);
}
STATICATTR$(ABCPanelUI,
['uiView',function(){return this.uiView={"type":"View","props":{"width":600,"height":400}};}
]);
return ABCPanelUI;
})(View);
var TestPageUI=(function(_super){
function TestPageUI(){
TestPageUI.__super.call(this);
}
CLASS$(TestPageUI,'ui.test.TestPageUI',_super);
var __proto__=TestPageUI.prototype;
__proto__.createChildren=function(){
laya.ui.Component.prototype.createChildren.call(this);
this.createView(TestPageUI.uiView);
}
STATICATTR$(TestPageUI,
['uiView',function(){return this.uiView={"type":"View","props":{"width":600,"height":400}};}
]);
return TestPageUI;
})(View);
发布出来的只有2个? 是我的使用方式不对?
gplzh
赞同来自:
我的也是,命名有好几个页面,但是按F12发布之后只有一个UI类
Laya_XS
赞同来自: