Prechádzať zdrojové kódy

Merge branch 'master' of http://git.fmode.cn:3000/5230275/FilmTraceExplore

Breeze 4 mesiacov pred
rodič
commit
a5405438bc

+ 10 - 0
src/app/person/person.page.html

@@ -107,6 +107,11 @@
            </ion-item>
            <!-- 其他收藏 -->
          </ion-list>
+         <ion-row>
+          <ion-col size="12">
+            <ion-button expand="full" color="light" shape="round" (click)="goToBlankPage()">more ></ion-button>
+          </ion-col>
+        </ion-row>
         </div>                 
       </div>        
          
@@ -132,6 +137,11 @@
         </ion-item>
         <!-- 其他评论 -->
       </ion-list>
+      <ion-row>
+        <ion-col size="12">
+          <ion-button expand="full" color="light" shape="round" (click)="goToBlankPage()">more ></ion-button>
+        </ion-col>
+      </ion-row>
     </ion-card-content>
   </ion-card>
 </ion-content>

+ 6 - 3
src/app/person/person.page.ts

@@ -1,15 +1,18 @@
 import { Component, OnInit } from '@angular/core';
+import { NavController } from '@ionic/angular';
 
 @Component({
   selector: 'app-person',
   templateUrl: './person.page.html',
   styleUrls: ['./person.page.scss'],
 })
-export class PersonPage implements OnInit {
+export class PersonPage  {
 
-  constructor() { }
+  constructor(private navCtrl: NavController) {}
 
-  ngOnInit() {
+  goToBlankPage() {
+    // 导航到空白页面
+    console.log('Navigating to Blank page');
   }
 
 }

+ 15 - 0
src/app/place/place.page.html

@@ -126,6 +126,11 @@
           </ion-list>
         </ion-card-content>
       </ion-card>
+      <ion-row>
+        <ion-col size="12">
+          <ion-button expand="full" color="light" shape="round" (click)="goToBlankPage()">more ></ion-button>
+        </ion-col>
+      </ion-row>
     </ion-card-content>
   </ion-card>
 
@@ -164,6 +169,11 @@
           </ion-label>
         </ion-item>
       </ion-list>
+      <ion-row>
+        <ion-col size="12">
+          <ion-button expand="full" color="light" shape="round" (click)="goToBlankPage()">more ></ion-button>
+        </ion-col>
+      </ion-row>
     </ion-card-content>
   </ion-card>
 
@@ -282,5 +292,10 @@
         </ion-card-content>
       </ion-card>
     </ion-card-content>
+    <ion-row>
+      <ion-col size="12">
+        <ion-button expand="full" color="light" shape="round" (click)="goToBlankPage()">more ></ion-button>
+      </ion-col>
+    </ion-row>
   </ion-card>
 </ion-content>

+ 4 - 1
src/app/place/place.page.ts

@@ -1,4 +1,5 @@
 import { Component, OnInit } from '@angular/core';
+import { NavController } from '@ionic/angular';
 
 import { Router } from '@angular/router';
 import { NavController } from '@ionic/angular';
@@ -22,7 +23,9 @@ export class PlacePage implements OnInit {
     console.log('显示更多城市');
   }
 
-  ngOnInit() {
+  goToBlankPage() {
+    // 导航到空白页面
+    console.log('Navigating to Blank page');
   }
 
 }

+ 15 - 0
src/app/tab3/tab3.page.html

@@ -106,6 +106,11 @@
           </ion-label>
         </ion-item>
       </ion-list>
+      <ion-row>
+        <ion-col size="12">
+          <ion-button expand="full" color="light" shape="round" (click)="goToBlankPage()">more ></ion-button>
+        </ion-col>
+      </ion-row>
     </ion-card-content>
   </ion-card>
 
@@ -147,6 +152,11 @@
           </ion-label>
         </ion-item>
       </ion-list>
+      <ion-row>
+        <ion-col size="12">
+          <ion-button expand="full" color="light" shape="round" (click)="goToBlankPage()">more ></ion-button>
+        </ion-col>
+      </ion-row>
     </ion-card-content>
   </ion-card>
 
@@ -188,6 +198,11 @@
           </ion-label>
         </ion-item>
       </ion-list>
+      <ion-row>
+        <ion-col size="12">
+          <ion-button expand="full" color="light" shape="round" (click)="goToBlankPage()">more ></ion-button>
+        </ion-col>
+      </ion-row>
     </ion-card-content>
   </ion-card>
 </ion-content>

+ 2 - 2
src/app/tab3/tab3.page.ts

@@ -18,8 +18,8 @@ export class Tab3Page {
   }
 
   goToBlankPage() {
-    // 处理显示更多城市的逻辑
-    console.log('显示更多城市');
+    // 导航到空白页面
+    console.log('Navigating to Blank page');
   }
 
 }