TalentInviteMissionItem.js 695 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. cc.Class({
  2. extends: cc.Component,
  3. properties: {
  4. awardNode1: cc.Node,
  5. awardItemNode1: cc.Node,
  6. countLabel1: cc.Label,
  7. awardNode2: cc.Node,
  8. awardItemNode2: cc.Node,
  9. countLabel2: cc.Label,
  10. awardRichText: cc.RichText,
  11. noButton: cc.Button,
  12. gainButton: cc.Button,
  13. finishButton: cc.Button,
  14. },
  15. // LIFE-CYCLE CALLBACKS:
  16. // onLoad () {},
  17. start () {
  18. },
  19. hideAllButton() {
  20. this.noButton.active = false;
  21. this.gainButton.active = false;
  22. this.finishButton.active = false;
  23. },
  24. configData() {
  25. this.hideAllButton();
  26. },
  27. // update (dt) {},
  28. });