银花优选微信小程序修改后的最新版本代码
This commit is contained in:
122
pages/appbusiness0/index.wxml
Normal file
122
pages/appbusiness0/index.wxml
Normal file
@@ -0,0 +1,122 @@
|
||||
<view class="container">
|
||||
<form bindsubmit='saveaddress' wx:if="{{uid>68}}">
|
||||
<view class="myaddress-box">
|
||||
<view class="frombody">
|
||||
|
||||
<view class="area">
|
||||
<picker class="picker_hx" name="picker_hx0" value="{{clslist[hc_index].id}}" data-selecthx="{{clslist[hc_index].name}}" range="{{clslist}}" range-key="{{'name'}}" bindchange="clsChange">
|
||||
<text>商家分类:</text><input name="sjfl" type="text" disabled="disabled" placeholder="请选择商家分类" value="{{clsname}}"/><image src="../../images/icon-arrowdown.png"></image>
|
||||
</picker>
|
||||
</view>
|
||||
<view>
|
||||
<text>商家名称:</text><input name="txtName" type="text" placeholder="请填写商家名称" value="{{sjname}}" />
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<text>信用代码:</text><input name="txtnumber" type="text" placeholder="请填写统一社会信用代码" value="{{number}}" />
|
||||
</view>
|
||||
<view>
|
||||
<text>联系电话:</text><input name="txttel" type="text" placeholder="请填写联系电话" value="{{tel}}" />
|
||||
</view>
|
||||
<view class="upimage_box" style="border-bottom: 0;">
|
||||
<text>上传预览图片:</text><view class="image"><image src='{{sjimage0}}' bindtap="onsjimage" data-id="0"></image></view>
|
||||
</view>
|
||||
|
||||
<view class="upimage0_box">
|
||||
<view class="upimage0_title">上传证件:</view>
|
||||
<view class="upimage0_box_to">
|
||||
<view class="image" bindtap="onsjimage" data-id="1"><image src='{{sjimage1}}'></image><text>营业执照</text></view>
|
||||
<view class="image" bindtap="onsjimage" data-id="2"><image src='{{sjimage2}}'></image><text>门头照片</text></view>
|
||||
<view class="image" bindtap="onsjimage" data-id="3"><image src='{{sjimage3}}'></image><text>身份证正面</text></view>
|
||||
<view class="image" bindtap="onsjimage" data-id="4"><image src='{{sjimage4}}'></image><text>身份证反面</text></view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="area" bindtap="onarea">
|
||||
<text>所在地区:</text><input name="area" type="text" disabled="disabled" placeholder="请选择地区" value="{{area}}"/><image src="../../images/icon-arrowdown.png"></image>
|
||||
</view>
|
||||
<view>
|
||||
<text>详细地址:</text><input name="detail" type="text" placeholder="请填写街道、楼牌号等" value="{{detail}}" />
|
||||
</view>
|
||||
<view class="area" bindtap="onannotatemap">
|
||||
<text>标注地图:</text><input name="annotatemap" type="text" disabled="disabled" placeholder="请标注地图" value="{{annotatemap}}"/><image src="../../images/icon-arrowdown.png"></image>
|
||||
</view>
|
||||
<view>
|
||||
<text>服务内容:</text><input name="fwbody" type="text" placeholder="请填写服务内容" value="{{fwbody}}" />
|
||||
</view>
|
||||
<view style="height: 3em;">
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="footer">
|
||||
<button form-type="submit">{{savebutton}}</button>
|
||||
</view>
|
||||
</form>
|
||||
</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" style="margin-top: 0em; width: 100%; height: 100%;padding: 0;">
|
||||
<view class="section-title">点击地图标注</view>
|
||||
<view class="close" bindtap="closesection0"><image src="../../images/close.png" /></view>
|
||||
<view class="section-body">
|
||||
<map id="myMap" latitude="{{latitude}}" longitude="{{longitude}}" scale="{{scale}}" style="width: 100%; height: 86vh;" show-location="{{true}}" bindtap='maptap' bindmarkertap="markertap" bindregionchange="regionchange" markers="{{markers}}">
|
||||
<cover-view class="loading" wx:if="{{loading}}">
|
||||
<cover-view class="loading-to">
|
||||
<cover-image src="../../images/ajaxLoader.gif"></cover-image>
|
||||
</cover-view>
|
||||
</cover-view>
|
||||
</map>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
<loading hidden="{{loadingHidden}}">
|
||||
加载中...
|
||||
</loading>
|
||||
Reference in New Issue
Block a user