Просмотр исходного кода

feat:个人中心显示 绑定电话

xyh8905170 2 лет назад
Родитель
Сommit
9d8d753807
2 измененных файлов с 5 добавлено и 4 удалено
  1. 2 2
      pages/my/index.rpx.css
  2. 3 2
      pages/my/index.vue

+ 2 - 2
pages/my/index.rpx.css

@@ -48,14 +48,14 @@
     margin-left: 24rpx;
 }
 .nickName{
-    font-size: 32rpx;
+    font-size: 28rpx;
     font-family: PingFangSC-Medium, PingFang SC;
     font-weight: bold;
     color: #333333;
     line-height: 48rpx;
 }
 .xinxTitle{
-    font-size: 32rpx;
+    font-size: 28rpx;
     font-family: PingFangSC-Regular, PingFang SC;
     font-weight: 400;
     color: #333333;

+ 3 - 2
pages/my/index.vue

@@ -11,8 +11,9 @@
             <image class="userPhoto" :src="userInfo.selfPhotoUrl || '/static/me/ud4.png'"></image>
           </view>
           <view class="userTitle flex-col justify-center" @click="navigateToPage('/myPages/userInfo/index')">
-            <text class="nickName">{{ userInfo.ncikName }}</text>
-            <text class="xinxTitle">{{userInfo.no}}</text>
+            <text class="nickName">{{userInfo.no}}</text>
+            <text class="xinxTitle">{{ userInfo.ncikName }}</text>
+            <text class="xinxTitle">{{userInfo.phone || '暂无绑定手机号'}}</text>
           </view>
         </view>