15179588180 7 months ago
parent
commit
091f13f3dc

+ 2 - 1
smarteat-app/src/app/tab3/tab3.page.html

@@ -1,4 +1,5 @@
 <ion-content>
 <ion-content>
+  <ion-card class="custom-card">
   <!-- 用户信息 -->
   <!-- 用户信息 -->
   <ion-item lines="none" class="user-info">
   <ion-item lines="none" class="user-info">
     <ion-avatar slot="start">
     <ion-avatar slot="start">
@@ -31,7 +32,7 @@
       }
       }
     </div>
     </div>
   </ion-item>
   </ion-item>
-  
+  </ion-card>
 <!-- 我的饮食计划 -->
 <!-- 我的饮食计划 -->
 <ion-card class="custom-card">
 <ion-card class="custom-card">
   <!-- 饮食规划按钮 -->
   <!-- 饮食规划按钮 -->

+ 1 - 4
smarteat-app/src/app/tab3/tab3.page.scss

@@ -1,8 +1,5 @@
 ion-content {
 ion-content {
-  background-image: url('https://app.fmode.cn/dev/jxnu/202226701038/bg.jpg');
-  background-size: cover; /* 使背景图像覆盖整个区域 */
-  background-position: center; /* 将背景图像居中 */
-  background-repeat: no-repeat; /* 不重复背景图像 */
+  --background: #f4f4f4; /* 设置页面背景色 */
 }
 }
 
 
 ion-avatar {
 ion-avatar {