tab2.page.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <ion-header>
  2. <ion-toolbar>
  3. <ion-title>备忘录</ion-title>
  4. </ion-toolbar>
  5. </ion-header>
  6. <ion-content>
  7. <!-- 搜索框 -->
  8. <ion-item>
  9. <ion-label position="floating">搜索备忘录</ion-label>
  10. <ion-input [(ngModel)]="searchQuery"></ion-input>
  11. </ion-item>
  12. <!-- 备忘录输入 -->
  13. <ion-item>
  14. <ion-label position="floating">备忘录内容</ion-label>
  15. <ion-input [(ngModel)]="memoContent"></ion-input>
  16. </ion-item>
  17. <ion-button expand="full" (click)="addMemo()">添加备忘录</ion-button>
  18. <!-- 备忘录列表 -->
  19. <ion-list>
  20. <ion-item *ngFor="let memo of filteredMemos()">
  21. {{ memo }}
  22. </ion-item>
  23. </ion-list>
  24. <!-- 日历 -->
  25. <!-- 日历 -->
  26. <ion-card>
  27. <ion-card-header>
  28. <ion-card-title>日历</ion-card-title>
  29. </ion-card-header>
  30. <ion-card-content>
  31. <div class="calendar-container">
  32. <mwl-calendar-month-view
  33. [viewDate]="viewDate"
  34. [events]="events"
  35. (dayClicked)="dayClicked($event.day)">
  36. </mwl-calendar-month-view>
  37. </div>
  38. </ion-card-content>
  39. </ion-card>
  40. </ion-content>