<!--packageC/selfCarry/selfCarryApply/selfCarryApply.wxml-->
<!-- <import src="../../../wxParse/wxParse.wxml" /> -->
<view class="income" hidden="{{shenqShow}}">
  <view class="supplier">
    <view class="banner" wx:if="{{top_thumb}}">
      <image src="{{top_thumb}}" mode='widthFix' />
    </view>
    <view class="main" wx:if="{{o2o_status==1}}">
      <van-cell-group>
        <view class="titlemessage">
            <view class="titleIcon"></view>
            <view>账号信息</view>
            <icon class="iconfont icon-service nrig" wx:if='{{!is_hotel&&cservice}}' catchtap="callKf"></icon>
            <button open-type="contact">
            </button>
        </view>
        <van-field label="登录账号 " value="{{apply.username}}" placeholder="账号" border="{{ false }}" bind:blur="usernameinp" noIs='{{ noIs }}' bor='{{ bor }}'/>
        <van-field label="登录密码 " type="password" value="{{apply.password}}" placeholder="设置密码" border="{{ false }}" bind:input="passwordinp" noIs='{{ noIs }}' bor='{{ bor }}'/>
        <view class="tips" wx:if="{{pass_safe == 1 && showtips}}">密码至少8-16个字符，至少1个大写字母，1个小写字母和1个数字，其他可以是任意字符</view>
        <van-field label="姓名 " value="{{apply.realname}}" placeholder="姓名" border="{{ false }}" bind:blur="realnameinp" noIs='{{ noIs }}' bor='{{ bor }}'/>
        <van-field label="手机号 " type="number" value="{{apply.mobile}}" placeholder="手机号" border="{{ false }}" bind:blur="mobileinp" noIs='{{ noIs }}' bor='{{ bor }}'/>
      </van-cell-group>
      <view class="bwText">
        <view>
          注：账号/密码用于您登录PC端管理后台，请务必牢记！
        </view>
      </view>
      <van-cell-group>
        <view class="titlemessage">
            <view class="titleIcon"></view>
            <view>提货点信息</view>
        </view>
        <van-field label="提货点名称" value="{{apply.deliver_name}}" placeholder="提货点名称" border="{{ false }}" bind:blur="storeNameinp" noIs='{{ noIs }}' bor='{{ bor }}'/>
        <van-cell title="所在城市 " bind:click="addressShowbtn" value="{{addressName?addressName:'选择城市'}}" is-link noIs='{{ noIs }}' bor='{{ bor }}'/>
        <van-cell wx:if="{{strShow}}" title="所在街道：" bind:click="streetShowbtn" value="{{street?street:'选择街道'}}" is-link noIs='{{ noIs }}' bor='{{ bor }}'/>
        <van-field label="详细地址 " value="{{apply.address}}" placeholder="填写详细地址" border="{{ false }}" bind:blur="addressinp" noIs='{{ noIs }}' bor='{{ bor }}'/>
        <view class="mapshow">
          <view class="left">定位位置
            <text >*</text>
            <view>{{mapdata_address}}</view>
          </view>
          <view class="right"catchtap="goloc">
            <view class="bottom">
              <van-icon name="location-o" color="red" />
                切换
            </view>
            <!-- <view class="top">
              选择
            </view> -->
          </view>
        </view>
        <picker mode="time" value='{{apply.business_hours_start}}' start="00:00" end="24:00" bindchange='beginTimemessage'>
          <van-cell title="营业开始时间" value="{{apply.business_hours_start?apply.business_hours_start:'营业开始时间:'}}" is-link noIs='{{ noIs }}' bor='{{ bor }}'/>
        </picker>
        <picker mode="time" value='{{apply.business_hours_end}}' start="00:00" end="24:00" bindchange='endTimemessage'>
          <van-cell title="营业结束时间" value="{{apply.business_hours_end?apply.business_hours_end:'营业结束时间'}}" is-link noIs='{{ noIs }}' bor='{{ bor }}'/>
        </picker>
        <!-- <van-field label="备注信息：" type="textarea" value="{{apply.remark}}" placeholder="{{apply.remark}}" border="{{false}}" maxlength="{{100}}" autosize="{{true}}" bind:blur="remarkinp" /> -->
      </van-cell-group>
      <view class="statusSet">
        <view class="titlemessage tittop">
          <view class="titleIcon"></view>
          <view>资质证件</view>
        </view>
        <view class="statusBox">
          <view class="statusTitle">营业执照 <text>*</text></view>
          <view class="staImg" catchtap='onRead_3'>
            <image class="{{fileList3?'imaborder':''}}" src="{{fileList3?fileList3:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bg_business@2x.png'}}"></image>
          </view>
        </view>
        <view class="statusBox">
          <view class="statusTitle">身份证人像面 </view>
          <view class="staImg" catchtap='onRead_5'>
            <image class="{{fileList5?'imaborder':''}}" src="{{fileList5?fileList5:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bg_idcard_up@2x.png'}}"></image>
          </view>
        </view>
        <view class="statusBox">
          <view class="statusTitle">身份证国徽面 </view>
          <view class="staImg" catchtap='onRead_4'>
            <image class="{{fileList4?'imaborder':''}}" src="{{fileList4?fileList4:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bg_idcard_down@2x.png'}}"></image>
          </view>
        </view>
        <view class="qitaimg">
          <view class="qitaTitle">自提点图片 <text>*</text></view>
          <view class="qitaimgbox">
            <view class="qitaimage" wx:for="{{showpaths_two}}" wx:key="index">
              <image class="qitaMax" src="{{item}}"></image>
              <view class="icon-cel">
                <van-icon name='close' color="red" catchtap="delIntu_2" id="{{index}}"></van-icon>
              </view>
            </view>
            <view class="qitaimage" catchtap='onRead_6'>
              <image class="qitaMin" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png"></image>
            </view>
          </view>
        </view>
      </view>
      <view class="textWork">
        <view class="titlemessage tittop">
          <view class="titleIcon"></view>
          <view>备注信息</view>
        </view>
        <view class="area" >
          <textarea maxlength='100' placeholder='填写备注信息' bindblur='remarkinp'></textarea>
        </view>
      </view>
      <view class="choosebtn">
        <view class="right">
          <van-checkbox value="{{agreementChoose}}" checked-color="#f15353" shape="square" bind:change="Chooseinp"></van-checkbox>
        </view>
        <view class="left">阅读并同意<text catchtap='shenqShow'>《商家入驻协议》</text></view>
      </view>
      <view class="submit btn" catchtap="setApplyData">申请</view>
      <!-- <view class="vip_main" wx:if="{{!(o2o_info==null||o2o_info==''||o2o_info==undefined)}}">
        <view class="title">申请协议：</view>
        <view class="vip">
          <view class="text">
            <view class="t1">
              <rich-text nodes="{{o2o_info}}"></rich-text>
            </view>
          </view>
        </view>
      </view> -->
    </view>
    <view class="success" wx:if="{{o2o_status==2}}">
      <view class="ico">
        <van-icon name="passed" size="160rpx" color="#32cd32" />
      </view>
      <view class="text">您的申请已经提交！</view>
      <view class="a" catchtap="goHome">
        <view class="sub">去商城逛逛</view>
      </view>
    </view>
    <!-- <view class="success" wx:if="{{o2o_status==2}}">
      <view class="ico">
        <van-icon name="passed" size="160rpx" color="#32cd32" />
      </view>
      <view class="text">您已通过审核</view>
      <view class="a" catchtap="goHome">
        <view class="sub">去商城逛逛</view>
      </view>
    </view> -->
  </view>
</view>
<van-popup show="{{shenqShow}}" custom-style="width:100%;height:100%;" position="right" bind:close="onClose" >
  <van-nav-bar title="申请协议" left-text="" right-text="" left-arrow bind:click-left="onClicksQ" />
  <view class="vip_main">
    <!-- <view class="title">申请协议：</view> -->
    <view class="vip">
      <view class="text">
        <view class="t1">
          <rich-text nodes="{{o2o_info}}"></rich-text>
        </view>
      </view>
    </view>
  </view>
</van-popup>
<view class="b-mask {{addressShow}}" bindtap="_closeDateLw"></view>
<view class="dateBe {{addressShow}}">
  <view class="head">
    <view class="ll" bindtap="_closeDateLw">取消</view>
    <view class="rr" bindtap="resultAdd">确定</view>
  </view>
  <view class="main">
    <picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;" value="{{[pickerValue[0],pickerValue[1],pickerValue[2]]}}" bindchange="bindChange">
      <picker-view-column id="provinceData">
        <view wx:for="{{provinceData}}" wx:key="index" style="line-height: 50px">{{item.areaname}}</view>
      </picker-view-column>
      <picker-view-column id="cityData">
        <view wx:for="{{cityData}}" wx:key="index" style="line-height: 50px">{{item.areaname}}</view>
      </picker-view-column>
      <picker-view-column id="districtData">
        <view wx:for="{{districtData}}" wx:key="index" style="line-height: 50px">{{item.areaname}}</view>
      </picker-view-column>
    </picker-view>
  </view>
</view>
<van-popup show="{{streetShow}}" custom-style="width:100%;height:100%;overflow:auto" position="right" bind:close="onClose">
  <van-nav-bar title="选择街道" left-text="" right-text="" left-arrow bind:click-left="treetShowLeft" />
  <view class="content">
    <block wx:for="{{districtVal}}" wx:key="index">
      <van-cell title="{{item.areaname}}" data-item="{{item}}" bind:click="streetConfirm" is-link />
    </block>
  </view>
</van-popup>
<!-- <van-popup show="{{beginTimeshow}}" position="bottom" bind:close="beginTimeClose">
	<van-datetime-picker type="time" value="{{apply.beginTime}}" bind:cancel="beginTimeClose" bind:confirm="beginTimemessage" />
</van-popup>
<van-popup show="{{endTimeshow}}" position="bottom" bind:close="endTimeClose">
	<van-datetime-picker type="time" value="{{apply.endTime}}" bind:cancel="endTimeClose" bind:confirm="endTimemessage" />
</van-popup> -->
<!--<shopfoot></shopfoot>-->
