54 lines
959 B
JavaScript
54 lines
959 B
JavaScript
"use strict";
|
|
cc._RF.push(module, '66921dRXYxOpraL1fdjvQSv', 'cmp.partner.reform.wnd');
|
|
// Scripts/mod/partner/cmps/reform/cmp/cmp.partner.reform.wnd.js
|
|
|
|
"use strict";
|
|
|
|
/******************************************************************
|
|
*
|
|
* 伙伴改造主页
|
|
*
|
|
******************************************************************/
|
|
|
|
var MenuWnd = require("cmp.com.menu.wnd");
|
|
var HeroEvent = require("hero_event");
|
|
|
|
// 标签页对应关系
|
|
var TabPage = [{
|
|
key: "upstar"
|
|
},
|
|
// 升星
|
|
{
|
|
key: "recycle"
|
|
},
|
|
// 回收
|
|
{
|
|
key: "back"
|
|
},
|
|
// 回退
|
|
{
|
|
key: "swap"
|
|
},
|
|
// 置换
|
|
{
|
|
key: "equips"
|
|
},
|
|
// 义肢合成(装备)
|
|
{
|
|
key: "artifact"
|
|
} // 芯片合成(神装)
|
|
];
|
|
|
|
cc.Class({
|
|
"extends": MenuWnd,
|
|
properties: {},
|
|
close: function close() {
|
|
this._super();
|
|
nx.bridge.vset("ShowPartner", {});
|
|
if (nx.bridge.plot && nx.bridge.plot.isDoing()) {
|
|
gcore.GlobalEvent.fire(HeroEvent.All_Hero_Base_Info_Event);
|
|
}
|
|
}
|
|
});
|
|
|
|
cc._RF.pop(); |