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

<!--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>
<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}}" 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:#FF6347;'>保存</button>
</view>
<!-- <view class="btn-area">
<button bindtap="aotuAddress" style='background-color:#FF6347;'>导入微信收货地址</button>
</view> -->
</form>
</view>