Browse Source

feat: APP 个人信息展示调整

zhangying 10 months ago
parent
commit
854e3eb271
1 changed files with 9 additions and 2 deletions
  1. 9 2
      h5app/src/views/sapp/tabUser.vue

+ 9 - 2
h5app/src/views/sapp/tabUser.vue

@@ -54,7 +54,7 @@
            </div>
            <div class="user_text">
              <h2>{{user.name}}</h2>
-             <p>驿站工作人员</p>
+             <p>{{ user.genderName }} {{ user.siteName }}</p>
            </div>
            <div class="qr_img">
              <img :src="infoQrcodeUrl" :style="imgStyle">
@@ -277,9 +277,16 @@ onMounted(() => {
     z-index: 2;
 
     .user_text{
-      padding-left: 20px;
+      padding-left: 5px;
+
+      h2 {
+        margin-top: 12px;
+      }
 
       p{
+        margin-top: 3px;
+        margin-bottom: 18px;
+        font-size: 12px;
         color: #899099;
       }
     }