yuminge-app/yun-min-program-plugin-master/packageA/member/storeApply/storeApply.wxml

311 lines
16 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--pages/storeApply/storeApply.wxml-->
<!-- <import src="../../../wxParse/wxParse.wxml" /> -->
<view class="income" hidden="{{shenqShow}}">
<view class="supplier">
<view class="banner">
<image src="{{is_hotel?'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hotel.png':(top_thumb?top_thumb:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/o2oapply.png')}}" mode='widthFix' />
</view>
<view class="main" wx:if="{{o2o_status==1 || o2o_status==-1}}">
<van-cell-group>
<view class="titlemessage" wx:if="{{!customer_open}}">
<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>
<view class="titlemessage" wx:if="{{customer_open}}">
<view class="titleIcon"></view>
<view>账号信息</view>
<icon class="iconfont icon-service nrig" wx:if='{{!is_hotel&&cservice}}' bindtap="showPop"></icon>
</view>
<van-field required="{{true}}" label="登录账号 " value="{{applyModel.username}}" placeholder="账号" border="{{ false }}" bind:blur="usernameinp" noIs='{{ noIs }}' bor='{{ bor }}' />
<van-field required="{{true}}" label="登录密码 " type="password" value="{{applyModel.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 required="{{true}}" label="姓名 " value="{{applyModel.realname}}" placeholder="姓名" border="{{ false }}" bind:blur="realnameinp" noIs='{{ noIs }}' bor='{{ bor }}' />
<van-field required="{{true}}" label="手机号 " type="number" value="{{applyModel.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>{{is_hotel? (hotelTitleType+'信息:'):'门店信息:'}}</view>
</view>
<van-field required="{{true}}" label="{{is_hotel?(hotelTitleType+'名称 '):'门店名称 '}}" value="{{applyModel.storeName}}" placeholder="{{is_hotel?(hotelTitleType+'名称'):'门店名称'}}" border="{{ false }}" bind:blur="storeNameinp" noIs='{{ noIs }}' bor='{{ bor }}' />
<van-cell required="{{true}}" title="{{is_hotel?hotelTitleType+'分类':'门店分类'}} " bind:click="showCategory" value="{{categoryName?categoryName:'选择门店分类'}}" is-link noIs='{{ noIs }}' bor='{{ bor }}' />
<van-cell required="{{true}}" wx:if="{{is_hotel}}" title="星级:" bind:click="levelShowbtn" value="{{levelName?levelName:'请选择星级'}}" is-link noIs='{{ noIs }}' bor='{{ bor }}' />
<van-cell required="{{true}}" 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 required="{{true}}" label="详细地址(门牌号) " value="{{applyModel.address}}" placeholder="填写详细地址" border="{{ false }}" bind:blur="addressinp" noIs='{{ noIs }}' bor='{{ bor }}' />
<view class="mapshow">
<view class="left">地理位置
<text wx:if='{{!is_hotel}}'>*</text>
<view>{{mapdata_address}}</view>
</view>
<view class="right" catchtap="toGeolocation">
<view class="bottom">
<van-icon name="location-o" color="red" />
{{mapdata_address?'切换':'自动定位'}}
</view>
<!-- <view class="top">
选择
</view> -->
</view>
</view>
<picker mode="time" value='{{applyModel.beginTime}}' start="00:00" end="24:00" bindchange='beginTimemessage'>
<van-cell required="{{true}}" title="{{is_hotel?'入住时间':'营业开始时间'}}" value="{{applyModel.beginTime?applyModel.beginTime:(is_hotel?'入住时间':'营业开始时间:')}}" is-link noIs='{{ noIs }}' bor='{{ bor }}' />
</picker>
<picker mode="time" value='{{applyModel.endTime}}' start="00:00" end="24:00" bindchange='endTimemessage'>
<van-cell required="{{true}}" title="{{is_hotel?'离开时间':'营业结束时间'}}" value="{{applyModel.endTime?applyModel.endTime:(is_hotel?'离开时间':'营业结束时间:')}}" is-link noIs='{{ noIs }}' bor='{{ bor }}' />
</picker>
<view class="image-list">
<view class="otherphoto section">
<view class="top">
<view class="span">{{is_hotel? (hotelTitleType+'图片:'):'门店logo'}}<text wx:if='{{!is_hotel}}'>*</text></view>
</view>
<view class="imgflex">
<view class="photoshow" data-name="{{item.name}}" catchtap="onRead">
<image class="{{imageUrl?'yimg':'cimg'}}" src="{{imageUrl?imageUrl:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png'}}" />
</view>
<view class="imtext">建议方形图片</view>
</view>
</view>
</view>
<view class="image-list" wx:if="{{!is_hotel}}">
<view class="otherphoto section">
<view class="top">
<view class="span">门店banner</view>
</view>
<view class="imgflex2">
<view class="photoshow" catchtap="onRead_1">
<image class="{{fileList2?'yimg':'cimg'}}" src="{{fileList2?fileList2:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png'}}" />
</view>
<view class="imtext">建议尺寸: 414*150或长形图片</view>
</view>
</view>
</view>
<!-- <van-field label="备注信息:" type="textarea" value="{{applyModel.remark}}" placeholder="{{applyModel.remark}}" border="{{false}}" maxlength="{{100}}" autosize="{{true}}" bind:blur="remarkinp" /> -->
</van-cell-group>
<view class="introduce" wx:if='{{!is_hotel}}'>
<view class="titlemessage tittop">
<view class="titleIcon"></view>
<view>门店介绍</view>
</view>
<view class="area">
<textarea maxlength='50' wx:if="{{!coverViewFlag}}" placeholder='填写50字以上的门店简介' value="{{applyModel.storeIntroduce}}" bindinput="storeIn"></textarea>
<view class="mark" wx:if="{{coverViewFlag}}">{{applyModel.storeIntroduce}}</view>
<view class="areaimgBox">
<view class="dbox" wx:for='{{showpaths}}' wx:key='index'>
<image class="yimg" src="{{item}}" catchlongtap="showdel"></image>
<view class="icon-cel">
<van-icon name='close' color="red" catchtap="delIntu" id="{{index}}"></van-icon>
</view>
</view>
<view class="areimage" catchtap='onRead_2'>
<image class="cimg" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png"></image>
</view>
</view>
<text>非必填,支持上传多张,显示在门店详情介绍中!</text>
</view>
</view>
<view class="statusSet" wx:if='{{!is_hotel}}'>
<view class="titlemessage tittop">
<view class="titleIcon"></view>
<view>资质证件</view>
</view>
<view class="statusBox">
<view class="statusTitle">营业执照 <text wx:if="{{is_business_license == 1}}">*</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">其他图片</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" wx:if="{{shop_commission}}">
<view class="titlemessage tittop">
<view class="titleIcon"></view>
<view>平台提成</view>
</view>
<van-field label="平台提成(%) " value="{{applyModel.shop_commission}}" placeholder="平台提成" border="{{ false }}" bind:blur="shop_commissionInp" noIs='{{ noIs }}' bor='{{ bor }}' />
</view>
<view class="textWork">
<view class="titlemessage tittop">
<view class="titleIcon"></view>
<view>备注信息</view>
</view>
<view class="area">
<textarea maxlength='100' wx:if="{{!coverViewFlag}}" placeholder='填写备注信息' value="{{applyModel.remark}}" bindblur='remarkinp'></textarea>
<view class="mark" wx:if="{{coverViewFlag}}">{{applyModel.remark}}</view>
</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==3}}">
<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%;overflow:auto;" 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>
<van-popup show="{{categoryShow}}" 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="onClickLeft" />
<view class="content">
<block wx:for="{{categoryList}}" wx:key="index">
<van-cell title="{{item.name}}" data-item="{{item}}" bind:click="chooseCategory" is-link />
</block>
</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="{{levelShow}}" custom-style="width:100%;height:100%;" position="right" bind:close="onClose">
<van-nav-bar title="选择星级" left-text="" right-text="" left-arrow bind:click-left="levelShowLeft" />
<view class="content">
<block wx:for="{{star_arr}}" wx:key="index">
<van-cell title="{{item.name}}" data-item="{{item.name}}" data-item="{{item}}" bind:click="chooseStarLevel" is-link />
</block>
</view>
</van-popup>
<!-- <van-popup show="{{beginTimeshow}}" position="bottom" bind:close="beginTimeClose">
<van-datetime-picker type="time" value="{{applyModel.beginTime}}" bind:cancel="beginTimeClose" bind:confirm="beginTimemessage" />
</van-popup>
<van-popup show="{{endTimeshow}}" position="bottom" bind:close="endTimeClose">
<van-datetime-picker type="time" value="{{applyModel.endTime}}" bind:cancel="endTimeClose" bind:confirm="endTimemessage" />
</van-popup> -->
<van-popup custom-style="border-radius: 38rpx;" show="{{show1}}" overlay="{{true}}">
<view class="pop-content">
<view class="pop-top">
<view class="left">
<view class="wrap">
<view>
<view class="image" style="postion:relative">
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/kf_online_contect@2x.png"></image>
</view>
<view>在线联系</view>
<button open-type="contact" bindcontact="handleContact" style="postion:absolute;width:100%;height:80rpx;opacity:0;top:-140rpx;"></button>
</view>
</view>
</view>
<view style="display:flex;" wx:if="{{!service_mobile==''}}">
<view class="line"></view>
</view>
<view class="right" wx:if="{{!service_mobile==''}}">
<view class="wrap" bindtap="callPhone">
<view>
<view class="image">
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/kf_tel_contect@2x.png"></image>
</view>
<view>联系电话</view>
<view style="margin-top:16rpx">{{service_mobile}}</view>
</view>
</view>
</view>
</view>
<view class="pop-bottom" wx:if="{{!service_QRcode==''}}">
<view class="image">
<image src="{{service_QRcode}}"></image>
</view>
</view>
<icon class="iconfont icon-close11" catchtap="closePop"></icon>
</view>
</van-popup>