|
@@ -1,5 +1,5 @@
|
|
|
import { Component } from '@angular/core';
|
|
import { Component } from '@angular/core';
|
|
|
-import { IonHeader, IonToolbar, IonTitle, IonContent, IonItem, IonSegment, IonSegmentButton, IonLabel, IonIcon, IonMenuButton, IonAvatar, IonButton, IonInput, IonButtons } from '@ionic/angular/standalone';
|
|
|
|
|
|
|
+import { IonHeader, IonToolbar, IonTitle, IonContent, IonItem, IonSegment, IonSegmentButton, IonLabel, IonIcon, IonMenuButton, IonAvatar, IonButton, IonInput, IonButtons, IonTab, IonTabButton } from '@ionic/angular/standalone';
|
|
|
import { ExploreContainerComponent } from '../explore-container/explore-container.component';
|
|
import { ExploreContainerComponent } from '../explore-container/explore-container.component';
|
|
|
import { NgClass, NgFor } from '@angular/common';
|
|
import { NgClass, NgFor } from '@angular/common';
|
|
|
import { Router } from '@angular/router';
|
|
import { Router } from '@angular/router';
|
|
@@ -13,7 +13,7 @@ import { Router } from '@angular/router';
|
|
|
standalone: true,
|
|
standalone: true,
|
|
|
imports: [IonHeader, IonToolbar, IonTitle, IonContent, ExploreContainerComponent,
|
|
imports: [IonHeader, IonToolbar, IonTitle, IonContent, ExploreContainerComponent,
|
|
|
IonItem,IonSegment,IonSegmentButton,IonLabel,IonIcon,IonMenuButton,
|
|
IonItem,IonSegment,IonSegmentButton,IonLabel,IonIcon,IonMenuButton,
|
|
|
- IonAvatar,IonButton,NgFor,NgClass,IonButtons
|
|
|
|
|
|
|
+ IonAvatar,IonButton,NgFor,NgClass,IonButtons,IonTab,IonTabButton
|
|
|
]
|
|
]
|
|
|
})
|
|
})
|
|
|
export class Tab3Page {
|
|
export class Tab3Page {
|
|
@@ -54,8 +54,7 @@ export class Tab3Page {
|
|
|
|
|
|
|
|
// 个性化推荐(模拟方法)
|
|
// 个性化推荐(模拟方法)
|
|
|
personalizedRecommendations() {
|
|
personalizedRecommendations() {
|
|
|
- // 这里可以添加逻辑来显示个性化推荐
|
|
|
|
|
- this.router.navigate(['/tabs/page-personalized'])
|
|
|
|
|
|
|
+ this.router.navigate(['/tabs/personalized'])
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 剧情解读(模拟方法)
|
|
// 剧情解读(模拟方法)
|