cc.Class({ extends: cc.Component, properties: {}, start: function () { window.tt || (this.node.active = false); if (window.tt) { var e = tt.getSystemInfoSync(); console.log("当前平台:" + e.appName); if ("Douyin" == e.appName && window.GameConfig.showguanzhu) { this.node.active = true; } else { this.node.active = false; } } }, onBtnclickEvent: function () { window.tt && tt.openAwemeUserProfile(); } });