crm_second_opening_mini/pagesA/crm/search/search.wxml

1 line
1.9 KiB
Plaintext
Raw Normal View History

2023-03-13 01:13:08 +00:00
<view><view class="search"><u-search vue-id="1440cfcc-1" autofocus="{{true}}" show-action="{{false}}" placeholder="请输入搜索关键词" value="{{value}}" data-event-opts="{{[['^change',[['onSearch']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-search></view><view class="searchbox"><view class="search_text">按指定类型搜索</view><view class="search_type"><view data-event-opts="{{[['tap',[['searchType',[1]]]]]}}" class="search_item" bindtap="__e"><image src="{{BASE_IMG_URL+'kehu1.png'}}" mode="scaleToFill"></image><view class="item_content">客户</view></view><view data-event-opts="{{[['tap',[['searchType',[2]]]]]}}" class="search_item" bindtap="__e"><image src="{{BASE_IMG_URL+'xiansuo1.png'}}" mode="scaleToFill"></image><view class="item_content">线索</view></view><view data-event-opts="{{[['tap',[['searchType',[3]]]]]}}" class="search_item" bindtap="__e"><image src="{{BASE_IMG_URL+'dh.png'}}" mode="scaleToFill"></image><view class="item_content">联系人</view></view></view></view><view class="search_history"><view class="history_head"><view>搜索历史</view><view data-event-opts="{{[['tap',[['clearHistory',['$event']]]]]}}" class="clear_title" bindtap="__e"><image class="delimg" src="{{BASE_IMG_URL+'clus_del.png'}}" mode></image><view>清除</view></view></view><block wx:for="{{searchHistory}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['historySearch',['$0'],[[['searchHistory','',index]]]]]]]}}" class="history_body" bindtap="__e"><view class="body_first">{{index+1}}</view><view class="body_second">{{item}}</view><view class="iconfont icon-search"></view></view></block><view style="height:100rpx;"></view><block wx:if="{{$root.g0==0}}"><u-empty vue-id="1440cfcc-2" text="暂无更多" mode="list" bind:__l="__l"></u-empty></block></view></view>