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

168 lines
2.9 KiB

6 months ago
4 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
  1. <template>
  2. <view class="boss-item">
  3. <view class="head">
  4. <view class="headImage">
  5. <image :src="item.hanHaiMember.headImage" mode=""></image>
  6. </view>
  7. <view class="info">
  8. <view class="name">
  9. <!-- 李老板 -->
  10. {{ item.employAuthenticationPerson.name }}
  11. <view>
  12. <!-- 装配电工 -->
  13. {{ item.typeId_dictText }}
  14. </view>
  15. <view>
  16. <!-- 装配电工 -->
  17. {{ item.natureId_dictText }}
  18. </view>
  19. </view>
  20. <view class="tips">
  21. <!-- · 汉族 · 本科 · 应届生 -->
  22. {{ sex || item.sex }} · {{ item.nation }} · {{ item.qualification }}
  23. </view>
  24. </view>
  25. <view class="right">
  26. <view class="price"
  27. v-if="item.salaryLow >= 1000">
  28. <text>
  29. {{ (item.salaryLow / 1000).toFixed(0) }}
  30. </text>
  31. <text
  32. v-if="item.salaryUp">
  33. -{{ (item.salaryUp / 1000).toFixed(0) }}
  34. </text>
  35. K
  36. </view>
  37. <view class="price" v-else>
  38. <text>{{ item.salaryLow }}</text>
  39. <text
  40. v-if="item.salaryUp">-{{ item.salaryUp }}</text>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="bottom">
  45. <view class="time">
  46. <!-- 09月23日 1620 -->
  47. {{ $dayjs(createTime || item.createTime).format('YYYY-MM-DD') }}
  48. </view>
  49. <view class="phone">
  50. <image src="/static/image/home/phone.png" mode=""></image>
  51. 联系他
  52. </view>
  53. </view>
  54. </view>
  55. </template>
  56. <script>
  57. export default {
  58. props : {
  59. item : {
  60. default : {}
  61. },
  62. createTime : {
  63. default : '',
  64. },
  65. image : {
  66. default : ''
  67. },
  68. sex : {
  69. default : ''
  70. },
  71. },
  72. data() {
  73. return {
  74. }
  75. },
  76. computed : {
  77. headImage(){
  78. return this.image || this.item.headImage || '/static/image/center/headImage.png'
  79. },
  80. },
  81. methods: {
  82. }
  83. }
  84. </script>
  85. <style scoped lang="scss">
  86. .boss-item{
  87. background-color: #fff;
  88. border-radius: 20rpx;
  89. .head {
  90. display: flex;
  91. align-items: center;
  92. position: relative;
  93. padding: 20rpx;
  94. image {
  95. width: 100%;
  96. height: 100%;
  97. }
  98. .headImage {
  99. width: 80rpx;
  100. height: 80rpx;
  101. background-size: 100% 100%;
  102. overflow: hidden;
  103. border-radius: 50%;
  104. margin-right: 40rpx;
  105. }
  106. .info {
  107. font-size: 28rpx;
  108. .name {
  109. font-size: 32rpx;
  110. display: flex;
  111. padding-bottom: 10rpx;
  112. view {
  113. display: flex;
  114. font-size: 24rpx;
  115. align-items: center;
  116. margin-left: 20rpx;
  117. background: rgba($uni-color, 0.2);
  118. color: $uni-color;
  119. padding: 10rpx;
  120. border-radius: 10rpx;
  121. }
  122. }
  123. .tips {
  124. font-size: 24rpx;
  125. }
  126. }
  127. .right{
  128. margin-left: auto;
  129. font-size: 24rpx;
  130. .price{
  131. color: $uni-color;
  132. }
  133. }
  134. }
  135. .bottom{
  136. display: flex;
  137. justify-content: space-between;
  138. align-items: flex-end;
  139. font-size: 24rpx;
  140. padding: 20rpx;
  141. padding-top: 0;
  142. .time{
  143. color: #999999;
  144. }
  145. .phone{
  146. background-color: rgba($uni-color, 0.2);
  147. color: $uni-color;
  148. padding: 8rpx 16rpx;
  149. border-radius: 10rpx;
  150. image{
  151. width: 20rpx;
  152. height: 20rpx;
  153. }
  154. }
  155. }
  156. }
  157. </style>