CustomerInfo.wxml 1.64 KB
<popup title="选择客户" show="{{show}}" bindconfirm="confirm" height="90%">
		<view class="car-brands-box">
				<search-input bindsearch="searchCar" />
				<view class="car-brands">
						<view class="label title y-center">
								<span class="labelName">姓名</span>
								<span class="labelPhone">| 手机号</span>
						</view>
						<scroll-view style="height: calc(100% - var(--fontSize88))" scroll-y scroll-into-view="{{letter}}">
								<block wx:if="{{customerList.length > 0}}">
										<view class="box">
												<block wx:for="{{customerList}}" wx:for-item="item" wx:key="ind" wx:for-index="ind">
														<view class="list y-center child {{item.active?'active':''}}" data-item="{{item}}" data-index="{{ind}}" catchtap="choose">
																<span class="name text-hide">{{item.customer.customerName}}</span>
																<span class="carType " wx:if="{{item.carType.length}}">
																		<view>(</view>
																		<view class="text-hide cartypeLabel">{{item.carType}}</view>
																		<view>)</view>
																</span>
																<span class="phone">{{item.customer.customerPhone}}</span>
																<!-- {{c.name}} {{c.active?'active':''}} {{c.isTitle?'title':''}} -->
																<view class="icon">
																		<image src="../images/choose.png" />
																</view>
														</view>
												</block>
										</view>
								</block>
								<block wx:if="{{ brandList.length <= 0}}">
										<view class="nothing">暂无数据</view>
								</block>
						</scroll-view>
						<view class='tips' hidden='{{!showTip}}'>{{letter}}</view>
				</view>
		</view>
</popup>