sellidel.wxml 5.1 KB
<!-- 卖闲置页面 -->
<view class="uploadtext">
  <text class="picture">图片</text>
  <text class="uploadimg">(最多上传5张图片,至少上传一张图片,可上传一个视频)如有购买记录,建议上图 </text>
</view>
<!-- begin:上传图片 -->
<view class="choseimg">
  <block wx:for="{{img}}" wx:key="">
    <view class="selectpic">
      <image src="{{item}}"></image>
      <div class="iconfont icon-chahao del" bindtap="delpic" data-id="{{index}}"></div>
    </view>
  </block>

   <block wx:if="{{videoimg!=''}}">
    <view class="selectpic">
      <!-- <image src="{{videoimg}}"></image> -->
      <video src="{{videoimg}}"></video>
    </view>
  </block>

  <view class="selectpic" wx:if="{{img.length<5}}" bindtap='uploadImage'>
    <image src="http://bronet.ibaby88.cn/cicon16@2x.png"></image>
  </view>
  <view class="selectpic" bindtap="chooseVideo" wx:if="{{videoimg==''}}">
    <image src="http://bronet.ibaby88.cn/cicon17@2x.png"></image>
  </view>
</view>
<!-- begin:列表填写 -->
<view class="enterinfo">
  <view class="commentlist-doctor user_place">
    <view class="commentlist_name entername">物品名称</view>
    <view class="commentlist_right enter_right">
      <input class="commentlsit_date" type="text" placeholder="简洁清晰,说明宝贝名称即可如尤妮佳纸尿裤" bindinput='getName'/>
    </view>
  </view>
  <view class="commentlist-doctor user_place">
    <view class="commentlist_name entername">转让价格</view>
    <view class="commentlist_right enter_right">
      <input class="commentlsit_date" type="number" placeholder="请输入物品价钱" bindinput='getPrice'/>
    </view>
  </view>
  <view class="commentlist-doctor user_place">
    <view class="commentlist_name entername">微信号</view>
    <view class="commentlist_right enter_right">
      <input class="commentlsit_date" type="text" placeholder="请输入微信号" bindinput='getPhone'/>
    </view>
  </view>
</view>
<!-- begin:列表选择 -->
<picker bindchange="getType" value="{{classify_index}}"  range="{{classify}}" range-key='name'>
  <view class="commentlist-doctor shopselect">
    <view class="commentlist_name">所属分类</view>
    <view class="commentlist_right">
      <view class="commentlsit_date selshop">{{classify[classify_index].name}}</view>
      <view class="row">
        <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
      </view>
    </view>
  </view>
</picker>
<view class="sellidel_select">
  <picker mode="region" bindchange="bindRegionChange"value="{{region}}"custom-item="{{customItem}}">
  <!--<picker bindchange="cityTap" bindcolumnchange="bindMultiPicker" value="{{multiIndex}}" range="{{multiArray}}" mode="multiSelector">-->
    <view class="commentlist-doctor shopselect">

          <view class="commentlist_name">所在区域</view>
          <view class="commentlist_right">
            <!-- <view class="commentlsit_date selshop">{{conCity[city_index]}}</view> -->
            <!-- <view class="commentlsit_date selshop">
              {{multiArray[0][multiIndex[0]]}},
              {{multiArray[1][multiIndex[1]]}}
            </view> -->
            <view class="picker commentlsit_date selshop">
              {{region[0]}},{{region[1]}},{{region[2]}}
            </view>
            <view class="row">
              <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
            </view>
          </view>

    </view>

  </picker>
  <picker bindchange="oldTap" value="{{old_index}}" range="{{degree}}" range-key='title'>
    <view class="commentlist-doctor shopselect">
      <view class="commentlist_name">新旧程度</view>
      <view class="commentlist_right">
        <view class="commentlsit_date selshop">{{degree[old_index].title}}</view>
        <view class="row">
          <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
        </view>
      </view>
    </view>
  </picker>
  <picker bindchange="postageTap" value="{{tage_index}}" range="{{conPostage}}">
    <view class="commentlist-doctor shopselect">
      <view class="commentlist_name">是否包邮</view>
      <view class="commentlist_right">
        <view class="commentlsit_date selshop">{{conPostage[tage_index]}}</view>
        <view class="row">
          <image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
        </view>
      </view>
    </view>
  </picker>
</view>
<!-- begin:物品描述 -->
<view class="goodedescribe">
  <view class="commentlist_name type_good">物品描述</view>
  <view class="enterdescribe">
    <textarea bindblur="bindTextAreaBlur" class="describetext" bindinput='getDescribe' placeholder="在此描述你的物品:如品牌、规格、橙色、购买渠道、转手原因等" />
  </view>
</view>
<view class="support">
  <view class="supportitem {{parcel==0?'parcurr':''}}" data-current="0" bindtap='clickTab'>仅支持自取</view>
  <view class="supportitem {{parcel==1?'parcurr':''}}" data-current="1" bindtap='clickTab'>仅支持快递</view>
  <view class="supportitem {{parcel==2?'parcurr':''}}" data-current="2" bindtap='clickTab'>支持快递或自取</view>
</view>
<!-- begin:按钮 -->
<view class="publish" bindtap='isEmpty'>发布</view>