crm_second_opening_mini/components/selectCustomer.wxml

24 lines
2.3 KiB
Plaintext
Raw Normal View History

2023-03-15 09:46:05 +00:00
<view class="data-v-b7fb50f4">
<uni-popup vue-id="633301b1-1" type="bottom" background-color="#fff" data-ref="popup" data-event-opts="{{[['^touchmove',[['',['$event']]]]]}}" catch:touchmove="__e" class="data-v-b7fb50f4 vue-ref" bind:__l="__l" vue-slots="{{['default']}}">
<view class="popup_title data-v-b7fb50f4">选择客户</view>
<view class="searbox data-v-b7fb50f4">
<image class="searimg data-v-b7fb50f4" src="{{BASE_IMG_URL+'ss.png'}}" mode="scaleToFill"></image><input class="{{['li_box','data-v-b7fb50f4',keyword?'fontactive':'']}}" type="text" placeholder-style="color:#999;" placeholder="客户名称" data-event-opts="{{[['input',[['__set_model',['','keyword','$event',[]]],['searchName',['$event']]]]]}}"
value="{{keyword}}" bindinput="__e" /></view>
<scroll-view class="scrollbox data-v-b7fb50f4" scroll-y="{{true}}" lower-threshold="30" data-event-opts="{{[['scrolltolower',[['loadMoredata',['$event']]]]]}}" bindscrolltolower="__e">
<block wx:for="{{customerlist}}" wx:for-item="item" wx:for-index="index" wx:key="index">
<view data-event-opts="{{[['tap',[['selectItem',['$0',index],[[['customerlist','',index]]]]]]]}}" class="liwarp data-v-b7fb50f4" bindtap="__e">
<view class="warpleft data-v-b7fb50f4">
<view class="name data-v-b7fb50f4">{{"名称:"+item.name}}</view>
</view><label class="radio data-v-b7fb50f4"><radio value="r1" color="#03aa96" checked="{{preseCustomerObj.id==item.id}}" class="data-v-b7fb50f4"></radio></label></view>
</block>
<block wx:if="{{$root.g0==0}}">
<view class="noData data-v-b7fb50f4">暂无更多</view>
</block>
</scroll-view>
<view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="btnlist data-v-b7fb50f4" catchtap="__e">
<view data-event-opts="{{[['tap',[['hideSelect',['$event']]]]]}}" class="btn secbtn data-v-b7fb50f4" bindtap="__e">取消</view>
<view data-event-opts="{{[['tap',[['addlink',['$event']]]]]}}" class="btn secbtn data-v-b7fb50f4" bindtap="__e" style="background: #0090fe;">新增</view>
<view data-event-opts="{{[['tap',[['sureSelect',['$event']]]]]}}" class="btn firbtn data-v-b7fb50f4" bindtap="__e">确定</view>
</view>
</uni-popup>
</view>