<!--components/jianli/jianli.wxml-->
<wxs src="../../pages/tools.wxs" module="globalTools"></wxs>
<!-- 水印 -->
<watermark height='{{height}}'></watermark>

<view class="container">
	<!-- 个人信息开始 -->
	<view class="header">
		<!-- 基本信息 -->
		<view class="info">
			<avatar src="{{userResume.headImg}}" />
			<view class="info-content">
				<view class="name">{{userResume.realName}}</view>
				<view class="info-detail">
					<text class="detail" wx:if='{{userResume.gender==1}}'>男</text>
					<text class="detail" wx:if='{{userResume.gender==2}}'>女</text>
					<text>/{{userResume.birthYear}}</text>
					<text class="detail">/{{eduList[userResume.highestQualification]}}</text>
				</view>
			</view>
		</view>
		<!-- 手机  微信 -->
		<view class="cell">
			<view class="cell-title">手机号码：</view>
			<view class="cell-content">{{userResume.phone}}</view>
		</view>
		<view class="cell">
			<view class="cell-title">微信账号：</view>
			<view class="cell-content">{{userResume.wechatNumber || ''}}</view>
		</view>

		<view class="edit-content" wx:if='{{edit}}' bindtap='user'>
			<text class="edit">编辑</text>
		</view>
	</view>
	<!-- 个人信息结束 -->

	<!-- 求职意向开始 -->
	<view class="intention">
		<view class="title">
			<text>求职意向</text>
			<view class="title-edit" wx:if='{{edit}}' bindtap="job">
				<text class="edit">编辑</text>
			</view>
		</view>
		<view class="cell">
			<view class="cell-title">期望岗位：</view>
			<view class="cell-content">
				<block wx:for="{{globalTools.splitStr1(userResume.expectationPosition,',')}}" wx:for-item="item" wx:key="index">
					{{expectationPosition[item]}}
				</block>
			</view>
		</view>
		<view class="cell">
			<view class="cell-title">期望地点：</view>
			<view class="cell-content">{{userResume.expectationAddress || ''}}</view>
		</view>
		<view class="cell">
			<view class="cell-title">期望薪资：</view>
			<view class="cell-content">{{userResume.expectationSalary || ''}}</view>
		</view>
	</view>
	<!-- 求职意向结束 -->

	<!-- 工作经历开始 -->
	<view class="experience">
		<view class="title">
			<text>工作经历</text>
		</view>
		<view class="experience-content">
			<block wx:if='{{edit}}'>
				<experience list='{{expList}}' edit='{{edit}}' bind:edit='edit' />
			</block>
			<block wx:else>
				<experience list='{{userResume.hpResumeWorkExperienceList}}' edit='{{edit}}' bind:edit='edit' />
			</block>
		</view>
	</view>
	<!-- 工作经历结束 -->

	<view class="add-experience" wx:if='{{edit}}'>
		<image class="add-experience-image" src="{{imgServerUrl}}/images/happyjob/jianli_add.png"></image>
		<text>添加工作经历</text>
		<view class="add-experience-content" bindtap="addNew"></view>
	</view>





	<!-- <view class='basic'>
    <text class="persondetail">个人资料</text>
  </view>

  <view class='basic-info'>
    <view class='infoma'>
      <text class="detailinfo">性别：</text>
      <text class="detail" wx:if='{{userResume.gender==1}}'>男</text>
      <text class="detail" wx:if='{{userResume.gender==2}}'>女</text>
    </view>
    <view class='infoma'>
      <text class="detailinfo">年龄：</text>
      <text class="detail">{{userResume.birthYear}}</text>
    </view>
    <view class='infoma'>
      <text class="detailinfo">最高学历：</text>
      <text class="detail">{{eduList[userResume.highestQualification]}}</text>
    </view>
    <view class='infoma'>
      <text class="detailinfo">联系方式：</text>
      <text class="detail">{{userResume.phone}}</text>
    </view>
  </view>

  <view class='basic'>
    <text class="persondetail">求职意向</text>
  </view>

  <view class='basic-info1' wx:if="{{userResume.expectationPosition}}">
    <view class='infoma'>
      <text class="detailinfo">期望岗位：</text>
      <view class="detail">
        <block wx:for="{{globalTools.splitStr1(userResume.expectationPosition,',')}}" wx:for-item="item" wx:key="*this">
          {{expectationPosition[item]}}
        </block>
      </view>
    </view>
    <view class='infoma'>
      <text class="detailinfo">期望地点：</text>
      <text class="detail">{{userResume.expectationAddress}}</text>
    </view>
    <view class='infoma'>
      <text class="detailinfo">期望薪资：</text>
      <text class="detail">{{userResume.expectationSalary}}</text>
    </view>
  </view>

  <view class='basic'>
    <text class="persondetail">工作经验</text>
  </view>

  <view class='basic-info2' wx:if="{{userResume.hpResumeWorkExperienceList.length}}" wx:for="{{userResume.hpResumeWorkExperienceList}}" wx:key="hpUserResumeId" bindtap="toUserWorks" data-type="edit" data-index="{{index}}">
    <view class='infoma'>
      <text class="detailinfo">企业名称：</text>
      <view class="dba">
        <text class="detail">{{item.workCompany}}</text>
        <image class="edit1" src="{{imgServerUrl}}/images/happyjob/edit1.png" />
      </view>
    </view>
    <view class='infoma'>
      <text class="detailinfo">工作岗位：</text>
      <text class="detail">{{item.workPosition}}</text>
    </view>
    <view class='infoma'>
      <text class="detailinfo">工作时间：</text>
      <text class="detail">{{item.workStartDate}}~{{item.workEndDate}}</text>
    </view>
  </view> -->

</view>