Browse Source

去除职位显示

xiaohaizhao 7 months ago
parent
commit
a91b33f295
2 changed files with 3 additions and 2 deletions
  1. 1 0
      pages/tabbar/mine/index.scss
  2. 2 2
      pages/tabbar/mine/index.wxml

+ 1 - 0
pages/tabbar/mine/index.scss

@@ -23,6 +23,7 @@
             margin-left: 30rpx;
 
             .user-name {
+                width: 450rpx;
                 height: 50rpx;
                 font-size: 36rpx;
                 font-weight: bold;

+ 2 - 2
pages/tabbar/mine/index.wxml

@@ -2,8 +2,8 @@
 	<navigator url="#" class="user-con" bindtap="changeUserMsg">
 		<van-image image-class="v-img" round width="128rpx" height="128rpx" src="{{userMsg.attinfos[0].url||'/static/image/user.png'}}" />
 		<view class="user-msg">
-			<view class="user-name">
-				{{userMsg.name}}<text>{{userMsg.hr.position}}</text>
+			<view class="user-name line-1">
+				{{userMsg.name}}
 			</view>
 			<view class="user-phone">
 				{{userMsg.phonenumber}}