Commit 6368d4954fbedc00449791783da1956f81f1cef1

Authored by yvan.ni
1 parent e41b3015

权益等级垂直居中日常优化

pages/user/index/index.wxml
... ... @@ -9,9 +9,12 @@
9 9 <view class="xc-user-left flex" wx:if="{{userInfo}}">
10 10 <image class="xc-user-img circle" bindtap="go_info" src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}"></image>
11 11 <view class="xc-uesr-name">
  12 + <view class="flex ai-center">
12 13 <text class="ellipsis-1" style="max-width: 290rpx;display: inline-block">{{userInfo.nickname}}</text>
13 14 <view class="hvip" wx:if='{{GradeName && is_init}}'>
14 15 <image class="vip-mem" src="{{iurl}}/miniapp/images/vip_hg0.png"></image>{{GradeName}}</view>
  16 + </view>
  17 +
15 18 <view class="flex fs24 xc-grow-ups" style="margin-left:8rpx;margin-top:6rpx" wx:if="{{is_init && gradeId}}" bindtap='jump'>
16 19 <block wx:if="{{cz_val<full_cz_val}}">
17 20 {{" "}}
... ...
pages/user/index/index.wxss
... ... @@ -692,7 +692,7 @@
692 692 background: #383838;
693 693 padding: 0 15rpx;
694 694 border-radius: 20rpx;
695   - vertical-align: top;
  695 + margin-left: 5rpx;
696 696 }
697 697  
698 698 .vip-mem {
... ...