import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { IonButton, IonHeader, IonToolbar } from '@ionic/angular/standalone';

@Component({
  selector: 'page-my-health',
  templateUrl: './page-my-health.component.html',
  styleUrls: ['./page-my-health.component.scss'],
  standalone: true,
  imports:[
    IonHeader,IonToolbar,IonButton
  ]
})
export class PageMyHealthComponent  implements OnInit {

  constructor(
    private router: Router
  ) { }

  ngOnInit() {}
  /**
   * 返回上一页
   */
  back:string = "<";

  backHome(){
    this.router.navigate(['/tabs/tab1']);
  }
}
