Files
RenyiXCX/pages/register/index.wxml
2026-03-10 16:57:45 +08:00

138 lines
7.1 KiB
Plaintext

<view class="container">
<view class="login-box">
<view class="frombody">
<form bindsubmit='register'>
<!--<view>
<text>邀请人姓名:</text><view>{{yqxm}}</view>
</view>
<view wx:if="{{ifnoqy==0}}">
<text>注册类型:</text> <picker class="picker_hx" name="picker_hx" value="{{registertype[index].key}}" data-selecthx="{{registertype[index].key}}" range="{{registertype}}" range-key="{{'key'}}" bindchange="onregistertype"> <view class="picker">
<text wx:if='{{registertype[index]!=null}}'>{{registertype[index].key}}</text>
<text wx:if='{{registertype[index]==null}}'>==请选择注册类型==</text>
<image src="../../images/icon-arrowdown1.png"></image>
</view></picker>
</view>-->
<!--<view>
<text>用户名:<text class="red">*</text></text><input name="username" type="text" placeholder="请填写4-20位用户名" value="" />
</view>-->
<view>
<text>姓名:<text class="red">*</text></text><input name="realname" type="text" placeholder="请填写姓名" value="" />
</view>
<view>
<text>手机号码:<text class="red">*</text></text><input name="phone" bindinput='getphoneValue' type="text" placeholder="请填写11位手机号码" value="" />
</view>
<view>
<text>图形验证码:<text class="red">*</text></text><input name="yzcode" type="text" placeholder="请填写右边验证码" value="{{yzcode}}" class="code" bindinput='getyzcodeValue' /><view class="getcode" bindtap="getyzcode"><image src="{{codeimage}}"></image></view>
</view>
<view wx:if='{{FHEnable4=="0"}}'>
<text>手机验证码:<text class="red">*</text></text><input name="code" type="text" placeholder="请填写验证码" value="" class="code" /><view class="getcode" bindtap="getcode">{{getcode}}</view>
</view>
<view wx:if="{{ifnoqy==0}}">
<text>登陆密码:<text class="red">*</text></text><input name="psd" type="password" placeholder="请填写6-18位密码" value="" />
</view>
<view wx:if="{{ifnoqy==0}}">
<text>确认密码:<text class="red">*</text></text><input name="psd2" type="password" placeholder="请填写确认密码" value="" />
</view>
<view wx:if="{{index>0}}">
<text>{{index==1?"商家":"企业"}}名称:</text><input name="CompanyName" type="text" placeholder='请填写{{index==1?"商家":"企业"}}名称' value="" />
</view>
<view wx:if="{{index>0}}">
<text style="width:8em;">上传预览图片:</text>
<view class="pic_box">
<image src="{{addpic0}}" bindtap="onaddpic0"></image>
</view>
</view>
<view>
<text>邀请码:<text class="red">*</text></text><input name="yqm" type="text" placeholder='请填写邀请码' value="{{yqm}}" />
</view>
<view class="readbox">
<view bindtap="onxz">
<view><image src="{{xzimage}}"></image></view>
<view>本人已阅读并同意仁E森命</view>
</view>
<view>
<view class="red" bindtap="onread" data-id="341">《用户服务协议》</view>
<view class="and">和</view>
<view class="red" bindtap="onread" data-id="224167">《隐私政策》</view>
</view>
</view>
<view class="button">
<button form-type="submit">{{savebutton}}</button>
</view>
</form>
</view>
</view>
</view>
<view class="Hidden_box" hidden="{{sectionHidden}}" bindtap="closesection">
<view class="section" catchtap="insection">
<view class="section-title">省市区选择器</view>
<view class="close" bindtap="closesection"><image src="../../images/close.png" /></view>
<view class="section-body">
<view>
<text>省份:</text>
<picker class="picker_hx" name="picker_hx" value="{{Provinces[hx_index].ProvinceID}}" data-selecthx="{{Provinces[hx_index].ProvinceName}}" range="{{Provinces}}" range-key="{{'ProvinceName'}}" bindchange="ProvinceChange">
<view class="picker">
<text hidden='{{Provinces[hx_index].ProvinceName==null}}'>{{Provinces[hx_index].ProvinceName}}</text>
<text hidden='{{Provinces[hx_index].ProvinceName!=null}}'>==请选择==</text>
<image src="../../images/icon-arrowdown1.png"></image>
</view>
</picker>
</view>
<view>
<text>城市:</text>
<picker class="picker_hx" name="picker_hx" value="{{Citys[hx_index0].CityID}}" data-selecthx="{{Citys[hx_index0].CityName}}" range="{{Citys}}" range-key="{{'CityName'}}" bindchange="CityChange">
<view class="picker">
<text hidden='{{Citys[hx_index0].CityName==null}}'>{{Citys[hx_index0].CityName}}</text>
<text hidden='{{Citys[hx_index0].CityName!=null}}'>==请选择==</text>
<image src="../../images/icon-arrowdown1.png"></image>
</view>
</picker>
</view>
<view>
<text>县区:</text>
<picker class="picker_hx" name="picker_hx" value="{{Countys[hx_index1].CountyID}}" data-selecthx="{{Countys[hx_index1].CountyName}}" range="{{Countys}}" range-key="{{'CountyName'}}" bindchange="CountyChange">
<view class="picker">
<text hidden='{{Countys[hx_index1].CountyName==null}}'>{{Countys[hx_index1].CountyName}}</text>
<text hidden='{{Countys[hx_index1].CountyName!=null}}'>==请选择==</text>
<image src="../../images/icon-arrowdown1.png"></image>
</view>
</picker>
</view>
</view>
</view>
</view>
<view class="Hidden_box" hidden="{{sectionHidden0}}" bindtap="closesection0">
<view class="section" catchtap="insection">
<view class="section-title">点击地图标注位置</view>
<view class="close" bindtap="closesection0"><image src="../../images/close.png" /></view>
<view class="section-body">
<view class="map_container">
<map class="map" id="myMap" longitude="{{clongitude}}" latitude="{{clatitude}}" scale="16" show-location="true" markers="{{markers}}" bindtap="maptap" bindupdated="onupdated">
<cover-image class="cover-image" bindtap="my_location" src="../../images/my_location.png" />
<!--<cover-view class='mapPic'>
<cover-image src='/images/position-picker2.png'></cover-image>
</cover-view>
<cover-view class="map-prompt">您可拖动地图, 标记准确位置</cover-view>
-->
</map>
</view>
<view class="button">
<button bindtap="qcbz">清除标注</button><button bindtap="qybz">标注好了</button>
</view>
</view>
</view>
</view>