<wxs src="../tools.wxs" module="globalTools" />
<jianli userResume='{{userResume}}' expList='{{expList}}' edit='{{true}}' bind:user='toUserInfo' bind:job='toUserJob' bind:edit='toUserWorks'  bind:creat='toUserWorks' class='safe_area'/>
<!-- <view class="container">
  <view class='card'>
    <image class="avatar" src="{{userResume.headImg}}" />
    <view class="flex">
      <text class="name">{{userResume.realName}}</text>
      <text class="wz">简历写得好，工作更好找，脱贫没烦恼！</text>
    </view>
  </view>


  <view class='basic'>
    <text class="persondetail">个人资料</text>
    <image class="edit" src="{{imgServerUrl}}/images/happyjob/edit1.png" bindtap='toUserInfo' />
  </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">{{year}}岁</text>
    </view>
    <view class='infoma'>
      <text class="detailinfo">最高学历：</text>
      <text class="detail">{{eduName}}</text>
    </view>
    <view class='infoma'>
      <text class="detailinfo">联系方式：</text>
      <text class="detail">{{userResume.phone}}</text>
    </view>
  </view>

  <view class='basic'>
    <text class="persondetail">求职意向</text>
    <image class="edit" src="{{imgServerUrl}}/images/happyjob/edit1.png" bindtap='toUserJob' />
  </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 wx:if='{{!userResume.expectationPosition}}' class='add' bindtap='toUserJob'>
    <image src="{{imgServerUrl}}/images/happyjob/addinfo.png" />
    <text>添加求职意向，更易筛选岗位</text>
  </view>

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

  <view class='basic-info2' wx:if="{{expList.length}}" wx:for="{{expList}}" 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 class='add' bindtap='toUserWorks' data-type="new">
    <image src="{{imgServerUrl}}/images/happyjob/addinfo.png" />
    <text>添加工作经验，更易筛选岗位</text>
  </view> -->


  <!-- <view class='wx'>
  <view class='infoma'>
    <text class="detailinfo">微信账号：</text>
    <view class="dba">
      <input class="detail" value='{{userResume.wechatNumber}}' bindblur='changewxname'></input>
      <image class="edit1" src="{{imgServerUrl}}/images/happyjob/edit1.png" />
    </view>
  </view>
</view> -->

<!-- </view> -->