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.

39 lines
1.5 KiB

2 years ago
<!--pages/address/address.wxml-->
<view class="content">
<form bindsubmit="SaveAddress">
<view class="section">
<view class="section_title">联系人:</view>
<input name="user_name" type="text" value="{{user_name}}" placeholder="联系人"/>
</view>
<view class="section">
<view class="section_title">联系电话:</view>
<input name="mobile" type="number" maxlength="11" value="{{mobile}}" placeholder="联系人电话"/>
</view>
<view class="section">
<view class="section_title">所在地区:</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">
2 years ago
<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}}" placeholder="详细地址"/>
</view>
<view class="section">
<view class="section_title">默认地址</view>
<switch class="section_switch" bindchange="switchChange" color="#FA5151" checked="{{check}}" />
</view>
2 years ago
<view class="btn-area">
<button formType="submit" style='background-color:#FF6347;'>保存</button>
</view>
<!-- <view class="btn-area">
2 years ago
<button bindtap="aotuAddress" style='background-color:#FF6347;'>导入微信收货地址</button>
</view> -->
2 years ago
</form>
</view>