import { Component } from '@angular/core';

import { Router } from '@angular/router';
import { NavController } from '@ionic/angular';

@Component({
  selector: 'app-tab2',
  templateUrl: 'tab2.page.html',
  styleUrls: ['tab2.page.scss']
})
export class Tab2Page {

  constructor(private router: Router, private navCtrl: NavController) {}

  goToBlankPage() {
    // this.router.navigateByUrl('/blank-page');
    // 导航到空白页面
    console.log('Navigating to Blank page');
  }
  search() {
    // this.router.navigate(['/blank-page']); // 替换成你的空白页面路由路径
    // 导航到空白页面
    console.log('Navigating to Blank page');
  }
}
