| | |
| | | <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"> |
| | |
| | | <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> |
| | |
| | | font-size: 14px; |
| | | padding-left: 4px; |
| | | } |
| | | .avatar{ |
| | | display: inline-block; |
| | | width: 38px; |
| | | height: 38px; |
| | | border-radius: 50%; |
| | | } |
| | | .first-name{ |
| | | display: inline-block; |
| | | width: 38px; |