KindTipsView.ts 686 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * @Author: mojunshou 1637302775@qq.com
  3. * @Date: 2025-03-19 18:02:51
  4. * @LastEditors: mojunshou 1637302775@qq.com
  5. * @LastEditTime: 2025-03-19 18:03:09
  6. * @Description:
  7. */
  8. import { _decorator, Component, Node } from 'cc';
  9. import { GameComponent } from 'db://oops-framework/module/common/GameComponent';
  10. const { ccclass, property } = _decorator;
  11. @ccclass('KindTipsView')
  12. export class KindTipsView extends GameComponent {
  13. start() {
  14. this.setButton();
  15. }
  16. update(deltaTime: number) {
  17. }
  18. private btn_agree() {
  19. console.log("同意");
  20. }
  21. private btn_disagree() {
  22. console.log("不同意");
  23. //打开新的挽留弹窗
  24. }
  25. }