168 lines
6.2 KiB
Plaintext
168 lines
6.2 KiB
Plaintext
<!--packageE/community_buying/addinfo/addinfo.wxml-->
|
|
|
|
<view class="h2">基本信息</view>
|
|
<view class="wrapper">
|
|
<view class="inputWrapper">
|
|
<text class="required">*</text>
|
|
<text class="desc">姓名</text>
|
|
<input type="text" class="input" model:value="{{realname}}" placeholder="请输入你的姓名" />
|
|
</view>
|
|
</view>
|
|
<view class="h2">提货卡信息</view>
|
|
<view class="wrapper">
|
|
<view class="inputWrapper">
|
|
<text class="required">*</text>
|
|
<text class="desc">提货卡名称</text>
|
|
<input type="text" class="input" model:value="{{deliver_name}}" placeholder="请输入提货点名称" />
|
|
</view>
|
|
<view class="inputWrapper">
|
|
<text class="required">*</text>
|
|
<text class="desc">提货卡电话</text>
|
|
<input type="number" class="input" model:value="{{deliver_mobile}}" placeholder="请输入提货点电话" />
|
|
</view>
|
|
<view class="inputWrapper" bindtap="addressShowbtn">
|
|
<text class="required">*</text>
|
|
<text class="desc">所在城市</text>
|
|
<text class="input right">{{addressName?addressName:'选择城市'}}</text>
|
|
<text class="iconfont icon-advertise-next"></text>
|
|
</view>
|
|
<view class="inputWrapper" wx:if="{{strShow}}" bindtap="streetShowbtn">
|
|
<text class="required">*</text>
|
|
<text class="desc">所在街道</text>
|
|
<text class="input right">{{street?street:'选择街道'}}</text>
|
|
<text class="iconfont icon-advertise-next"></text>
|
|
</view>
|
|
<view class="inputWrapper">
|
|
<text class="required">*</text>
|
|
<text class="desc">详细地址</text>
|
|
<input type="text" class="input" model:value="{{address}}" placeholder="请输入详细地址" />
|
|
</view>
|
|
<view class="inputWrapper" wx:if="{{false}}">
|
|
<text class="required">*</text>
|
|
<text class="desc">地理位置</text>
|
|
<text type="text" class="input" >{{full_address}}</text>
|
|
<van-icon name="location-o" color="red" />自动定位
|
|
</view>
|
|
<view class="inputWrapper">
|
|
<text class="required">*</text>
|
|
<text class="desc">营业开始时间</text>
|
|
<picker class="input right" mode="time" value="{{business_hours_start}}" bindchange="bindStartTimeChange">
|
|
<text>{{business_hours_start}}</text>
|
|
</picker>
|
|
<text class="iconfont icon-advertise-next"></text>
|
|
</view>
|
|
<view class="inputWrapper">
|
|
<text class="required">*</text>
|
|
<text class="desc">营业结算时间</text>
|
|
<picker class="input right" mode="time" value="{{business_hours_end}}" bindchange="bindEndTimeChange">
|
|
<text>{{business_hours_end}}</text>
|
|
</picker>
|
|
<text class="iconfont icon-advertise-next"></text>
|
|
</view>
|
|
|
|
<view class="inputWrapper fileWrapper">
|
|
<view class="c1">
|
|
<text class="required">*</text>
|
|
<text class="desc">营业执照、食品流通许可证等资质证照</text>
|
|
</view>
|
|
<!-- <view class="staImg" data-index="1" catchtap='onRead_1'>
|
|
<image class="" src="{{imagefile1 ? imagefile1[0] : 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bg_business@2x.png'}}"></image>
|
|
</view> -->
|
|
<view class="qitaimgbox">
|
|
<view class="qitaimage" wx:for="{{imagefile1}}" wx:key="index">
|
|
<image class="qitaMax" src="{{item}}"></image>
|
|
<view class="icon-cel">
|
|
<van-icon name='close' color="red" catchtap="delIntu_5" id="{{index}}"></van-icon>
|
|
</view>
|
|
</view>
|
|
<view class="qitaimage" catchtap='onRead_5'>
|
|
<image class="qitaMin" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png"></image>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<view class="inputWrapper fileWrapper">
|
|
<view class="c1">
|
|
<text class="required">*</text>
|
|
<text class="desc">身份证人像面</text>
|
|
</view>
|
|
<view class="staImg" data-index="3" catchtap='onRead_1'>
|
|
<image class="" src="{{imagefile3 ? imagefile3 : 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bg_idcard_up@2x.png'}}"></image>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="inputWrapper fileWrapper">
|
|
<view class="c1">
|
|
<text class="required">*</text>
|
|
<text class="desc">身份证国徽面</text>
|
|
</view>
|
|
<view class="staImg" data-index="2" catchtap='onRead_1'>
|
|
<image class="" src="{{imagefile2 ? imagefile2 : 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/bg_idcard_down@2x.png'}}"></image>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="inputWrapper fileWrapper">
|
|
<view class="c1">
|
|
<text class="required">*</text>
|
|
<text class="desc">自提点图片</text>
|
|
</view>
|
|
<view class="qitaimgbox">
|
|
<view class="qitaimage" wx:for="{{imageList}}" wx:key="index">
|
|
<image class="qitaMax" src="{{item}}"></image>
|
|
<view class="icon-cel">
|
|
<van-icon name='close' color="red" catchtap="delIntu_6" 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="send" bindtap="pushData">提交</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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> |