import { Component, OnInit } from '@angular/core';
import { NavController } from '@ionic/angular';
import { Router } from '@angular/router';
@Component({
  selector: 'app-settings',
  templateUrl: './settings.page.html',
  styleUrls: ['./settings.page.scss'],
})
export class SettingsPage implements OnInit {

  constructor(private navCtrl: NavController,private router: Router) { }
  ngOnInit() {
  }
   editProfile() {
    // 编辑个人信息
    this.router.navigate(['/edit-profile']);
  }

  selectNotification() {
    // 选择通知设置
    this.router.navigate(['/notification-settings']);
  }

  managePrivacy() {
    // 管理隐私设置
    this.router.navigate(['/privacy']);
  }

  selectTheme() {
    // 选择主题设置
    this.router.navigate(['/theme-settings']);
  }

  manageSecurity() {
    // 管理账号安全
  }

  selectLanguage() {
    // 选择语言设置
    this.router.navigate(['/language-settings']);
  }

  getHelp() {
    // 获取帮助与反馈
  }

  viewAboutPage() {
    // 查看关于页面
  }

}
