myinfo.wxml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!--pages/mine/myinfo/myinfo.wxml-->
  2. <view class="myinfoBase">
  3. <!-- 顶部tips -->
  4. <view class="tittleTips">
  5. <view>简历完善度为{{percentage}}%(完善可提高录用率)</view>
  6. <view style="color:#f37b1d;" bindtap="preview">预览</view>
  7. </view>
  8. <!-- 主要内容 -->
  9. <view class="baseContent">
  10. <!-- 头像栏 -->
  11. <view class="contentTittle">
  12. <!-- 第一排 头像和编辑按钮 -->
  13. <view class="contentTittle-first">
  14. <l-avatar l-class="avatar-bg" size="115"
  15. open-data="{{['userAvatarUrl']}}" icon-style="color:#5bf320" />
  16. <view class="contentTittle-first-edit" bindtap="base">
  17. <view class="contentTittle-first-edit2">
  18. <image class="contentTittle-first-edit-icon" src="../../../image/bianji.png"></image>编辑
  19. </view>
  20. </view>
  21. </view>
  22. <!-- 第二排 名字 -->
  23. <view class="contentTittle-second">
  24. <open-data type="userNickName" wx:if="{{!mainInfo.sname}}"></open-data>
  25. <text>{{mainInfo.sname}}</text>
  26. </view>
  27. <!-- 第三排 几个个人信息 -->
  28. <view class="contentTittle-third" wx:if="{{mainInfo.eduStatus==1}}">
  29. <text>{{mainInfo.age}}岁 | 在读 | {{mainInfo.place}}</text>
  30. </view>
  31. <view class="contentTittle-third" wx:if="{{mainInfo.eduStatus==2}}">
  32. <text>{{mainInfo.age}}岁 | 已毕业 | {{mainInfo.place}}</text>
  33. </view>
  34. <!-- 第四排 手机号 -->
  35. <view class="contentTittle-fourth">
  36. <text>手机:{{mainInfo.phoneNumber}}</text>
  37. </view>
  38. </view>
  39. <!-- 简历各项信息 -->
  40. <view class="otherInfo" wx:for="{{otherInfoList}}" wx:key="oId" wx:for-index="oIdx" wx:for-item="otherInfo">
  41. <!-- 单独一项信息 -->
  42. <view class="otherInfo-{{otherInfo.oClass}}">
  43. <!-- 没有添加该项信息 -->
  44. <text wx:if="{{otherInfo.oClass=='none'}}" bindtap="none" data-index='{{oIdx}}'>+添加{{otherInfo.itemTittle}}</text>
  45. <!-- 填写了该项信息 教育经历 工作经历 模块-->
  46. <block wx:if="{{otherInfo.oClass=='item'}}">
  47. <!-- 第一行 该项标题-->
  48. <view class="otherInfo-item-first">
  49. <view class="otherInfo-item-first-left">
  50. <view class="otherInfo-item-first-left-icon"></view>
  51. <text class="otherInfo-item-first-left-word">{{otherInfo.itemTittle}}</text>
  52. </view>
  53. <view class="otherInfo-item-first-right">
  54. <text bindtap="have" data-index='{{oIdx}}' wx:if="{{oIdx <= 1}}">+ 添加</text>
  55. <text bindtap="have" data-index='{{oIdx}}' wx:if="{{oIdx > 1}}">编辑</text>
  56. </view>
  57. </view>
  58. <!-- 第二行 分割线-->
  59. <view class="otherInfo-item-secord"></view>
  60. <!-- 教育经历 工作经历 模块 第三行 主要经历信息-->
  61. <view class="otherInfo-item-third" wx:for="{{otherInfo.experienceList}}" wx:key="eId" wx:for-index="eIdx" wx:for-item="experience" wx:if="{{oIdx <= 1}}">
  62. <view class="otherInfo-item-third-left">
  63. <!-- 第三行 主要经历信息 左边 组合icon -->
  64. <view class="otherInfo-item-third-splicedicon">
  65. <view class="otherInfo-item-third-splicedicon-spot"></view>
  66. <view class="otherInfo-item-third-splicedicon-line"></view>
  67. </view>
  68. <!-- 第三行 主要经历信息 左边 文字信息 -->
  69. <view class="otherInfo-item-third-message">
  70. <!-- 第三行 ...文字信息的 第一行(时间)-->
  71. <view class="otherInfo-item-third-message-first">{{experience.startTime}} 至 {{experience.endTime}}</view>
  72. <!-- 第三行 ...文字信息的 第二行(学校|学位 or 公司名)-->
  73. <view class="otherInfo-item-third-message-secord"wx:if="{{oIdx == 0}}">{{experience.school}} | {{experience.degree}}</view>
  74. <view class="otherInfo-item-third-message-secord"wx:if="{{oIdx == 1}}">公司名:{{experience.company}}</view>
  75. <!-- 第三行 ...文字信息的 第三行(主修专业 or 主要工作内容)-->
  76. <view class="otherInfo-item-third-message-third" wx:if="{{oIdx == 0}}">主修专业:{{experience.major}}</view>
  77. <view class="otherInfo-item-third-message-third" wx:if="{{oIdx == 1}}">主要工作内容:{{experience.experience}}</view>
  78. <!-- 第三行 ...文字信息的 第四行(在校经历)-->
  79. <text class="otherInfo-item-third-message-fourth" wx:if="{{oIdx == 0}}">期间经历:{{experience.experience}}</text>
  80. </view>
  81. </view>
  82. <!-- 教育经历 工作经历 模块 第三行 右边 右箭头 -->
  83. <image class="otherInfo-item-third-right" src="../../../image/you2.png" bindtap="modify" data-index='{{oIdx}}' data-id='{{experience.id}}'></image>
  84. </view>
  85. <!-- 工作期望 模块 第三行 期望内容-->
  86. <view wx:if="{{oIdx == 2}}" class="work-expect" wx:for="{{otherInfo.experienceList}}" wx:key="wId">
  87. <text class="work-expect-item">期望的工作类型:{{item.expectedJobType}}</text>
  88. <text class="work-expect-item">期望的工作时间:{{item.shortJobTime}}</text>
  89. <text class="work-expect-item">可上班时间:{{item.ableWorkDay}}</text>
  90. <text wx:if="{{item.isFullTime==1}}" class="work-expect-item">是否支持全职上班:是</text>
  91. <text wx:if="{{item.isFullTime==0}}" class="work-expect-item">是否支持全职上班:否</text>
  92. </view>
  93. <!-- 自我评价 模块 第三行 评价内容-->
  94. <text class="self-item" wx:if="{{oIdx == 3}}">{{otherInfo.experienceList}}</text>
  95. <!-- <view wx:if="{{oIdx == 3}}" class="self">
  96. <text class="self-item">{{otherInfo.experienceList}}</text>
  97. </view> -->
  98. </block>
  99. </view>
  100. </view>
  101. </view>
  102. </view>