52 lines
2.2 KiB
Plaintext
52 lines
2.2 KiB
Plaintext
<form bindsubmit="siteform" class="site-form">
|
|
<view class="site-input">
|
|
<label>收货人</label>
|
|
<input placeholder="请输入收货人姓名" name="name" value="{{nameValue}}" type="text" bindinput="bindinput"></input>
|
|
</view>
|
|
<view class="site-input">
|
|
<label>手机号码</label>
|
|
<input placeholder="请输入手机号码" maxlength="11" name="mobile" type="number" value="{{mobile}}"></input>
|
|
</view>
|
|
<view class="site-input">
|
|
<label>所在省份</label>
|
|
<picker bindchange="areasChange" value="{{areaIndex}}" range="{{areas}}" range-key="name" name="region_id">
|
|
<view class="picker">
|
|
{{ areas[areaIndex].name }}
|
|
</view>
|
|
<image src="/static/icons/orderArrow.png"></image>
|
|
</picker>
|
|
</view>
|
|
<view class="site-input">
|
|
<label>所在城市</label>
|
|
<picker bindchange="cityDrop" value="{{cityIndex}}" range="{{cityList}}" range-key="name" class="conneColor" name="city_id">
|
|
<view class="picker">
|
|
{{ cityList[cityIndex].name }}
|
|
</view>
|
|
<image src="/static/icons/orderArrow.png"></image>
|
|
</picker>
|
|
</view>
|
|
<view class="site-input">
|
|
<label>所在区域</label>
|
|
<picker bindchange="regiDrop" value="{{regiIndex}}" range="{{regiList}}" range-key="name" class="conneColor" name="district_id">
|
|
<view class="picker">
|
|
{{ regiList[regiIndex].name }}
|
|
</view>
|
|
<image src="/static/icons/orderArrow.png"></image>
|
|
</picker>
|
|
</view>
|
|
<view class="site-input">
|
|
<label>收货地址</label>
|
|
<input placeholder="请输入详细地址" name="address" value="{{address}}"></input>
|
|
</view>
|
|
<view class="site-switch">
|
|
<text>设置默认地址</text>
|
|
<switch style='zoom:.6;' bindchange="addressDefault" color="#ff9951" checked="{{isDefault}}" />
|
|
</view>
|
|
<view class="site-del" bindtap="addressRemove">
|
|
<image class="site-del-img" src="/static/icons/siteDel.png"></image>
|
|
<text>删除地址</text>
|
|
</view>
|
|
<view class="site-btn">
|
|
<button form-type="submit" size="mini" disabled="{{disabled}}">保存</button>
|
|
</view>
|
|
</form> |