4 Commits 08526a1c35 ... 4240fdb97a

Auteur SHA1 Bericht Datum
  19136808282 4240fdb97a feat.liaow 3 maanden geleden
  19136808282 e54302e2ee feat.liao 3 maanden geleden
  19136808282 b253c2154b peat:app2.5 4 maanden geleden
  19136808282 9525679c30 peat:app2.1 4 maanden geleden
100 gewijzigde bestanden met toevoegingen van 4315 en 0 verwijderingen
  1. 22 0
      .history/Mind-app/src/app/page-companion/page-companion.component.spec_20241201180725.ts
  2. 30 0
      .history/Mind-app/src/app/page-companion/page-companion.component.spec_20241201201525.ts
  3. 3 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201182522.html
  4. 0 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201182522.scss
  5. 15 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201182522.ts
  6. 26 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201193927.ts
  7. 18 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201193930.html
  8. 37 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201193936.scss
  9. 26 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201194051.ts
  10. 18 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201194053.html
  11. 19 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201194212.html
  12. 19 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201194936.html
  13. 19 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201194943.html
  14. 19 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201194953.html
  15. 37 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201195012.scss
  16. 19 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201195033.html
  17. 19 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201195039.html
  18. 37 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201201336.html
  19. 65 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201201338.ts
  20. 83 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201201339.scss
  21. 37 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201201356.html
  22. 37 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201201357.html
  23. 65 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201202001.ts
  24. 70 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201204531.ts
  25. 87 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201204533.scss
  26. 73 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201205537.ts
  27. 37 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201205743.html
  28. 47 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201210052.html
  29. 47 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201210130.html
  30. 73 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201210453.ts
  31. 74 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201210950.ts
  32. 74 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201211532.ts
  33. 73 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201211653.ts
  34. 45 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201212246.html
  35. 40 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201212439.html
  36. 77 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201212754.ts
  37. 76 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201212952.ts
  38. 76 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201212953.ts
  39. 76 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201213213.ts
  40. 77 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201213248.ts
  41. 41 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201213255.html
  42. 39 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201213637.html
  43. 73 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201213711.ts
  44. 87 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201213925.scss
  45. 89 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201214319.scss
  46. 89 0
      .history/Mind-app/src/app/page-companion/page-companion.component_20241201214621.scss
  47. 31 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201182522.html
  48. 28 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201182522.scss
  49. 38 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201182522.ts
  50. 32 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201184959.html
  51. 38 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201185011.ts
  52. 38 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201185040.ts
  53. 42 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201185210.ts
  54. 42 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201185341.ts
  55. 29 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201185443.scss
  56. 32 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201185506.html
  57. 30 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201185610.scss
  58. 33 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201185703.html
  59. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190024.html
  60. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190051.html
  61. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190128.html
  62. 52 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190154.scss
  63. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190315.html
  64. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190403.scss
  65. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190422.html
  66. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190458.html
  67. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190533.scss
  68. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190544.scss
  69. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190712.html
  70. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201190816.scss
  71. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191030.scss
  72. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191135.html
  73. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191201.html
  74. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191205.scss
  75. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191229.scss
  76. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191441.html
  77. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191448.html
  78. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191522.html
  79. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191539.html
  80. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191645.scss
  81. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201191647.scss
  82. 52 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192007.scss
  83. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192020.scss
  84. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192045.scss
  85. 53 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192053.scss
  86. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192137.html
  87. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192150.html
  88. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192225.html
  89. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192227.html
  90. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192235.html
  91. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192241.html
  92. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192422.html
  93. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192455.html
  94. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192508.html
  95. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192518.html
  96. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192621.html
  97. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192654.html
  98. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192735.html
  99. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192740.html
  100. 34 0
      .history/Mind-app/src/app/page-daily/page-daily.component_20241201192802.html

+ 22 - 0
.history/Mind-app/src/app/page-companion/page-companion.component.spec_20241201180725.ts

@@ -0,0 +1,22 @@
+import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
+
+import { PageCompanionComponent } from './page-companion.component';
+
+describe('PageCompanionComponent', () => {
+  let component: PageCompanionComponent;
+  let fixture: ComponentFixture<PageCompanionComponent>;
+
+  beforeEach(waitForAsync(() => {
+    TestBed.configureTestingModule({
+      imports: [PageCompanionComponent],
+    }).compileComponents();
+
+    fixture = TestBed.createComponent(PageCompanionComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  }));
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 30 - 0
.history/Mind-app/src/app/page-companion/page-companion.component.spec_20241201201525.ts

@@ -0,0 +1,30 @@
+import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
+
+import { PageCompanionComponent } from './page-companion.component';
+
+describe('PageCompanionComponent', () => {
+  let component: PageCompanionComponent;
+  let fixture: ComponentFixture<PageCompanionComponent>;
+
+  beforeEach(waitForAsync(() => {
+    TestBed.configureTestingModule({
+      imports: [PageCompanionComponent],
+      
+    }).compileComponents();
+
+    fixture = TestBed.createComponent(PageCompanionComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  }));
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+
+  it('should add user message to messages array', () => {
+    component.userInput = 'Hello, I need help';
+    component.sendMessage();
+    expect(component.messages.length).toBe(1);
+    expect(component.messages[0].role).toBe('user');
+  });
+});

+ 3 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201182522.html

@@ -0,0 +1,3 @@
+<p>
+  page-companion works!
+</p>

+ 0 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201182522.scss


+ 15 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201182522.ts

@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+})
+export class PageCompanionComponent  implements OnInit {
+
+  constructor() { }
+
+  ngOnInit() {}
+
+}

+ 26 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201193927.ts

@@ -0,0 +1,26 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack } from 'ionicons/icons';
+import { Router } from '@angular/router';
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, IonToolbar, IonTitle, IonContent,IonButton, IonIcon]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 18 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201193930.html

@@ -0,0 +1,18 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+</ion-content>

+ 37 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201193936.scss

@@ -0,0 +1,37 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 8px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 14px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(250, 222, 222); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+   width: 120px;
+    margin: auto;
+  }

+ 26 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201194051.ts

@@ -0,0 +1,26 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, IonToolbar, IonTitle, IonContent,IonButton, IonIcon]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 18 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201194053.html

@@ -0,0 +1,18 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+</ion-content>

+ 19 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201194212.html

@@ -0,0 +1,19 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+</ion-content>

+ 19 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201194936.html

@@ -0,0 +1,19 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+</ion-content>

+ 19 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201194943.html

@@ -0,0 +1,19 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 16px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+</ion-content>

+ 19 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201194953.html

@@ -0,0 +1,19 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+</ion-content>

+ 37 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201195012.scss

@@ -0,0 +1,37 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 8px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 14px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(250, 222, 222); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+   width: 200px;
+    margin: auto;
+  }

+ 19 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201195033.html

@@ -0,0 +1,19 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+</ion-content>

+ 19 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201195039.html

@@ -0,0 +1,19 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+</ion-content>

+ 37 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201201336.html

@@ -0,0 +1,37 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [(ngModel)]="userInput" 
+      (ionInput)="onInputChange($event)" 
+      placeholder="请分享您的感受或问题" 
+      clearInput
+    ></ion-input>
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+  </div>
+</ion-content>

+ 65 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201201338.ts

@@ -0,0 +1,65 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion } from 'fmode-ng';
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  constructor() {}
+
+  ngOnInit() {}
+
+  // 用户输入变化
+  onInputChange(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+
+    // 添加用户消息到消息列表
+    this.messages.push({ role: 'user', content: this.userInput });
+
+    // 调用 AI 接口
+    const promptTemplate = `
+      作为一名专业的心理咨询师,请您根据用户的描述提供情感疏导和建议。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    const completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+    completion.sendCompletion().subscribe((message: any) => {
+      // 添加 AI 消息到消息列表
+      this.messages.push({ role: 'ai', content: message.content });
+      // 清空用户输入框
+      this.userInput = '';
+    });
+  }
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 83 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201201339.scss

@@ -0,0 +1,83 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 8px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 14px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(250, 222, 222); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+   width: 200px;
+    margin: auto;
+  }
+  .chat-container {
+    display: flex;
+    flex-direction: column;
+    height: 100%;
+    padding: 10px;
+    background-color: #f0f0f0;
+  }
+  
+  .chat-title {
+    text-align: center;
+    margin: 10px 0;
+  }
+  
+  .messages {
+    flex: 1;
+    overflow-y: auto;
+    padding: 10px;
+    background-color: white;
+    border-radius: 8px;
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+  }
+  
+  .user-message {
+    text-align: right;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #007bff;
+    color: white;
+    border-radius: 10px;
+    display: inline-block;
+  }
+  
+  .ai-message {
+    text-align: left;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #e0e0e0;
+    border-radius: 10px;
+    display: inline-block;
+  }
+  
+  .input-area {
+    display: flex;
+    align-items: center;
+    margin-top: 10px;
+  }

+ 37 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201201356.html

@@ -0,0 +1,37 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [(ngModel)]="userInput" 
+      (ionInput)="onInputChange($event)" 
+      placeholder="请分享您的感受或问题" 
+      clearInput
+    ></ion-input>
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+  </div>
+</ion-content>

+ 37 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201201357.html

@@ -0,0 +1,37 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [(ngModel)]="userInput" 
+      (ionInput)="onInputChange($event)" 
+      placeholder="请分享您的感受或问题" 
+      clearInput
+    ></ion-input>
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+  </div>
+</ion-content>

+ 65 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201202001.ts

@@ -0,0 +1,65 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  onInputChange(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+
+    // 添加用户消息到消息列表
+    this.messages.push({ role: 'user', content: this.userInput });
+
+    // 调用 AI 接口
+    const promptTemplate = `
+      作为一名专业的心理咨询师,请您根据用户的描述提供情感疏导和建议。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    const completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+    completion.sendCompletion().subscribe((message: any) => {
+      // 添加 AI 消息到消息列表
+      this.messages.push({ role: 'ai', content: message.content });
+      // 清空用户输入框
+      this.userInput = '';
+    });
+  }
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 70 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201204531.ts

@@ -0,0 +1,70 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  onInputChange(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+
+    // 添加用户消息到消息列表
+    this.messages.push({ role: 'user', content: this.userInput });
+
+    // 调用 AI 接口
+    const promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    const completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+    let aiResponse = '';
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      // 将生成的消息内容累加到 aiResponse 中
+      aiResponse += message.content; // 假设 message.content 是 AI 生成的内容
+      // 添加 AI 消息到消息列表
+      this.messages.push({ role: 'ai', content:aiResponse });
+      // 清空用户输入框
+      this.userInput = '';
+    });
+  }
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 87 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201204533.scss

@@ -0,0 +1,87 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 8px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 14px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(250, 222, 222); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+   width: 200px;
+    margin: auto;
+  }
+  .chat-container {
+    display: flex;
+    flex-direction: column;
+    height: 100%;
+    padding: 10px;
+    background-color: #f0f0f0;
+  }
+  
+  .chat-title {
+    text-align: center;
+    margin: 10px 0;
+  }
+  
+  .messages {
+    flex: 1;
+    overflow-y: auto;
+    padding: 10px;
+    background-color: white;
+    border-radius: 8px;
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+  }
+  
+  .user-message {
+    text-align: right;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #007bff;
+    color: white;
+    border-radius: 10px;
+    display: inline-block;
+    max-width: 70%; /* 限制用户消息宽度 */
+    align-self: flex-end; /* 用户消息右对齐 */
+  }
+  
+  .ai-message {
+    text-align: left;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #e0e0e0;
+    border-radius: 10px;
+    display: inline-block;
+    max-width: 70%; /* 限制 AI 消息宽度 */
+    align-self: flex-start; /* AI 消息左对齐 */
+  }
+  
+  .input-area {
+    display: flex;
+    align-items: center;
+    margin-top: 10px;
+  }

+ 73 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201205537.ts

@@ -0,0 +1,73 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+    // 属性:组件内用于展示消息内容的变量
+    responseMsg:any = ""
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      console.log(message.content)
+      // 赋值消息内容给组件内属性
+      this.responseMsg = message.content
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+      }
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 37 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201205743.html

@@ -0,0 +1,37 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [(ngModel)]="userInput" 
+      (ionInput)="promptInput($event)" 
+      placeholder="请分享您的感受或问题" 
+      clearInput
+    ></ion-input>
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+  </div>
+</ion-content>

+ 47 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201210052.html

@@ -0,0 +1,47 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [value]="userPrompt" 
+      (ionInput)="promptInput($event)" 
+      placeholder="请分享您的感受或问题" 
+      autoGrow="true"
+      clearInput
+    ></ion-input>
+
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+    @if(!isComplete){
+      <div>{{responseMsg}}</div>
+    }
+    <!-- 消息传输完成后,实时预览Markdown格式 -->
+    @if(isComplete){
+      <fm-markdown-preview class="content-style" [content]="responseMsg"></fm-markdown-preview>
+    }
+
+  </div>
+</ion-content>

+ 47 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201210130.html

@@ -0,0 +1,47 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [value]="userInput" 
+      (ionInput)="promptInput($event)" 
+      placeholder="请分享您的感受或问题" 
+      autoGrow="true"
+      clearInput
+    ></ion-input>
+
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+    @if(!isComplete){
+      <div>{{responseMsg}}</div>
+    }
+    <!-- 消息传输完成后,实时预览Markdown格式 -->
+    @if(isComplete){
+      <fm-markdown-preview class="content-style" [content]="responseMsg"></fm-markdown-preview>
+    }
+
+  </div>
+</ion-content>

+ 73 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201210453.ts

@@ -0,0 +1,73 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+    // 属性:组件内用于展示消息内容的变量
+    responseMsg:any = ""
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      console.log(message.content)
+      // 赋值消息内容给组件内属性
+      this.responseMsg.push({role:'ai',content:message.content})
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+      }
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 74 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201210950.ts

@@ -0,0 +1,74 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+    // 属性:组件内用于展示消息内容的变量
+    responseMsg:any = ""
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      console.log(message.content)
+      // 赋值消息内容给组件内属性
+      this.responseMsg.push({role:'ai',content:message.content})
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+      }
+      this.userInput='';
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 74 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201211532.ts

@@ -0,0 +1,74 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+  isComplete: boolean = false; // 定义完成状态属性,用来标记是否补全完成
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+    // 属性:组件内用于展示消息内容的变量
+    responseMsg:any = ""
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+   
+
+  // 发送消息
+  sendMessage() {
+    console.log("create")
+    if (!this.userInput.trim()) return; // 确保输入不为空
+    this.messages.push({ role: 'user', content: this.userInput });
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      console.log(message.content);
+      // 赋值消息内容给组件内属性
+      this.responseMsg.push({role:'ai',content:message.content})
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+      }
+      this.userInput='';
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 73 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201211653.ts

@@ -0,0 +1,73 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+    // 属性:组件内用于展示消息内容的变量
+    responseMsg:any = ""
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      console.log(message.content)
+      // 赋值消息内容给组件内属性
+      this.responseMsg = message.content
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+      }
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 45 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201212246.html

@@ -0,0 +1,45 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [value]="userInput" 
+      (ionInput)="promptInput($event)" 
+      placeholder="请分享您的感受或问题" 
+      
+      clearInput
+    ></ion-input>
+
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+    
+    <!-- 消息传输完成后,实时预览Markdown格式 -->
+    @if(isComplete){
+      <fm-markdown-preview class="content-style" [content]="responseMsg"></fm-markdown-preview>
+    }
+
+  </div>
+</ion-content>

+ 40 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201212439.html

@@ -0,0 +1,40 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [value]="userInput" 
+      (ionInput)="promptInput($event)" 
+      placeholder="请分享您的感受或问题" 
+      
+      clearInput
+    ></ion-input>
+
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+    
+  </div>
+</ion-content>

+ 77 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201212754.ts

@@ -0,0 +1,77 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+    // 属性:组件内用于展示消息内容的变量
+    responseMsg:any = ""
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+    this.messages.push({ role: 'user', content: this.userInput });
+    console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      console.log(message.content)
+      // 赋值消息内容给组件内属性
+      this.responseMsg = message.content
+      this.messages.push({ role: 'ai', content: message.content });
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+        this.userInput = '';
+      }
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 76 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201212952.ts

@@ -0,0 +1,76 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+   
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+    this.messages.push({ role: 'user', content: this.userInput });
+    console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      console.log(message.content)
+      // 赋值消息内容给组件内属性
+      this.messages = message.content
+      this.messages.push({ role: 'ai', content: message.content });
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+        this.userInput = '';
+      }
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 76 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201212953.ts

@@ -0,0 +1,76 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+   
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+    this.messages.push({ role: 'user', content: this.userInput });
+    console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      console.log(message.content)
+      // 赋值消息内容给组件内属性
+      this.messages = message.content
+      this.messages.push({ role: 'ai', content: message.content });
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+        this.userInput = '';
+      }
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 76 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201213213.ts

@@ -0,0 +1,76 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+   
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+    this.messages.push({ role: 'user', content: this.userInput });
+    // console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      // console.log(message.content)
+      // 赋值消息内容给组件内属性
+      // this.messages = message.content
+      this.messages.push({ role: 'ai', content: message.content });
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+        this.userInput = '';
+      }
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 77 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201213248.ts

@@ -0,0 +1,77 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+   
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+    this.messages.push({ role: 'user', content: this.userInput });
+    // console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      // console.log(message.content)
+      // 赋值消息内容给组件内属性
+      // this.messages = message.content
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+      this.messages.push({ role: 'ai', content: message.content });
+      
+        this.userInput = '';
+      }
+    })}
+    
+  
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 41 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201213255.html

@@ -0,0 +1,41 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [value]="userInput" 
+      (ionInput)="promptInput($event)" 
+      placeholder="请分享您的感受或问题" 
+      
+      clearInput
+    ></ion-input>
+
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+    
+
+  </div>
+</ion-content>

+ 39 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201213637.html

@@ -0,0 +1,39 @@
+
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"  class="custom-button daily-button"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center;  margin: auto;">
+     <ion-icon name="heart" style="color: rgb(250, 222, 222); font-size: 18px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 18px; margin-left: 2px;">心灵陪伴</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true" class="chat-container">
+  <h1 class="chat-title">心理咨询聊天</h1>
+
+  <!-- 消息列表 -->
+  <div class="messages">
+    <div *ngFor="let message of messages" [ngClass]="{'user-message': message.role === 'user', 'ai-message': message.role === 'ai'}">
+      <p>{{ message.content }}</p>
+    </div>
+  </div>
+
+  <!-- 输入区域 -->
+  <div class="input-area">
+    <ion-input 
+      [value]="userInput" 
+      (ionInput)="promptInput($event)" 
+      placeholder="请分享您的感受或问题" 
+      
+      clearInput
+    ></ion-input>
+
+    <ion-button (click)="sendMessage()" expand="full">发送</ion-button>
+  </div>
+</ion-content>

+ 73 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201213711.ts

@@ -0,0 +1,73 @@
+import { Component, OnInit } from '@angular/core';
+import {IonHeader, IonToolbar, IonTitle,IonInput, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { addIcons } from 'ionicons';
+import { chevronBack,heart } from 'ionicons/icons';
+import { Router } from '@angular/router';
+import { FmodeChatCompletion,MarkdownPreviewModule } from 'fmode-ng';
+import { CommonModule } from '@angular/common'; // 添加 CommonModule
+import { FormsModule } from '@angular/forms'; // 添加 FormsModule
+
+@Component({
+  selector: 'app-page-companion',
+  templateUrl: './page-companion.component.html',
+  styleUrls: ['./page-companion.component.scss'],
+  standalone: true,
+  imports:[IonHeader, CommonModule, FormsModule, IonToolbar, IonTitle, IonContent,IonButton,IonInput, IonIcon,MarkdownPreviewModule]
+})
+export class PageCompanionComponent  implements OnInit {
+
+  userInput: string = ''; // 用户输入内容
+  messages: { role: string, content: string }[] = []; // 消息列表
+
+  
+
+  // 用户输入变化
+  promptInput(ev: any) {
+    this.userInput = ev.detail.value;
+  }
+
+   
+    // 方法:实例化completion对象,传入消息数组,并订阅生成的可观察对象。
+    isComplete:boolean = false; // 定义完成状态属性,用来标记是否补全完成
+
+  // 发送消息
+  sendMessage() {
+    if (!this.userInput.trim()) return; // 确保输入不为空
+    this.messages.push({ role: 'user', content: this.userInput });
+    // console.log("create")
+ 
+     
+    // 调用 AI 接口
+    let promptTemplate = `
+      请你先分析用户的口述,如果是明显需要心理咨询帮助的意思,那么请你作为专业的心理咨询师,根据用户的描述提供情感疏导和建议;如果用户只是简单的日常聊天,比如吐槽、唠嗑,那么请你作为一个朋友的形象,根据的用户的消息提供友好并有情绪价值的回复。
+      以下是用户的口述:${this.userInput}
+    `;
+
+    let completion = new FmodeChatCompletion([
+      { role: 'system', content: '' },
+      { role: 'user', content: promptTemplate }
+    ]);
+
+
+    completion.sendCompletion().subscribe((message: any) => {
+      
+      
+      if(message?.complete){ // 判断message为完成状态,则设置isComplete为完成
+        this.isComplete = true
+      this.messages.push({ role: 'ai', content: message.content });
+      
+        this.userInput = '';
+      }
+    })}
+
+  constructor(private router: Router) { 
+    addIcons({chevronBack,heart});
+  }
+
+  goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}

+ 87 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201213925.scss

@@ -0,0 +1,87 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 8px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 14px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(250, 222, 222); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+   width: 200px;
+    margin: auto;
+  }
+  .chat-container {
+    display: flex;
+    flex-direction: column;
+    height: 100%;
+    padding: 10px;
+    background-color: #f0f0f0;
+  }
+  
+  .chat-title {
+    text-align: center;
+    margin: 10px 0;
+  }
+  
+  .messages {
+    flex: 1;
+    overflow-y: auto;
+    padding: 10px;
+    background-color: white;
+    border-radius: 8px;
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+  }
+  
+  .user-message {
+    text-align: right;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #007bff;
+    color: white;
+    border-radius: 10px;
+    display: inline-block;
+    max-width: 70%; /* 限制用户消息宽度 */
+    align-self: flex-end; /* 用户消息右对齐 */
+  }
+  
+  .ai-message {
+    text-align: left;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #e0e0e0;
+    border-radius: 10px;
+    display: inline-block;
+    max-width: 70%; /* 限制 AI 消息宽度 */
+    align-self: flex-start; /* AI 消息左对齐 */
+  }
+  
+  .input-area {
+    display: flex;
+    align-items: center;
+    margin-top: 10px;
+  }

+ 89 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201214319.scss

@@ -0,0 +1,89 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 8px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 14px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(250, 222, 222); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+   width: 200px;
+    margin: auto;
+  }
+  .chat-container {
+    display: flex;
+    flex-direction: column;
+    height: 100%;
+    padding: 10px;
+    background-color: #f0f0f0;
+  }
+  
+  .chat-title {
+    text-align: center;
+    margin: 10px 0;
+  }
+  
+  .messages {
+    flex: 1;
+    overflow-y: auto;
+    padding: 10px;
+    background-color: white;
+    border-radius: 8px;
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+    display: flex; /* 添加 flex 布局 */
+    flex-direction: column; /* 垂直排列消息 */
+  }
+  
+  .user-message {
+    text-align: right;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #007bff;
+    color: white;
+    border-radius: 10px;
+    display: inline-block;
+    max-width: 70%; /* 限制用户消息宽度 */
+    align-self: flex-end; /* 用户消息右对齐 */
+  }
+  
+  .ai-message {
+    text-align: left;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #e0e0e0;
+    border-radius: 10px;
+    display: inline-block;
+    max-width: 70%; /* 限制 AI 消息宽度 */
+    align-self: flex-start; /* AI 消息左对齐 */
+  }
+  
+  .input-area {
+    display: flex;
+    align-items: center;
+    margin-top: 10px;
+  }

+ 89 - 0
.history/Mind-app/src/app/page-companion/page-companion.component_20241201214621.scss

@@ -0,0 +1,89 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 8px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 14px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(250, 222, 222); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+   width: 200px;
+    margin: auto;
+  }
+  .chat-container {
+    display: flex;
+    flex-direction: column;
+    height: 100%;
+    padding: 10px;
+    background-color: #f0f0f0;
+  }
+  
+  .chat-title {
+    text-align: center;
+    margin: 10px 0;
+  }
+  
+  .messages {
+    flex: 1;
+    overflow-y: auto;
+    padding: 10px;
+    background-color: white;
+    border-radius: 8px;
+    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+    display: flex; /* 添加 flex 布局 */
+    flex-direction: column; /* 垂直排列消息 */
+  }
+  
+  .user-message {
+    text-align: right;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #007bff;
+    color: white;
+    border-radius: 10px;
+    display: inline-block;
+    max-width: 70%; /* 限制用户消息宽度 */
+    align-self: flex-end; /* 用户消息右对齐 */
+  }
+  
+  .ai-message {
+    text-align: left;
+    margin: 5px 0;
+    padding: 10px;
+    background-color: #e0e0e0;
+    border-radius: 10px;
+    display: inline-block;
+    max-width: 70%; /* 限制 AI 消息宽度 */
+    align-self: flex-start; /* AI 消息左对齐 */
+  }
+  
+  .input-area {
+    display: flex;
+    align-items: center;
+    margin-top: 10px;
+  }

+ 31 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201182522.html

@@ -0,0 +1,31 @@
+<ion-header [translucent]="true">
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 28 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201182522.scss

@@ -0,0 +1,28 @@
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 38 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201182522.ts

@@ -0,0 +1,38 @@
+import { Component, OnInit } from '@angular/core';
+import { EditTagComponent } from '../edit-tag/edit-tag.component';
+import { EditRatingStarComponent } from '../edit-rating-star/edit-rating-star.component';
+import {IonHeader, IonToolbar, IonTitle, IonContent, IonIcon } from '@ionic/angular/standalone';
+import { sunny } from 'ionicons/icons';
+import { addIcons } from 'ionicons';
+
+
+@Component({
+  selector: 'app-page-daily',
+  templateUrl: './page-daily.component.html',
+  styleUrls: ['./page-daily.component.scss'],
+  standalone: true,
+  imports:[EditTagComponent,EditRatingStarComponent,IonHeader, IonIcon, IonToolbar, IonTitle, IonContent ]
+})
+export class PageDailyComponent  implements OnInit {
+  
+  currentScore: number = 0; // 初始分值
+
+  handleScoreChange(newScore: number) {
+    this.currentScore = newScore;
+    console.log('新分值:', newScore); // 处理分值变化
+  }
+   // 编辑标签
+   editTags:Array<string> = []
+   setTagsValue(ev:any){
+     console.log("setTagsValue",ev)
+     this.editTags = ev;
+   }
+
+  constructor() {
+    addIcons({sunny});
+   }
+
+  ngOnInit() {}
+
+}
+

+ 32 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201184959.html

@@ -0,0 +1,32 @@
+<ion-header [translucent]="true">
+  <ion-button (click)="goTab1"><ion-icon name="chevronBack" slot="start"></ion-icon>返回</ion-button>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 38 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201185011.ts

@@ -0,0 +1,38 @@
+import { Component, OnInit } from '@angular/core';
+import { EditTagComponent } from '../edit-tag/edit-tag.component';
+import { EditRatingStarComponent } from '../edit-rating-star/edit-rating-star.component';
+import {IonHeader, IonToolbar, IonTitle, IonContent, IonIcon } from '@ionic/angular/standalone';
+import { sunny,chevronBack } from 'ionicons/icons';
+import { addIcons } from 'ionicons';
+
+
+@Component({
+  selector: 'app-page-daily',
+  templateUrl: './page-daily.component.html',
+  styleUrls: ['./page-daily.component.scss'],
+  standalone: true,
+  imports:[EditTagComponent,EditRatingStarComponent,IonHeader, IonIcon, IonToolbar, IonTitle, IonContent ]
+})
+export class PageDailyComponent  implements OnInit {
+  
+  currentScore: number = 0; // 初始分值
+
+  handleScoreChange(newScore: number) {
+    this.currentScore = newScore;
+    console.log('新分值:', newScore); // 处理分值变化
+  }
+   // 编辑标签
+   editTags:Array<string> = []
+   setTagsValue(ev:any){
+     console.log("setTagsValue",ev)
+     this.editTags = ev;
+   }
+
+  constructor() {
+    addIcons({sunny});
+   }
+
+  ngOnInit() {}
+
+}
+

+ 38 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201185040.ts

@@ -0,0 +1,38 @@
+import { Component, OnInit } from '@angular/core';
+import { EditTagComponent } from '../edit-tag/edit-tag.component';
+import { EditRatingStarComponent } from '../edit-rating-star/edit-rating-star.component';
+import {IonHeader, IonToolbar, IonTitle, IonContent, IonIcon } from '@ionic/angular/standalone';
+import { sunny,chevronBack } from 'ionicons/icons';
+import { addIcons } from 'ionicons';
+
+
+@Component({
+  selector: 'app-page-daily',
+  templateUrl: './page-daily.component.html',
+  styleUrls: ['./page-daily.component.scss'],
+  standalone: true,
+  imports:[EditTagComponent,EditRatingStarComponent,IonHeader, IonIcon, IonToolbar, IonTitle, IonContent ]
+})
+export class PageDailyComponent  implements OnInit {
+  
+  currentScore: number = 0; // 初始分值
+
+  handleScoreChange(newScore: number) {
+    this.currentScore = newScore;
+    console.log('新分值:', newScore); // 处理分值变化
+  }
+   // 编辑标签
+   editTags:Array<string> = []
+   setTagsValue(ev:any){
+     console.log("setTagsValue",ev)
+     this.editTags = ev;
+   }
+
+  constructor() {
+    addIcons({sunny,chevronBack});
+   }
+
+  ngOnInit() {}
+
+}
+

+ 42 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201185210.ts

@@ -0,0 +1,42 @@
+import { Component, OnInit } from '@angular/core';
+import { EditTagComponent } from '../edit-tag/edit-tag.component';
+import { EditRatingStarComponent } from '../edit-rating-star/edit-rating-star.component';
+import {IonHeader, IonToolbar, IonTitle, IonContent, IonIcon } from '@ionic/angular/standalone';
+import { sunny,chevronBack } from 'ionicons/icons';
+import { addIcons } from 'ionicons';
+import { Router } from '@angular/router';
+
+@Component({
+  selector: 'app-page-daily',
+  templateUrl: './page-daily.component.html',
+  styleUrls: ['./page-daily.component.scss'],
+  standalone: true,
+  imports:[EditTagComponent,EditRatingStarComponent,IonHeader, IonIcon, IonToolbar, IonTitle, IonContent ]
+})
+export class PageDailyComponent  implements OnInit {
+  
+  currentScore: number = 0; // 初始分值
+
+  handleScoreChange(newScore: number) {
+    this.currentScore = newScore;
+    console.log('新分值:', newScore); // 处理分值变化
+  }
+   // 编辑标签
+   editTags:Array<string> = []
+   setTagsValue(ev:any){
+     console.log("setTagsValue",ev)
+     this.editTags = ev;
+   }
+
+  constructor(private router: Router) {
+    addIcons({sunny,chevronBack});
+   }
+
+   goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}
+

+ 42 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201185341.ts

@@ -0,0 +1,42 @@
+import { Component, OnInit } from '@angular/core';
+import { EditTagComponent } from '../edit-tag/edit-tag.component';
+import { EditRatingStarComponent } from '../edit-rating-star/edit-rating-star.component';
+import {IonHeader, IonToolbar, IonTitle, IonContent,IonButton, IonIcon } from '@ionic/angular/standalone';
+import { sunny,chevronBack } from 'ionicons/icons';
+import { addIcons } from 'ionicons';
+import { Router } from '@angular/router';
+
+@Component({
+  selector: 'app-page-daily',
+  templateUrl: './page-daily.component.html',
+  styleUrls: ['./page-daily.component.scss'],
+  standalone: true,
+  imports:[EditTagComponent,EditRatingStarComponent,IonHeader, IonIcon, IonToolbar,IonButton, IonTitle, IonContent ]
+})
+export class PageDailyComponent  implements OnInit {
+  
+  currentScore: number = 0; // 初始分值
+
+  handleScoreChange(newScore: number) {
+    this.currentScore = newScore;
+    console.log('新分值:', newScore); // 处理分值变化
+  }
+   // 编辑标签
+   editTags:Array<string> = []
+   setTagsValue(ev:any){
+     console.log("setTagsValue",ev)
+     this.editTags = ev;
+   }
+
+  constructor(private router: Router) {
+    addIcons({sunny,chevronBack});
+   }
+
+   goTab1(){
+    this.router.navigate(['tabs/tab1']);
+   }
+
+  ngOnInit() {}
+
+}
+

+ 29 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201185443.scss

@@ -0,0 +1,29 @@
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 32 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201185506.html

@@ -0,0 +1,32 @@
+<ion-header [translucent]="true">
+  <ion-button (click)="goTab1"><ion-icon name="chevronBack" slot="start"></ion-icon>返回</ion-button>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 30 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201185610.scss

@@ -0,0 +1,30 @@
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 33 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201185703.html

@@ -0,0 +1,33 @@
+<ion-header [translucent]="true">
+  <ion-button (click)="goTab1"><ion-icon name="chevronBack" slot="start"></ion-icon>返回</ion-button>
+  
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190024.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190051.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190128.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 52 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190154.scss

@@ -0,0 +1,52 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190315.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190403.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190422.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px;  margin: auto;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190458.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190533.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto;
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190544.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+   
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190712.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px; margin: auto">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+  <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201190816.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto;
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191030.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191135.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px; ">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191201.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title>
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px; margin: auto;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191205.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+   
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191229.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191441.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title style="text-align: center; width: 100%;">
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px; margin: auto;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191448.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title style="text-align: center; ">
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px; margin: auto;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191522.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center;justify-content: center; width: 200px; margin:0%;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191539.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191645.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto;
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201191647.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto;
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 52 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192007.scss

@@ -0,0 +1,52 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto;
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192020.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 16px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto;
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192045.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 6px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto;
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 53 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192053.scss

@@ -0,0 +1,53 @@
+.button-container {
+  position: absolute; /* 绝对定位 */
+  top: 8px; /* 距离顶部的距离 */
+  left: 6px; /* 距离左侧的距离 */
+  display: flex; /* 使用flexbox布局 */
+  flex-direction: row; /* 垂直排列 */
+}
+
+.custom-button {
+  font-size: 12px; /* 按钮字体大小 */
+  border-radius: 6px; /* 圆角按钮 */
+  color: rgb(245, 82, 82); /* 字体颜色 */
+  transition: opacity 0.3s, color 0.3s; /* 添加过渡效果 */
+  
+}
+
+/* 添加按钮的悬停效果 */
+.custom-button:hover {
+  opacity: 0.5 !important; /* 悬停时透明度变化 */
+  color:aqua !important;
+}
+
+ion-content {
+    --background: #ffcccb; /* 设置背景颜色为粉色 */
+    color: black; /* 设置文本颜色为黑色,确保可读性 */
+  }
+  ion-header {
+    background-color: #f19595; /* 设置背景颜色为淡粉色 */
+    color: black; /* 设置文本颜色为黑色 */
+    margin: auto;
+  }
+  
+  ion-toolbar {
+    --background: transparent; /* 如果需要透明效果,可以设置为透明 */
+    width: 200px;
+    margin: auto;
+  }
+
+  .rating-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    margin-bottom: 16px; /* 下边距 */
+    margin-top: 16px;
+    background-color: #f6b7b7; /* 背景颜色 */
+  }
+  
+  .tag-container {
+    border: 1px solid #d3d3d3; /* 边框颜色 */
+    border-radius: 8px; /* 圆角 */
+    padding: 16px; /* 内边距 */
+    background-color: #f6b7b7; /* 背景颜色 */
+  }

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192137.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; margin:auto;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192150.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; margin:auto;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin:auto">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192225.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; margin:auto;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left:08px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192227.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; margin:auto;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left:0px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192235.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; margin:auto;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left:2px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192241.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; margin:auto;"></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left:8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192422.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <span style="margin: auto;"><ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span></span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192455.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <span style="margin: auto;align-items: center; justify-content: center;"><ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span></span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192508.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <span style="margin: auto;"><ion-icon name="sunny" style="color: rgb(250, 222, 222);align-items: center; justify-content: center; font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span></span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192518.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <span style="margin: auto;"><ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; align-items: center; justify-content: center;margin-left: 8px;">日常</span></span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192621.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+      <span style="margin: auto;"><ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px;align-items: center; justify-content: center; margin-left: 8px;">日常</span></span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192654.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto ;">
+     <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192735.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin:auto;">
+     <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192740.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; ">
+     <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

+ 34 - 0
.history/Mind-app/src/app/page-daily/page-daily.component_20241201192802.html

@@ -0,0 +1,34 @@
+<ion-header [translucent]="true">
+  <div class="button-container">
+  <ion-button (click)="goTab1()" fill="clear"><ion-icon name="chevron-back" slot="start"></ion-icon>返回</ion-button>
+  </div>
+  <ion-toolbar>
+    <ion-title >
+    <div style="display: flex; align-items: center; justify-content: center; width: 200px; margin-left: 50px;">
+     <ion-icon name="sunny" style="color: rgb(250, 222, 222); font-size: 24px; "></ion-icon>
+      <span style="color: rgb(250, 222, 222); font-size: 20px; margin-left: 8px;">日常</span>
+    </div>
+    </ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+
+  <div class="rating-container">
+    <h4>星星打分:分值 {{currentScore}}</h4>
+    <edit-rating-star 
+      [score]="currentScore" 
+      [scoreMax]="5" 
+      (onScoreChange)="handleScoreChange($event)">
+    </edit-rating-star>
+  </div>
+  
+  <div class="tag-container">
+    <app-edit-tag (onTagChange)="setTagsValue($event)"></app-edit-tag>
+    <ul>
+      @for(tag of editTags;track tag;){
+        <li>{{tag}}</li>
+      }
+    </ul>
+  </div>
+</ion-content>

Some files were not shown because too many files changed in this diff