"use strict"; cc._RF.push(module, '25ea28OxgFD7Zp58821Si81', 'act.stepup.shop.mod'); // Scripts/mod/acts/stepup/act.stepup.shop.mod.js "use strict"; /****************************************************************** * * 活动: StepUP商城 * ******************************************************************/ var ActBase = require("act.base"); var ActStepUp = cc.Class({ "extends": ActBase, // 初始化配置数据 initConfig: function initConfig() { // 视图附着 nx.plugin.add(this, ["view"]); this.vattach("Acts"); }, // 注册协议接受事件 registerProtocals: function registerProtocals() {}, // 从服务器初始化数据 reqBaseFromServer: function reqBaseFromServer(_cb) { this.freshTips(); nx.dt.fnInvoke(_cb, true); }, // ============================================================ // 活动红点提示 // ============================================================ // 活动用到的提示KEY tipKeys: function tipKeys() { return []; }, // 红点提示更新 freshTips: function freshTips() { this.openTip("reward", false); } }); module.exports = ActStepUp; cc._RF.pop();