xx před 1 rokem
rodič
revize
8e9ac9249e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      web-desktop/assets/main/index.js

+ 1 - 1
web-desktop/assets/main/index.js

@@ -150,7 +150,7 @@ System.register("chunks:///_virtual/http.ts",["cc"],(function(e){var t,n;return{
 
 System.register("chunks:///_virtual/img_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./clientEvent.ts","./base_res.ts"],(function(e){var t,i,n,r,o,a,s,c,l,u,p,g;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,s=e.Node,c=e.Label,l=e.Sprite},function(e){u=e.config},function(e){p=e.ClientEvent},function(e){g=e.base_res}],execute:function(){var m,f,h,_,b,v,y;o._RF.push({},"03aeePlEPZBlLCGigQHbnuB","img_item",void 0);var d=a.ccclass,D=a.property;e("img_item",(m=d("img_item"),f=D(s),h=D(s),m((v=t((b=function(e){function t(){for(var t,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,n(t,"img_icon",v,r(t)),n(t,"lab_name",y,r(t)),t}i(t,e);var o=t.prototype;return o.initView=function(e,t,i,n){this.setData(t),this.setType(e),this.lab_name.getComponent(c).string=i,this.img_icon.getComponent(l).spriteFrame=n,this.node.on(s.EventType.MOUSE_DOWN,this.onDragRes.bind(this),this)},o.onDragRes=function(){p.dispatchEvent(u.Event.DragRes,this.node)},t}(g)).prototype,"img_icon",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(b.prototype,"lab_name",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=b))||_));o._RF.pop()}}}));
 
-System.register("chunks:///_virtual/interact_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./scene_page.ts"],(function(e){var t,n,i,r,c,a,o,s,l,u,p,h,f;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){c=e.cclegacy,a=e._decorator,o=e.Prefab,s=e.Node,l=e.instantiate,u=e.Widget},function(e){p=e.ui_base},function(e){h=e.tools},function(e){f=e.scene_page}],execute:function(){var g,_,d,b,m,v,y;c._RF.push({},"d840a7I6OFPrZ66TCHuI9I+","interact_scene",void 0);var P=a.ccclass,I=a.property;e("interact_scene",(g=P("interact_scene"),_=I(o),d=I(s),g((v=t((m=function(e){function t(){for(var t,n=arguments.length,c=new Array(n),a=0;a<n;a++)c[a]=arguments[a];return t=e.call.apply(e,[this].concat(c))||this,i(t,"scenePagePrefab",v,r(t)),i(t,"content",y,r(t)),t.mInteractScene=void 0,t}n(t,e);var c=t.prototype;return c.init=function(){if(this.mInteractScene=this.mTopData._interact_scene_data,null===this.mInteractScene||this.mInteractScene.scene.page_list.length<=0)return h.showToast("错误的配置子场景");this.loadChildScene()},c.loadChildScene=function(){if(this.content.children.length>0){this.content.removeAllChildren();var e=this.mInteractScene.scene.page_list[0],t=l(this.scenePagePrefab);t.parent=this.content,t.getComponent(u).target=this.content,t.getComponent(f).initView(e)}},t}(p)).prototype,"scenePagePrefab",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(m.prototype,"content",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=m))||b));c._RF.pop()}}}));
+System.register("chunks:///_virtual/interact_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./scene_page.ts"],(function(e){var t,n,i,r,c,a,o,s,l,u,p,f,h;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){c=e.cclegacy,a=e._decorator,o=e.Prefab,s=e.Node,l=e.instantiate,u=e.Widget},function(e){p=e.ui_base},function(e){f=e.tools},function(e){h=e.scene_page}],execute:function(){var g,_,d,b,m,v,y;c._RF.push({},"d840a7I6OFPrZ66TCHuI9I+","interact_scene",void 0);var P=a.ccclass,I=a.property;e("interact_scene",(g=P("interact_scene"),_=I(o),d=I(s),g((v=t((m=function(e){function t(){for(var t,n=arguments.length,c=new Array(n),a=0;a<n;a++)c[a]=arguments[a];return t=e.call.apply(e,[this].concat(c))||this,i(t,"scenePagePrefab",v,r(t)),i(t,"content",y,r(t)),t.mInteractScene=void 0,t}n(t,e);var c=t.prototype;return c.init=function(){if(this.mInteractScene=this.mTopData._interact_scene_data,null===this.mInteractScene||this.mInteractScene.scene.page_list.length<=0)return f.showToast("错误的配置子场景");this.loadChildScene()},c.loadChildScene=function(){this.content.removeAllChildren();var e=this.mInteractScene.scene.page_list[0],t=l(this.scenePagePrefab);t.parent=this.content,t.getComponent(u).target=this.content,t.getComponent(h).initView(e)},t}(p)).prototype,"scenePagePrefab",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(m.prototype,"content",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=m))||b));c._RF.pop()}}}));
 
 System.register("chunks:///_virtual/level_list_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,i,n,r,l,a,o,s,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,a=e._decorator,o=e.Node,s=e.Label,c=e.Component}],execute:function(){var u,p,_,m,f;l._RF.push({},"55881fUW49Mxaz9sgpYpOHA","level_list_item",void 0);var v=a.ccclass,h=a.property;e("level_list_item",(u=v("level_list_item"),p=h(o),u((f=t((m=function(e){function t(){for(var t,i=arguments.length,l=new Array(i),a=0;a<i;a++)l[a]=arguments[a];return t=e.call.apply(e,[this].concat(l))||this,n(t,"lab_name",f,r(t)),t.m_data=null,t}return i(t,e),t.prototype.initView=function(e,t){var i=this;this.m_data=e,this.lab_name.getComponent(s).string=e.name,this.node.on(o.EventType.TOUCH_END,(function(){t(i.m_data)}))},t}(c)).prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=m))||_));l._RF.pop()}}}));