Procházet zdrojové kódy

服务顾问列表调整

zs y před 2 roky
rodič
revize
0724865834
1 změnil soubory, kde provedl 6 přidání a 23 odebrání
  1. 6 23
      pages/user/expertServices.vue

+ 6 - 23
pages/user/expertServices.vue

@@ -8,9 +8,8 @@
 				</view>
 				<view class="ad-con-box">
 					<image :src="usersAvatarStr" mode="aspectFit" class="ad-icon-mine"></image>
-					<view class="ad-con-box-r">
-						<view class="ad-name">{{users.name}}</view>
-						<view class="ad-years">{{userYears}}</view>
+					<view class="ad-list-r">
+						<text class="ad-name">{{users.name}}</text>
 					</view>
 				</view>
 			</view>
@@ -23,8 +22,8 @@
 		<!-- 服务顾问list -->
 		<view class="ad-list" v-for="(item,index) in queryManagerList" :key="item.id" @click="goDetail(item)">
 			<image :src="item.avatar ? item.avatar : '../../static/timg/pic_def_ava@2x.png'" class="ad-list-img"></image>
-			<view class="ad-name ad-list-r">
-				<text>{{item.name}}</text>
+			<view class="ad-list-r">
+				<text class="ad-name">{{item.name}}</text>
 			</view>
 
 			<view class="address-arrow">
@@ -56,12 +55,6 @@
 		computed: {
 			usersAvatarStr() {
 				return this.users.avatar ? this.users.avatar : '../../static/timg/pic_def_ava@2x.png'
-			},
-			userYears(){
-				if (this.users.years) {
-					return '从业年限:' + this.users.years + '年'
-				}
-				return '从业年限:未知'
 			}
 		},
 		methods: {
@@ -141,15 +134,9 @@
 	.ad-name {
 		font-size: 30rpx;
 		font-weight: bold;
-		color: #333333;
+		color: #333333;
+		margin: auto 20rpx;
 	}
-
-	.ad-years {
-		font-size: 24rpx;
-		color: #666;
-		margin-top: 10rpx;
-	}
-
 	/* 全部服务顾问横栏 */
 	.mid-v-line {
 		background-color: #FF0000;
@@ -203,10 +190,6 @@
 		display: flex;
 		flex: 1;		
 	}
-	.ad-list-r text{
-		margin: auto 20rpx;
-		/* background-color: green; */
-	}
 	.noMore {
 		text-align: center;
 		line-height: 50rpx;