5230272 před 4 měsíci
rodič
revize
ad3745a8ed

+ 1 - 0
src/app/tab3/tab3-routing.module.ts

@@ -1,3 +1,4 @@
+
 import { NgModule } from '@angular/core';
 import { RouterModule, Routes } from '@angular/router';
 import { Tab3Page } from './tab3.page';

+ 1 - 0
src/app/tab3/tab3.module.ts

@@ -1,3 +1,4 @@
+
 import { IonicModule } from '@ionic/angular';
 import { NgModule } from '@angular/core';
 import { CommonModule } from '@angular/common';

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

@@ -1,3 +1,6 @@
+
+
+
 <ion-header>
   <ion-toolbar>
   </ion-toolbar>

+ 57 - 56
src/app/tab3/tab3.page.scss

@@ -1,73 +1,74 @@
+
  
 .my-page-content {
     
-    background-color: #efe7d8;
-    padding: 20px;
-  
-    .user-card {
-      background-color: #f5e5d6;
-      border-radius: 10px;
-      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
-      margin-bottom: 20px;
-  
-      .user-content {
-        padding: 20px;
+  background-color: #efe7d8;
+  padding: 20px;
+
+  .user-card {
+    background-color: #f5e5d6;
+    border-radius: 10px;
+    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+    margin-bottom: 20px;
+
+    .user-content {
+      padding: 20px;
+      display: flex;
+      flex-direction: column;
+      align-items: center;
+
+      .user-icon {
+        font-size: 4rem;
+        color: #333;
+      }
+
+      .user-stats {
         display: flex;
         flex-direction: column;
         align-items: center;
-  
-        .user-icon {
-          font-size: 4rem;
-          color: #333;
+        margin-top: 10px;
+
+        .user-row {
+          display: flex;
+          justify-content: space-around;
+          width: 100%;
+          margin-bottom: 5px;
+
+          .user-stat {
+            // font-weight: bold;
+            margin-right: 50.5px;
+          }
         }
-  
-        .user-stats {
+
+        .user-text {
           display: flex;
-          flex-direction: column;
+          justify-content: space-around;
           align-items: center;
-          margin-top: 10px;
-  
-          .user-row {
-            display: flex;
-            justify-content: space-around;
-            width: 100%;
-            margin-bottom: 5px;
-  
-            .user-stat {
-              // font-weight: bold;
-              margin-right: 50.5px;
-            }
-          }
-  
-          .user-text {
-            display: flex;
-            justify-content: space-around;
-            align-items: center;
-            width: 100%;
-            margin-top: 5px;
-  
-            div {
-              font-weight: bold;
-              margin-right: 30px; // 调整文本右移距离
-            }
+          width: 100%;
+          margin-top: 5px;
+
+          div {
+            font-weight: bold;
+            margin-right: 30px; // 调整文本右移距离
           }
         }
       }
     }
+  }
+
+  .menu-list {
   
-    .menu-list {
-    
-      background-color: #f5e5d6;
-      border-radius: 10px;
-      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
-  
-      .menu-item {
-        
-        --padding-start: 20px;
-        font-family: '宋体', serif;
-        &:hover {
-          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
-        }
+    background-color: #f5e5d6;
+    border-radius: 10px;
+    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+
+    .menu-item {
+      
+      --padding-start: 20px;
+      font-family: '宋体', serif;
+      &:hover {
+        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
       }
     }
   }
+}

+ 1 - 0
src/modules/user/login/login-routing.module.ts

@@ -1,3 +1,4 @@
+
 import { NgModule } from '@angular/core';
 import { Routes, RouterModule } from '@angular/router';
 

+ 2 - 0
src/modules/user/login/login.module.ts

@@ -1,3 +1,5 @@
+
+
 import { NgModule } from '@angular/core';
 import { CommonModule } from '@angular/common';
 import { FormsModule } from '@angular/forms';

+ 3 - 0
src/modules/user/login/login.page.html

@@ -1,3 +1,6 @@
+
+
+
 <ion-header [translucent]="true">
   <ion-toolbar>
     <ion-title>登录/注册</ion-title>

+ 2 - 0
src/modules/user/login/login.page.spec.ts

@@ -1,3 +1,5 @@
+
+
 import { ComponentFixture, TestBed } from '@angular/core/testing';
 import { LoginPage } from './login.page';
 

+ 2 - 0
src/modules/user/login/login.page.ts

@@ -1,3 +1,5 @@
+
+
 import { Component, OnInit } from '@angular/core';
 import { AlertController, NavController } from '@ionic/angular';
 import * as Parse from "parse"