特易招,招聘小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
2.8 KiB

8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
6 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="boss-item">
  3. <view class="head">
  4. <view class="headImage">
  5. <image :src="item.headImage" mode=""></image>
  6. </view>
  7. <view class="info">
  8. <view class="name">
  9. {{ item.nickName }}
  10. <view>
  11. 企业HR
  12. </view>
  13. </view>
  14. <view class="tips">
  15. <!-- 湖南江海国际经济技术合作有限公司 -->
  16. {{ item.employAhthenticationCompany.companyName }}
  17. </view>
  18. </view>
  19. <view class="right">
  20. <!-- 一个小时前 -->
  21. </view>
  22. </view>
  23. <view class="item"
  24. :key="index"
  25. @click.stop="$utils.navigateTo('/pages_order/work/workDetail?id=' + t.id)"
  26. v-if="index < 2"
  27. v-for="(t, index) in item.employJobList">
  28. <view class="top">
  29. <view class="title">
  30. {{ t.title }}
  31. </view>
  32. <view class="price"
  33. v-if="t.salaryLow > 1000">
  34. <text>
  35. {{ (t.salaryLow / 1000).toFixed(0) }}
  36. </text>
  37. <text
  38. v-if="t.salaryUp">
  39. -{{ (t.salaryUp / 1000).toFixed(0) }}
  40. </text>
  41. K
  42. </view>
  43. <view class="price" v-else>
  44. <text>{{ t.salaryLow }}</text>
  45. <text
  46. v-if="t.salaryUp">-{{ t.salaryUp }}</text>
  47. </view>
  48. </view>
  49. <view class="bottom">
  50. <view class="address">
  51. 长沙 | {{ t.workAge }} | {{ t.qulification }}
  52. </view>
  53. <view class="time">
  54. {{ $dayjs(t.createTime).format('YYYY-MM-DD') }}
  55. </view>
  56. </view>
  57. </view>
  58. <view class="more"
  59. v-if="item.jobNum > 2">
  60. 查看全部{{ item.jobNum }}个职位
  61. </view>
  62. </view>
  63. </template>
  64. <script>
  65. export default {
  66. props : ['item'],
  67. data() {
  68. return {
  69. }
  70. },
  71. methods: {
  72. }
  73. }
  74. </script>
  75. <style scoped lang="scss">
  76. .boss-item{
  77. background-color: #fff;
  78. border-radius: 20rpx;
  79. .head {
  80. display: flex;
  81. align-items: center;
  82. position: relative;
  83. padding: 20rpx;
  84. image {
  85. width: 100%;
  86. height: 100%;
  87. }
  88. .headImage {
  89. width: 80rpx;
  90. height: 80rpx;
  91. background-size: 100% 100%;
  92. overflow: hidden;
  93. border-radius: 50%;
  94. margin-right: 40rpx;
  95. }
  96. .info {
  97. font-size: 28rpx;
  98. .name {
  99. display: flex;
  100. padding-bottom: 10rpx;
  101. view {
  102. display: flex;
  103. font-size: 24rpx;
  104. align-items: center;
  105. margin-left: 20rpx;
  106. background: rgba($uni-color, 0.2);
  107. color: $uni-color;
  108. padding: 10rpx;
  109. border-radius: 10rpx;
  110. }
  111. }
  112. .tips {
  113. font-size: 24rpx;
  114. }
  115. }
  116. .right{
  117. margin-left: auto;
  118. font-size: 24rpx;
  119. }
  120. }
  121. .item{
  122. padding: 20rpx;
  123. border-top: 1rpx solid #00000015;
  124. .top{
  125. display: flex;
  126. justify-content: space-between;
  127. font-weight: 900;
  128. .title{
  129. }
  130. .price{
  131. color: $uni-color;
  132. }
  133. }
  134. .bottom{
  135. display: flex;
  136. justify-content: space-between;
  137. align-items: flex-end;
  138. font-size: 24rpx;
  139. margin-top: 20rpx;
  140. .time{
  141. color: #999999;
  142. }
  143. }
  144. }
  145. .more{
  146. padding: 20rpx;
  147. text-align: center;
  148. color: $uni-color;
  149. font-size: 24rpx;
  150. }
  151. }
  152. </style>