<wxs src="../tools.wxs" module="globalTools"></wxs>
<view class='list'>
	<text>期望岗位（多选）：</text>
	<view class="list-content">
		<!-- <picker bindchange="changeName" value="{{expectationPositionIndex}}" range="{{expectationPosition}}"> -->
		<view class="picker" bindtap="changeCover" data-type="position">
			<view class="pick-view">
				<block wx:if='{{expectationPositionIndex.length}}'>
					<view>
						<block wx:for="{{expectationPositionIndex}}" wx:key='index'>
							<text space="nbsp">{{expectationPosition[item].name}} </text>
						</block>
					</view>
				</block>
				<block wx:else>
					<text>请选择</text>
				</block>
			</view>
			<image class='arrow' src='{{imgServerUrl}}/images/happyjob/rightwjt.png'></image>
		</view>
	</view>
</view>
<view class='list'>
	<text>期望地点：</text>
	<view class="list-content" bindtap="bindRegionChange">
		<!-- <picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}"> -->
		<view wx:if='{{region.value.length}}' class="picker" data-type="address">
			<text>{{region.value[0]}}，{{region.value[1]}}，{{region.value[2]}}</text>
		</view>
		<text  wx:else>请选择</text>
		<image class='arrow' src='{{imgServerUrl}}/images/happyjob/rightwjt.png'></image>
	</view>
</view>
<view class='list'>
	<text>期望薪资：</text>
	<view class="list-content" bindtap="changeSalary">
		<!-- <view bindtap="changeCover" value="{{salaryIndex}}" range="{{salaryList}}" range-key='hightNum'> -->
		<view wx:if='{{salaryIndex}}' data-type="salary" class="picker">
			<text>{{salaryList[salaryIndex].hightNum}}</text>
		</view>
		<text wx:else>请选择</text>
		<image class='arrow' src='{{imgServerUrl}}/images/happyjob/rightwjt.png'></image>
	</view>
</view>

<form bindsubmit="submit" report-submit='true' class="btn-group fixed-footer">
	<button class="distance selfBtn {{disabled?'':'opacity_5'}}" form-type="submit">保存</button>
</form>


<view class="cover" bindtap="changeCover" hidden="{{cover}}"></view>

<picker-view class="salary" style="bottom:{{salary?-650:0}}rpx" indicator-style="height: 50px;" value="{{salaryIndex}}" bindchange="bindSalaryChange">
	<view class="cover-title">
		<view catchtap="changeCover">取消</view>
		<view style="color:#000;">期望薪资</view>
		<view catchtap="changeCover">确定</view>
	</view>
	<picker-view-column>
		<view wx:for="{{salaryList}}" style="line-height: 50px" wx:key='index'>{{salaryList[index].hightNum}}</view>
	</picker-view-column>
</picker-view>
<view class="position" style="bottom:{{position?-800:0}}rpx">
	<view class="cover-title">
		<view catchtap="changeCover">取消</view>
		<view style="color:#000;">期望岗位（多选）</view>
		<view catchtap="changeCover">确定</view>
	</view>
	<view class="position-content">
		<view class="position-content-cell {{item.active&&'active'}}" wx:for='{{expectationPosition}}' wx:key='index' data-index="{{index}}" bindtap="changeName">
			{{item.name}}
		</view>
	</view>
</view>