tab3.page.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <ion-header [translucent]="true">
  2. </ion-header>
  3. <ion-content [fullscreen]="true">
  4. <ion-header collapse="condense">
  5. <ion-toolbar>
  6. <ion-title size="large">Tab 3</ion-title>
  7. </ion-toolbar>
  8. </ion-header>
  9. <!-- 个人信息板块 -->
  10. <ion-card>
  11. <ion-card-header>
  12. <ion-avatar>
  13. <img src="assets/img/head.jpg" class="avatar-img">
  14. </ion-avatar>
  15. <ion-card-title>昵称:鱼聪明</ion-card-title>
  16. <ion-card-subtitle>个性签名:坚持不懈,直到成功</ion-card-subtitle>
  17. </ion-card-header>
  18. <ion-card-content>
  19. <ion-grid>
  20. <ion-row>
  21. <ion-col size="6">
  22. 打卡天数: 天
  23. </ion-col>
  24. <ion-col size="6">
  25. 累计减重: kg
  26. </ion-col>
  27. </ion-row>
  28. <ion-row>
  29. <ion-col size="6">
  30. 当前赏金: 元
  31. </ion-col>
  32. <ion-col size="6">
  33. BMI指数:
  34. </ion-col>
  35. </ion-row>
  36. </ion-grid>
  37. </ion-card-content>
  38. </ion-card>
  39. <!-- 功能菜单 -->
  40. <ion-list>
  41. <ion-item button (click)="onItemClick('我的目标')">
  42. <ion-icon name="body" slot="start"></ion-icon>
  43. 我的目标
  44. </ion-item>
  45. <ion-item button (click)="onItemClick('减肥搭子')">
  46. <ion-icon name="people" slot="start"></ion-icon>
  47. 减肥搭子
  48. </ion-item>
  49. <ion-item button (click)="onItemClick('赏金商店')">
  50. <ion-icon name="cash" slot="start"></ion-icon>
  51. 赏金商店
  52. </ion-item>
  53. <ion-item button (click)="onItemClick('我的账户')">
  54. <ion-icon name="person" slot="start"></ion-icon>
  55. 我的账户
  56. </ion-item>
  57. <ion-item button (click)="onItemClick('背景设置')">
  58. <ion-icon name="settings" slot="start"></ion-icon>
  59. 背景设置
  60. </ion-item>
  61. <ion-item button (click)="onItemClick('操作手册')">
  62. <ion-icon name="book" slot="start"></ion-icon>
  63. 操作手册
  64. </ion-item>
  65. <ion-item button (click)="onItemClick('数据备份')">
  66. <ion-icon name="cloud-download" slot="start"></ion-icon>
  67. 数据备份
  68. </ion-item>
  69. <ion-item button (click)="onItemClick('数据下载')">
  70. <ion-icon name="download" slot="start"></ion-icon>
  71. 数据下载
  72. </ion-item>
  73. </ion-list>
  74. </ion-content>