From 5227ce05a36d16fc32691b73e4d75c8aee9cea51 Mon Sep 17 00:00:00 2001
From: li-guang <153605324@qq.com>
Date: Mon, 11 Jan 2021 16:46:37 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/jyyforjava/hive-app

---
 hive-app/pages/member/selectCustomer.vue |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/hive-app/pages/member/selectCustomer.vue b/hive-app/pages/member/selectCustomer.vue
index ca0d3b6..f452697 100644
--- a/hive-app/pages/member/selectCustomer.vue
+++ b/hive-app/pages/member/selectCustomer.vue
@@ -1,8 +1,11 @@
 <template>
 	<view class="container">
 		<search-bar @confirm="search"></search-bar>
-		<view class="member-list flex align-center" v-for="(item, index) in list">
-			<text class="first-name" :style="{background: caculateBgcolor(index)}">{{item.vipName | formatName}}</text>
+		<view class="member-list flex align-center" v-for="(item, index) in list" @click="checkOnchange(item)">
+			<template>
+				<image v-if="item.photo" src="item.photo" class="avatar"></image>
+				<text v-else class="first-name" :style="{background: caculateBgcolor(index)}">{{item.vipName | formatName}}</text>
+			</template>
 			<view class="flex-1 flex align-center justify-between member-list-con">
 				<view class="flex flex-v">
 					<text class="mb-10">
@@ -12,8 +15,7 @@
 					<text class="font-13 gray">{{$utils.encryptAccount(item.phone)}}</text>
 				</view>
 				<text class="iconfont" 
-					:class="item.isCheck?'iconxuanzhong blue':'iconweixuanzhong gray'" 
-					@click="checkOnchange(item)"></text>
+					:class="item.isCheck?'iconxuanzhong blue':'iconweixuanzhong gray'" ></text>
 			</view>
 		</view>
 		<no-record :isShow="!list.length"></no-record>
@@ -106,7 +108,7 @@
 
 <style scoped>
 	.container{
-		padding: 10px 10px 0;
+		padding: 10px 10px 64px;
 	}
 	.sort-wrap{
 		display: flex;
@@ -118,6 +120,12 @@
 		font-size: 14px;
 		padding-left: 4px;
 	}
+	.avatar{
+		display: inline-block;
+		width: 38px;
+		height: 38px;
+		border-radius: 50%;
+	}
 	.first-name{
 		display: inline-block;
 		width: 38px;

--
Gitblit v1.9.1