|
@@ -1,14 +1,16 @@
|
|
|
|
+import { ShowNovelComponent } from './../show-novel/show-novel.component';
|
|
import { Component } from '@angular/core';
|
|
import { Component } from '@angular/core';
|
|
import { IonHeader, IonToolbar, IonTitle, IonContent,IonButton } from '@ionic/angular/standalone';
|
|
import { IonHeader, IonToolbar, IonTitle, IonContent,IonButton } from '@ionic/angular/standalone';
|
|
import { ExploreContainerComponent } from '../explore-container/explore-container.component';
|
|
import { ExploreContainerComponent } from '../explore-container/explore-container.component';
|
|
import { Router } from '@angular/router';
|
|
import { Router } from '@angular/router';
|
|
|
|
|
|
@Component({
|
|
@Component({
|
|
|
|
+
|
|
selector: 'app-tab1',
|
|
selector: 'app-tab1',
|
|
templateUrl: 'tab1.page.html',
|
|
templateUrl: 'tab1.page.html',
|
|
styleUrls: ['tab1.page.scss'],
|
|
styleUrls: ['tab1.page.scss'],
|
|
standalone: true,
|
|
standalone: true,
|
|
- imports: [IonHeader, IonToolbar, IonTitle, IonContent, ExploreContainerComponent,IonButton],
|
|
|
|
|
|
+ imports: [IonHeader, IonToolbar, IonTitle, IonContent,ShowNovelComponent, ExploreContainerComponent,IonButton],
|
|
})
|
|
})
|
|
export class Tab1Page {
|
|
export class Tab1Page {
|
|
|
|
|
|
@@ -23,6 +25,9 @@ export class Tab1Page {
|
|
goToPage2(){
|
|
goToPage2(){
|
|
this.router.navigate(['/tabs/picture'])
|
|
this.router.navigate(['/tabs/picture'])
|
|
}
|
|
}
|
|
|
|
+ goToPage3(){
|
|
|
|
+ this.router.navigate(['/tabs/show'])
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|