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.

34 lines
1.4 KiB

2 years ago
<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="联系人"/>
2 years ago
</view>
<view class="section">
<view class="section_title" style='float:left;'>联系电话:</view>
<input name="mobile" type="number" maxlength="11" value="{{address.tel}}" placeholder="联系人电话"/>
2 years ago
</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>
2 years ago
<view class="section_right" bindtap="translate">
<image src="/images/x_right.png"></image>
2 years ago
</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}}" />
2 years ago
</view>
<view class="btn-area">
<button formType="submit" style='background-color:#FE6347;'>保存</button>
</view>
</form>
</view>