<!--packageE/picUpCard/picUpCardIndex/picUpCardIndex.wxml-->

<view class="imagebox">
	<image class="image" src="{{configInfo.pickingbanner}}" mode="widthFix" ></image>
</view>


<view class="content">
	<view class="field">
		<text class="text">{{pluginOptions.password_name}}: </text>
		<input class="input" model:value="{{th_pass}}" type="text" :placeholder="请输入{{pluginOptions.password_name}}密码" bindblur="selectPromisePrice" />
	</view>
	<view class="field">
		<text class="text">姓名:</text> 
		<input class="input" type="text" model:value="{{th_name}}" placeholder="请输入姓名" />
	</view>
	<view class="field">
		<text class="text">手机号:</text> 
		<input class="input" type="number" model:value="{{th_mobile}}" placeholder="请输入手机号" />
	</view>
	<view class="field" bindtap="addressShowbtn">
		<text class="text">{{pluginOptions.city_name}}:</text> 
		<text class="input" >{{addressName}}</text>
		<icon class="iconfont icon-advertise-next" style="display:flex;"></icon>
	</view>
	<view class="field" bindtap="streetShowbtn" wx:if="{{districtFieldShow}}">
		<text class="text">所在街道:</text> 
		<text class="input" >{{street}}</text>
		<icon class="iconfont icon-advertise-next" style="display:flex;"></icon>
	</view>
	<view class="field">
		<text class="text">{{pluginOptions.address_name}}:</text>
		<textarea class="textarea" type="text" model:value="{{th_address}}" :placeholder="请输入{{pluginOptions.address_name}}地址" ></textarea>
	</view>
	<view class="field">
		<text class="text">{{configInfo.commitment}}:</text> 
		<text class="input">{{promiseText}}</text>
	</view>
	<block wx:if="{{plugin == 'picking-card-one'}}">
		<view class="field">
			<text class="text">请确认是否使用{{configInfo.commitment}}兑换滤芯</text> 
			<van-radio-group  value="{{ promiseRadio }}" bind:change="onChangePromiseRadio" class="radioGroup">
				<view class="radioGroup" style="margin-left:0.5rem">
					<van-radio name="2" icon-size="0.9rem" checked-color="#f15353"></van-radio>
					<text>是</text>
				</view>
				<view class="radioGroup" style="margin-left:0.5rem">
					<van-radio name="1" icon-size="0.9rem" checked-color="#f15353"></van-radio>
					<text>否</text> 
				</view>
			</van-radio-group>
		</view>
		<view class="field">
			<van-checkbox bind:change="onChange" value="{{ agreement }}" class="checkbox text" checked-color="#f15353" shape="square" icon-size="0.781rem"><text catchtap="setExplainFlag">提货说明</text></van-checkbox>
		</view>
	</block>
</view>
		
   
<button type="button" bindtap="send" class="submit">立即申请</button>



<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>

<van-popup show="{{districtPopupShow}}" custom-style="width:100%;height:100%;overflow:auto" position="right" bind:close="onClose">
	<van-nav-bar title="选择街道" left-text="" right-text="" left-arrow bind:click-left="treetShowLeft" />
	<view class="content">
		<block wx:for="{{districtVal}}" wx:key="index">
			<van-cell title="{{item.areaname}}" data-item="{{item}}" bind:click="streetConfirm" is-link />
		</block>
	</view>
</van-popup>


	

<van-popup show="{{ explainFlag }}"  custom-style="background:transparent;">
     <view class="explainWrapper">
          <view class="explainTextWrapper">
               <view class="explainTextTitle">协议说明</view>
               <view class="explainTextContent">
                   <rich-text nodes="{{configInfo.pick_explain}}"></rich-text>
               </view>
          </view>
          <icon bindtap="setExplainFlag" class="close iconfont icon-adsystem_icon_cancle"></icon>
     </view>
</van-popup>


 

