You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<view class="content">
|
|
|
|
<form bindsubmit="SaveAddress">
|
|
|
|
<view class="section">
|
|
|
|
<view class="section_title" style='float:left;'>联系人:</view>
|
|
|
|
<input name="user_name" type="text" value="{{address.name}}" placeholder="联系人"/>
|
|
|
|
</view>
|
|
|
|
<view class="section">
|
|
|
|
<view class="section_title" style='float:left;'>联系电话:</view>
|
|
|
|
<input name="mobile" type="number" maxlength="11" value="{{address.tel}}" placeholder="联系人电话"/>
|
|
|
|
</view>
|
|
|
|
<view class="section">
|
|
|
|
<view class="section_title" style='float:left;'>所在地区:</view>
|
|
|
|
<picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}">
|
|
|
|
<view class="picker">{{region[0]}} {{region[1]}} {{region[2]}}</view>
|
|
|
|
</picker>
|
|
|
|
<view class="section_right" bindtap="translate">
|
|
|
|
<image src="/images/x_right.png"></image>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="section">
|
|
|
|
<view class="section_title">详细地址:</view>
|
|
|
|
<input name="address" type="text" value="{{address.address}}" placeholder="详细地址"/>
|
|
|
|
</view>
|
|
|
|
<view class="section">
|
|
|
|
<view class="section_title">默认地址</view>
|
|
|
|
<switch class="section_switch" bindchange="switchChange" color="#FA5151" checked="{{check}}" />
|
|
|
|
</view>
|
|
|
|
<view class="btn-area">
|
|
|
|
<button formType="submit" style='background-color:#FE6347;'>保存</button>
|
|
|
|
</view>
|
|
|
|
</form>
|
|
|
|
</view>
|