hid_msrpuwgj56ccf29 1 年之前
父節點
當前提交
4fc6fd1484

+ 1 - 0
app-angular/src/modules/lesson/lesson.module.ts

@@ -39,6 +39,7 @@ import { PageTestComponent } from './page-test/page-test.component';
     PageLessonDetailComponent,
     PageLessonComponent,
     PageTestComponent,
+    
 
 
 

+ 20 - 2
app-angular/src/modules/lesson/page-test/page-test.component.html

@@ -6,15 +6,33 @@
             </ion-segment-button>
             <ion-segment-button value="favorites" (click)="changeTab('favorites')">
                 <ion-label>宠物测试</ion-label>
+            
             </ion-segment-button>
         </ion-segment>
     </ion-header>
 
     <ion-content>
+        
         <ng-container *ngIf="currentTab === 'all'">
-            <h4 style="text-align: center;padding: 15px;">宠物mbti</h4>
+         
 
+           
+          
+
+   
             <ion-content>
+                <ng-container *ngIf="currentTab === 'all'">
+                    <ion-card>
+                      <ion-card-header>
+                        <ion-card-title>宠物MBTI各个维度解释</ion-card-title>
+                      </ion-card-header>
+                      <ion-card-content>
+                        <p>E(外向)—— |(内向):表示宠物在社交场合中的表现,E表示狗狗热情、亲近人,|表示宠物较为内敛、保持距离。</p>
+                        <p>A(积极)—— C(谨慎):表示宠物对新事物的接受程度,A表示狗狗好奇、敢于尝试,C表示狗狗谨慎、保守。</p>
+                        <p>L(学习型)- S(稳定型):表示狗狗在学习和适应环境中的表现,L表示狗狗学习能力强、适应能力高,S表示狗狗倾向于稳定的环境和习惯。</p>
+                      </ion-card-content>
+                    </ion-card>
+                  </ng-container>
                 <ion-grid>
                     <ion-row>
                         <ng-container *ngFor="let course of courseList; let i = index">
@@ -47,7 +65,7 @@
             <ion-list>
                 <ion-item>
                     <ion-select [value]="planOptions.targets" (ionChange)="setOption('targets',$event)"
-                        aria-label="object" placeholder="选择你的偏好" [multiple]="true">
+                        aria-label="object" placeholder="当你的宠物遇到陌生人时,它会" [multiple]="true">
                         <ion-select-option value="慵懒休闲">慵懒休闲</ion-select-option>
                         <ion-select-option value="活泼好动">活泼好动</ion-select-option>
                         <ion-select-option value="独立自主">独立自主</ion-select-option>

+ 2 - 0
app-angular/src/modules/lesson/page-test/page-test.component.ts

@@ -5,11 +5,13 @@ import { Router } from '@angular/router';
   (Parse as any).serverURL = "http://metapunk.cn:9999/parse"
   Parse.initialize("dev")
 
+
 @Component({
   selector: 'app-page-test', // 组件的选择器,用于在模板中引用组件
   templateUrl: './page-test.component.html', // 组件的模板文件路径
   styleUrls: ['./page-test.component.scss'] // 组件的样式文件路径
 })
+
   export class PageTestComponent {
     currentUser = Parse.User.current() // 当前用户对象
   currentTab: string = 'all'; // 当前选项卡的标识符