drift-bottle.component_20241224200937.ts 753 B

1234567891011121314151617181920212223242526272829
  1. import { Component, OnInit } from '@angular/core';
  2. import { Router } from '@angular/router';
  3. import { IonicModule } from '@ionic/angular';
  4. import { openThrowDriftBottleModal } from '../throw-drift-bottle/throw-drift-bottle.component';
  5. import { ModalController } from '@ionic/angular/standalone';
  6. @Component({
  7. selector: 'app-drift-bottle',
  8. templateUrl: './drift-bottle.component.html',
  9. styleUrls: ['./drift-bottle.component.scss'],
  10. standalone: true,
  11. imports: [
  12. IonicModule,
  13. // 其他导入项...
  14. ]
  15. })
  16. export class DriftBottleComponent implements OnInit {
  17. constructor(private router: Router, private modalCtrl: ModalController) {}
  18. ngOnInit() {}
  19. throwDriftBottleModal(){
  20. openThrowDriftBottleModal(this.modalCtrl)
  21. }
  22. }