<form bindsubmit="siteform" class="site-form">
	<view class="uni-border-down site-input">
		<label>
			<image src="/static/mall_icon/mallAddress_00.png"></image>收货人：
		</label>
		<input placeholder="请输入收货人姓名" name="name" value="{{name}}"></input>
	</view>
	<view class="uni-border-down site-input">
		<label>
			<image src="/static/mall_icon/mallAddress_01.png"></image>手机号：
		</label>
		<input placeholder="请输入手机号码" name="mobile" type="number" value="{{mobile}}"></input>
	</view>
	<view class="uni-border-down site-input">
		<label>
			<image src="/static/mall_icon/mallAddress_02.png"></image>所在省份：
		</label>
		<picker bindchange="areasChange" value="{{saveIndex}}" range="{{saveArr}}" range-key="name" name="province_id">
			<view class="picker">
				{{saveArr[saveIndex].name}}
			</view>
			<image src="/static/mall_icon/mall_arrow.png"></image>
		</picker>
	</view>
	<view class="uni-border-down site-input">
		<label>
			<image src="/static/mall_icon/mallAddress_02.png"></image>所在城市：
		</label>
		<picker bindchange="city" value="{{cityIndex}}" range="{{cityArr}}" range-key="name" class="conneColor"
			name="city_id">
			<view class="picker">
				{{cityArr[cityIndex].name}}
			</view>
			<image src="/static/mall_icon/mall_arrow.png"></image>
		</picker>
	</view>
	<view class="uni-border-down site-input">
		<label>
			<image src="/static/mall_icon/mallAddress_02.png"></image>所在区域：
		</label>
		<picker bindchange="regi" value="{{regiIndex}}" range="{{regiArr}}" range-key="name" class="conneColor"
			name="district_id">
			<view class="picker">
				{{regiArr[regiIndex].name}}
			</view>
			<image src="/static/mall_icon/mall_arrow.png"></image>
		</picker>
	</view>
	<view class="uni-border-down site-input">
		<label>
			<image src="/static/mall_icon/mallAddress_03.png"></image>详细地址：
		</label>
		<input placeholder="请输入详细地址" name="address" value="{{address}}"></input>
	</view>

	<view class="site-input site-switch" wx:if="{{defaultVal}}">
		<label>默认地址</label>
		<switch class="site-switch" style='zoom:.6;' bindchange="addressDefault" color="#ea4e2f" checked />
	</view>
	<view class="site-input site-switch" wx:else>
		<label>设置默认地址</label>
		<switch class="site-switch" style='zoom:.6;' bindchange="addressDefault" color="#ea4e2f" />
	</view>

	<!-- <view class="siteTag">
		<view class="siteTag-title">标签</view>
		<view class="siteTag-label">
			<text class="active">家</text>
			<text>公司</text>
			<text>学校</text>
		</view>
	</view> -->

	<view class="address-footer">
		<button form-type="submit" size="mini">确定</button>
	</view>
</form>