search.wxml 884 字节
<!--pages/homeindex/search/search.wxml-->
<!-- <text>pages/homeindex/search/search.wxml</text> -->
<view class='search'>
    <view class='search_inp'>
      <input type='text' placeholder='请输入商品名称'></input>
      <image src='../../../img/search.png'></image>
    </view>
    <view class='search_txt' bindtap='info'>
      搜索
    </view>
</view>
<view class='Popular'>
  <view class='Popular_title'>
    <text>热门搜索</text>
    <image src='../../../img/zuire@3x.png'></image>
  </view>
  <view class='Popular_list' >
    <view class='Popular_item' wx:for='{{recommend}}' wx:key>  
      {{recommend[index]}}
    </view>
    
  </view>
  <view class='History'>
    <view class='History_title'>历史搜索</view>
    <view class='History_list'>
      <view class='History_item'  wx:for='{{history}}' wx:key>{{history[index]}}</view>
    </view>
  </view>
</view>