<!--packageD/o2o/recommendlist/recommendlist.wxml-->

<view class="searchBox" >
  <view class="searchinp" catchtap="goText">
    <icon class="iconfont icon-sousuo1"></icon>
    <van-field value="{{ inputs }}" placeholder="请输入关键字进行搜索" border="{{ false }}" bind:inp="inpbtn" clearable bind:clear="inpbtnclear"/>
  </view>
  <view class="tab_classify">
    <picker bindchange="bindPickerChange" class="tab_lefr" value="{{ind}}" range="{{category}}" range-key="name">
      <view data-tap="left" style="display:flex">
        <text>{{first_name?"一级分类: "+first_name:"一级分类"}}</text>
        <van-icon  name="arrow-down" />
      </view>
    </picker>
    <view class="{{first_name !=false?'line':'none'}}"></view>
    <picker class="{{first_name !=false?'tab_right':'none'}}" bindchange="bindPickerChange_two" value="{{twos}}" range="{{twos_list}}" range-key="name">
      <view data-tap="right" style="display:flex">
        <text>{{twos_name?"二级分类: "+twos_name:"二级分类"}}</text>
        <van-icon  name="arrow-down" />
      </view>
    </picker>
    <!-- <view class="first_show" catchtap="tapOn" wx:if="{{left_show}}">
      <view wx:for="{{category}}" :key="ind" catchtap="tapfirst" data-name="{{item.name}}">{{item.name}}      </view>
    </view>
    <view class="two_show" catchtap="tapOn" wx:if="{{right_show}}">
      <view wx:for="{{testarr}}" :key="index">{{item}}</view>
    </view> -->
  </view>
  <view style='margin-bottom:150rpx;'>
    <van-checkbox-group value="{{result}}" bind:change="rentAllSelectHandle">
      <view class="shoplist_box" wx:for="{{goods_data}}" wx:key='index'>
        <van-checkbox name='{{item.id}}' checked-color="#f15353" wx:key="{{item}}"></van-checkbox>
        <view class="shopimage">
          <image src="{{item.change_thumb}}"></image>
        </view>
        <view class="shopText">
          <view class="shopText_top">
            {{item.title}}
          </view>
          <view class="shopText_bottom">
            <text>{{language['money']}}</text>
            <text>{{item.price}}</text>
          </view>
        </view>
      </view>
    </van-checkbox-group>
  </view>

</view>
<view class="bottomBtn">
  <text>商品展示数量：{{show_num}}</text>
  <view class="btn" catchtap="btntap">确定</view>
</view>

