<!--packageD/energy/powerAddMeb/powerAddMeb.wxml-->
<view class="list">
  <view class="name">姓名</view>
  <input value="{{form.user_name}}" bindinput="iuser_name" placeholder="请输入姓名" placeholder-style="font-size: 28rpx;flex:1;color: #999999" ></input>
</view>
<view class="list">
  <view class="name">手机号</view>
  <input disabled="{{true}}" value="{{form.phone}}" placeholder="请输入手机号" placeholder-style="font-size: 28rpx;flex:1;color: #999999"></input>
  <view class="phoneBtn" catchtap="phoneBtn">绑定手机</view>
</view>
<picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
  <view class="list">
    <view class="name">性别</view>
    <text style="flex:1;">{{sex=='0'?'男':'女'}}</text>
    <icon class="iconfont icon-advertise-next" style="font-size:40rpx;color: #999999;"></icon>
  </view>
</picker>
<!-- <view class="list">
  <view class="name">年龄</view>
  <input placeholder="请输入年龄" placeholder-style="font-size: 28rpx;flex:1;color: #999999"></input>
</view> -->
<view class="list" catchtap="addressShowbtn">
  <view class="name">地区</view>
  <text style="flex:1;color: {{addressName?'#000000':'#999999'}};font-size: 28rpx;">{{addressName?addressName:'选择您的地区'}}</text>
  <icon class="iconfont icon-advertise-next" style="font-size:40rpx;color: #999999;"></icon>
</view>
<view class="list">
  <view class="name">经销商</view>
  <text style="flex:1;color: #999999;font-size: 28rpx;">{{form.name}}</text>
  <!-- <icon class="iconfont icon-advertise-next" style="font-size:40rpx;color: #999999;"></icon> -->
</view>
<view class="btnpos" catchtap="confirm">确认提交</view>


<view class="b-mask {{addressShow}}" bindtap="_closeDateLw"></view>
<view class="dateBe {{addressShow}}">
	<view class="head">
		<view class="ll" bindtap="_closeDateLw">取消</view>
		<view class="rr" bindtap="resultAdd">确定</view>
	</view>
	<view class="main">
		<picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;" value="{{[pickerValue[0],pickerValue[1],pickerValue[2]]}}" bindchange="bindChange">
			<picker-view-column id="provinceData">
				<view wx:for="{{provinceData}}" wx:key="index" style="line-height: 50px">{{item.areaname}}</view>
			</picker-view-column>
			<picker-view-column id="cityData">
				<view wx:for="{{cityData}}" wx:key="index" style="line-height: 50px">{{item.areaname}}</view>
			</picker-view-column>
			<picker-view-column id="districtData">
				<view wx:for="{{districtData}}" wx:key="index" style="line-height: 50px">{{item.areaname}}</view>
			</picker-view-column>
		</picker-view>
	</view>
</view>
