0225244 2 months ago
parent
commit
1cd18438a7

+ 5 - 0
src/app/tab1/tab1.page.html

@@ -55,5 +55,10 @@
         </div>
       </ion-col>
     </ion-row>
+    <ion-row>
+      <ion-col size="12">
+        <img src="assets/images/oldman.png" alt="Example Image">
+      </ion-col>
+    </ion-row>
   </ion-grid>
 </ion-content>

+ 33 - 0
src/app/tab1/tab1.page.scss

@@ -21,4 +21,37 @@
   
   .module-group-chat {
     background-color: #90EE90; // 设置群聊模块颜色
+  }
+  ion-content {
+    --background: linear-gradient(to bottom, #FFD700, #FFE5B4); /* 舒适的金色背景 */
+  
+    .top-section, .middle-section, .bottom-section {
+      margin-bottom: 20px;
+    }
+  
+    .module {
+      --background: #fff;
+      --ion-card-background: #fff;
+      border-radius: 10px;
+      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+  
+      ion-card-header {
+        font-size: 20px;
+        font-weight: bold;
+        color: #333;
+      }
+  
+      ion-card-content {
+        font-size: 16px;
+        color: #666;
+      }
+    }
+  
+    .footer-image {
+      width: 100%;
+      height: auto;
+      display: block;
+      margin-top: 20px;
+      border-radius: 10px;
+    }
   }

+ 5 - 0
src/app/tab2/tab2.page.html

@@ -46,5 +46,10 @@
         </ion-card-content>
       </ion-col>
     </ion-row>
+
+
+    <ion-col size="12">
+      <img src="assets/images/old2.png" alt="Example Image">
+    </ion-col>
   </ion-grid>
 </ion-content>

+ 1 - 1
src/app/tab2/tab2.page.ts

@@ -11,7 +11,7 @@ export class Tab2Page {
   constructor(private router: Router) {}
 
   goToGame() { 
-    this.router.navigate(['/game']); // 导航到游戏页面,假设游戏页面路由为 '/game' 
+    window.open('https://chess.z3web.cn/', '_blank')// 导航到游戏页面,假设游戏页面路由为 '/game' 
   }
 
   watchVideo() {

+ 5 - 5
src/app/tab3/tab3-routing.module.ts

@@ -7,14 +7,14 @@ const routes: Routes = [
   {
     path: '',
     component: Tab3Page,
-    children: [
-      {
+  },
+  {
         path: 'news',
         component: NewsComponent
-      }
-    ]
   }
-];
+  ];
+  
+  
 
 @NgModule({
   imports: [RouterModule.forChild(routes)],

BIN
src/assets/images/old1.png


BIN
src/assets/images/old2.png


BIN
src/assets/images/oldman.png


+ 6 - 0
src/modules/user/mine/mine.page.html

@@ -20,5 +20,11 @@
     <ion-button *ngIf="user?.id" fill="clear" (click)="logout()">登出</ion-button>
   </ion-card>
 
+  <ion-row>
+    <ion-col size="12">
+      <img src="assets/images/old1.png" alt="Example Image">
+    </ion-col>
+  </ion-row>
+
 
 </ion-content>