StoreQQAddGroup.js 390 B

12345678910111213141516171819202122232425262728
  1. cc.Class({
  2. extends: cc.Component,
  3. properties: {
  4. },
  5. // LIFE-CYCLE CALLBACKS:
  6. onLoad () {
  7. this.node.height = GameGlobal.winSize.height;
  8. if (GameGlobal.winSize.height <= 1000) {
  9. this.content.height = 800;
  10. }
  11. },
  12. start () {
  13. },
  14. hiddenAction() {
  15. this.node.destroy();
  16. }
  17. // update (dt) {},
  18. });