<!--pages/components/blocks/search_box/search_box.wxml-->
<view class='search_box'>
    <input placeholder='搜索商品 品牌 功效 规格...' class='search_input' focus auto-focus bindinput="input"></input>
    <text class='search_btn' bindtap='search_btn'>搜索</text>
</view>
<view class='flex_clear'></view>
<scroll-view scroll-y wx:if="{{searchItems.length > 0}}" class='search_list'>
  <block wx:key="{{index}}" wx:for="{{searchItems}}">
    <view class='search_item' data-word="{{item}}" bindtap='skip_target'>{{item}}</view>
  </block> 
</scroll-view>
