shish 11 месяцев назад
Родитель
Сommit
451b8d578c
1 измененных файлов с 23 добавлено и 12 удалено
  1. 23 12
      mallApp/src/pages/home/recent.vue

+ 23 - 12
mallApp/src/pages/home/recent.vue

@@ -101,7 +101,7 @@
             <!-- 操作按钮组 -->
             <view class="action-buttons">
               <view class="action-btn primary" @click.stop="bug(item)">
-                <text class="btn-text">🌸 花材商城</text>
+                <text class="btn-text">🌸 花材绿植</text>
               </view>
               <view class="action-btn secondary" @click.stop="hs(item)">
                 <text class="btn-text">💐 花束商城</text>
@@ -349,22 +349,25 @@ page {
 // 个人中心版块
 .profile-section {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-  padding: 30upx 25upx;
+  padding: 35upx 30upx;
   margin-bottom: 20upx;
   box-shadow: 0 4upx 20upx rgba(102, 126, 234, 0.15);
   
   .profile-header {
     display: flex;
     align-items: center;
-    margin-bottom: 30upx;
+    justify-content: flex-start;
+    margin-bottom: 35upx;
+    padding: 0 10upx;
     
     .avatar-container {
-      margin-right: 25upx;
+      margin-right: 30upx;
+      flex-shrink: 0;
       
       .avatar {
-        width: 100upx;
-        height: 100upx;
-        border-radius: 50upx;
+        width: 110upx;
+        height: 110upx;
+        border-radius: 55upx;
         border: 3upx solid rgba(255, 255, 255, 0.3);
         background-color: #f5f5f5;
         box-shadow: 0 4upx 12upx rgba(0, 0, 0, 0.1);
@@ -373,28 +376,34 @@ page {
     
     .user-info {
       flex: 1;
+      display: flex;
+      flex-direction: column;
+      justify-content: center;
       
       .username {
         display: block;
         color: #ffffff;
-        font-size: 42upx;
+        font-size: 44upx;
         font-weight: 600;
-        margin-bottom: 6upx;
+        margin-bottom: 8upx;
         text-shadow: 0 2upx 4upx rgba(0, 0, 0, 0.1);
+        line-height: 1.2;
       }
       
       .user-id {
         display: block;
         color: rgba(255, 255, 255, 0.8);
-        font-size: 26upx;
+        font-size: 28upx;
+        line-height: 1.2;
       }
     }
   }
   
   .function-grid {
     display: flex;
-    justify-content: space-around;
-    padding: 0 20upx;
+    justify-content: space-between;
+    align-items: center;
+    padding: 0 10upx;
     
     .function-item {
       display: flex;
@@ -419,6 +428,7 @@ page {
         font-size: 44upx;
         margin-bottom: 8upx;
         filter: drop-shadow(0 2upx 4upx rgba(0, 0, 0, 0.1));
+        line-height: 1;
       }
       
       .function-text {
@@ -426,6 +436,7 @@ page {
         font-size: 26upx;
         font-weight: 500;
         text-shadow: 0 1upx 2upx rgba(0, 0, 0, 0.1);
+        line-height: 1;
       }
     }
   }