<!--pages/yuezhan/search/index.wxml-->
<view class='container'>
  <view class='search-bar'>
    <view class='search-wrapper'>
      <text class='iconfont icon-sousuo fix-icon-search' bindtap='searchByText'></text>
      <input placeholder="输入关键词" bindconfirm="searchByText" bindinput="bindInput" value="{{searchText}}" data-key="searchText" class='search-input' focus="{{focus}}" />
    </view>
  </view>
  <view class='hot-search'>
    <view class='hot-search-title'>
      <text class='hot-search-title-txt'>热门搜索</text>
    </view>
    <view class='hot-tag'>
       <text wx:for="{{keyword}}" wx:key="{{index}}" bindtap='keywordSearch' data-keyword='{{item.dataValue}}' class='hot-tag-item'>{{item.dataValue}}</text>

    </view>
  </view>
</view>