serach.wxml
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--pages/my/edit_address/edit_address.wxml-->
<view class='page'>
<view class='banner'>
<view class='iconfont icon-fanhui' bindtap='getget'></view>
<view class='input_box'>
<view>
<input type="text" placeholder='{{hothothot}}' placeholder-class='banner_input' value='{{value}}' bindinput='get_keyWords' class='input_placeholder'></input>
</view>
<view class='iconfont icon-quxiao' bindtap='clear_keyword'></view>
</view>
<view class='serach' bindtap='send_search'>搜索</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='title_box'>
<view class='iconfont icon-remensousuo'></view>
<view class='title'>热门搜索</view>
</view>
<view class='recommendation_box'>
<view class='recommendation_item' wx:for='{{hotListSearch}}' wx:key='{{item}}' bindtap='click_search' data-value='{{item}}'>{{item}}</view>
</view>
</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='title_box'>
<view class='iconfont icon-remensousuo'></view>
<view class='title'>历史搜索</view>
</view>
<view class='recommendation_box'>
<view class='recommendation_item' wx:for='{{historyList}}' wx:key='{{item}}' bindtap='click_search' data-value='{{item}}'>{{item}}</view>
</view>
</view>
</view>
<view class='clear_box' bindtap='clear_history'>
<view class='iconfont icon-shanchu'></view>
<view>清空历史记录</view>
</view>
<view>
</view>
</view>