used.wxml 4.4 KB
<!-- begin:二手闲置  淘好货页面 -->
<view class="used_head">
  <!-- begin:搜索 -->
  <view class="search">
    <view class="search_hospital">
      <input placeholder="搜索物品" type='text' confirm-type='send' class="enterword" bindinput='getKeywords'/>
    </view>
    <view class="searchimg" bindtap='searchProducts'>
      <image src="http://bronet.ibaby88.cn/aicon02@2x.png"></image>
    </view>
  </view>
  <view class="used_right">
    <view class="used_right_img" bindtap='explTap'>
      <image src="http://bronet.ibaby88.cn/cicon02@2x.png"></image>
    </view>
    <picker bindchange="bindprovinceChange" value="{{index}}" range="{{provincearray}}"         class="used_right_img">
    <view class="used_right_img">
      <image src="http://bronet.ibaby88.cn/cicon03@2x.png"></image>
    </view>
     <!-- <view class="picker">
      当前选择:{{array[index]}}
    </view> -->
    </picker>
  </view>
</view>
<!-- begin:分类列表 -->
<view class="used_list">
  <view class="used_list_item" wx:for="{{used_inglist}}" wx:key="img_item" bindtap="usedkind" data-used_id="{{item.goods_cate_id}}" data-usename="{{item.name}}">
    <view class="used_list_img">
      <image src="{{item.thumb}}"></image>
    </view>
    <view class="used_list_name">{{item.name}}</view>
  </view>
</view>
<!-- begin:列表 -->
<view class='nodata' wx:if='{{productList.length == 0}}'>暂无相关数据</view>
<view class="good_list" wx:else>
  <block wx:for='{{productList}}' wx:key='' >
    <view class="good_list_item" data-goods_id="{{item.goods_id}}" bindtap="{{item.status != 3?'skipDetail':''}}">

    <!-- 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" style="padding-right:8rpx">{{item.city}}</text>
            <text class="price_address">|</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>
<!-- begin:固定底部 -->
<view class="mypublish_foot">
  <view class="mypublish_item">
  <view class=''></view>
    <view class="mypublish_img">
      <image src="http://bronet.ibaby88.cn/nav12@2x.png"></image>
    </view>
    <view class="mypublish_name naughgty">淘好货</view>
  </view>
  <view class="mypublish_item" bindtap="navgater" data-type='sellidel'>
    <view class='center_box'>
      <view class="sell_mypublish_img">
        <image src="http://bronet.ibaby88.cn/nav13@2x.png"></image>
      </view>
      <view class="mypublish_name sellname">卖闲置</view>
    </view>
    
  </view>
  <view class="mypublish_item" bindtap="navgater" data-type='mypublish'>
    <view class="mypublish_img" >
      <image src="http://bronet.ibaby88.cn/nav14@2x.png"></image>
    </view>
    <view class="mypublish_name mypublish" >我的发布</view>
    <view class="publishdot" wx:if="{{dot.length!=0}}"></view>
  </view>
</view>
<!-- begin:说明弹层 -->
<view wx:if="{{expState}}"></view>
<view class='explain_fn' wx:else>
  <view class='explain_box'>
    <view class='explain_title'>说明</view>
    <text class='explain_txt'>1、真实个人闲置物品,杜绝商业买卖!如管理员发现商业信息会立即删除,并对发布者永久禁言
    </text>
    <text class='explain_txt distance'>2、美妈们可私聊后再交易,如有需要,可联系孕育妈咪圈的小秘书免费为您做资金托管,小秘书微信号 ibaby222。
    </text>
    <text class='explain_txt distance'>3、由于二手物品的特殊性,此平台仅提供资金托管服务,不做售后纠纷处理哦~</text>
    <view class='explain_btn' bindtap='explClose'>我知道了</view>
  </view>
</view>