特易招,招聘小程序
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.

165 lines
3.0 KiB

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