usedkind.wxml 4.6 KB
<!-- begin:筛选条件 -->

 <view class='filtrate_box' wx:if="{{filState}}" catchtouchmove='true'>
    <view class='filtr_title'>快捷标签(可多选)</view>
    <view class='filtr_box'>
      <view class="filtr_type {{currTab1==3?'filtr_curr':''}}" bindtap='filtrTap1' data-current="3">同城</view>
      <view class="filtr_type {{currTab2==1?'filtr_curr':''}}" bindtap='filtrTap2' data-current="1">全新</view>
      <view class="filtr_type {{currTab3==2?'filtr_curr':''}}" bindtap='filtrTap3' data-current="2">包邮</view>
    </view>
    <view class='filtr_title filtr_price'>价格范围(元)</view>
    <view class='filtr_menu'>
      <input class='menu_input' type='number' placeholder='最低价' bindblur="enterlow" value="{{low_price}}"></input>-
      <input class='menu_input' type='number' placeholder='最高价' bindblur="enterhigh" value="{{hight_price}}"></input>
    </view>  
    <view class='filtr_box'>
      <button class="filtr_type {{moneyId==1?'filtr_curr':''}}" disabled="{{selectbtn}}" bindtap='moneyTap' data-money="1">100元以下</button>
      <button class="filtr_type {{moneyId==2?'filtr_curr':''}}" disabled="{{selectbtn}}" bindtap='moneyTap' data-money="2">200元以下</button>
      <button class="filtr_type {{moneyId==3?'filtr_curr':''}}" disabled="{{selectbtn}}" bindtap='moneyTap' data-money="3">300元以下</button>
    </view>
    <view class='filtr_box'>
      <button class="filtr_type {{moneyId==4?'filtr_curr':''}}" disabled="{{selectbtn}}"bindtap='moneyTap' data-money="4">500元以下</button>
      <button class="filtr_type {{moneyId==5?'filtr_curr':''}}" disabled="{{selectbtn}}"bindtap='moneyTap' data-money="5">1000元以下</button>
      <button class="filtr_type {{moneyId==6?'filtr_curr':''}}" disabled="{{selectbtn}}"bindtap='moneyTap' data-money="6">3000元以下</button>
    </view>
    <!-- begin:按钮 -->
    <view class='filtr_bom'>
      <view class='reset_btn' bindtap="reset">重置</view>
      <view class='affirm_btn' bindtap='affirmTap'>确认</view>
    </view>
  </view>


 
  

<!-- 分类页面 -->

<view class="good_list">
  <!-- begin:搜索 -->
  <view class='used_serch'>
    <view class='used_box'>
      <text class='iconfont icon-sousuo'></text>
      <input class='used_input' type='text' placeholder='输入搜索相关内容' bindinput="entersearch"></input>
    </view>
    <view class='used_txt'  bindtap='searchgood'>搜索</view>
  </view>
  <!-- begin:下拉选择 -->
  <view class='used_menu'>
  <picker bindchange="bindprovinceChange" value="{{index}}" range="{{provincearray}}"         class="used_screen">
    <view class='used_screen'>
      <!-- <text>全国</text> -->
       <text>{{provincearray[provinceindex]}}</text>
      <view class='used_arr'><image src='../../../img/eicon07@2x.png'></image></view>
    </view>
   </picker>
    <picker bindchange="bindorderChange" value="{{orderindex}}" range="{{orderarray}}" class='used_screen'>
    <view class='used_screen'>
      <text>{{orderarray[orderindex]}}</text>
      <view class='used_arr'><image src='../../../img/eicon07@2x.png'></image></view>
    </view>
    </picker>
    <view class='used_screen' bindtap='chooseTap'>
      <text>筛选</text>
      <view class='iconfont icon-none'></view>
    </view>
  </view>
  
  <block wx:if="{{classifyList.length == 0}}"><text class='ify_none'>暂无数据</text></block>

  <view  wx:else>
   <block wx:for="{{classifyList}}" wx:key="" >
    <view class="good_list_item" bindtap="{{item.status != 3?'goodtail':''}}" data-goods_id="{{item.goods_id}}">
        <!-- begin:已转出 -->
        <block wx:if="{{item.status == 3}}">
          <view class='good_out'><image src='http://bronet.ibaby88.cn/cicon12@2x.png'></image></view>
        </block>

        <view class="good_list_img">
          <image src="{{item.images[0]}}"></image>
        </view>
        <view class="good_list_content">
          <view class="good_list_content_name">{{item.title}}</view>
          <view class="good_list_content_price">
            <view class="price_num">¥{{item.price}}</view>
            <view class="good_address">
              <text class="price_address city_address">{{item.province}}</text>
              <text class="price_address detail_address">{{item.city}}</text>
               <text class="price_address detail_address">{{item.area}}</text>
            </view>
          </view>
          <view class="good_list_use">
            <view class="good_list_use_img">
              <image src="{{item.avatar}}"></image>
            </view>
            <view class="good_list_use_name">{{item.user_nickname}}</view>
          </view>
        </view>
    </view>
  </block>
  </view>
 
</view>