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

158 lines
2.6 KiB

4 months ago
2 months ago
4 months ago
2 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 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. </view>
  17. </view>
  18. <view class="right">
  19. 一个小时前
  20. </view>
  21. </view>
  22. <view class="item"
  23. v-for="(t, index) in item.employJobList">
  24. <view class="top">
  25. <view class="title">
  26. {{ t.title }}
  27. </view>
  28. <view class="price"
  29. v-if="t.salaryLow > 1000">
  30. <text>
  31. {{ (t.salaryLow / 1000).toFixed(0) }}
  32. </text>
  33. <text
  34. v-if="t.salaryUp">
  35. -{{ (t.salaryUp / 1000).toFixed(0) }}
  36. </text>
  37. K
  38. </view>
  39. <view class="price" v-else>
  40. <text>{{ t.salaryLow }}</text>
  41. <text
  42. v-if="t.salaryUp">-{{ t.salaryUp }}</text>
  43. </view>
  44. </view>
  45. <view class="bottom">
  46. <view class="address">
  47. 长沙 | 经验不限 | 学历不限
  48. </view>
  49. <view class="time">
  50. 09月23日 1620
  51. </view>
  52. </view>
  53. </view>
  54. <view class="more">
  55. 查看全部5个职位
  56. </view>
  57. </view>
  58. </template>
  59. <script>
  60. export default {
  61. props : ['item'],
  62. data() {
  63. return {
  64. }
  65. },
  66. methods: {
  67. }
  68. }
  69. </script>
  70. <style scoped lang="scss">
  71. .boss-item{
  72. background-color: #fff;
  73. border-radius: 20rpx;
  74. .head {
  75. display: flex;
  76. align-items: center;
  77. position: relative;
  78. padding: 20rpx;
  79. image {
  80. width: 100%;
  81. height: 100%;
  82. }
  83. .headImage {
  84. width: 80rpx;
  85. height: 80rpx;
  86. background-size: 100% 100%;
  87. overflow: hidden;
  88. border-radius: 50%;
  89. margin-right: 40rpx;
  90. }
  91. .info {
  92. font-size: 28rpx;
  93. .name {
  94. display: flex;
  95. padding-bottom: 10rpx;
  96. view {
  97. display: flex;
  98. font-size: 24rpx;
  99. align-items: center;
  100. margin-left: 20rpx;
  101. background: rgba($uni-color, 0.2);
  102. color: $uni-color;
  103. padding: 10rpx;
  104. border-radius: 10rpx;
  105. }
  106. }
  107. .tips {
  108. font-size: 24rpx;
  109. }
  110. }
  111. .right{
  112. margin-left: auto;
  113. font-size: 24rpx;
  114. }
  115. }
  116. .item{
  117. padding: 20rpx;
  118. border-top: 1rpx solid #00000015;
  119. .top{
  120. display: flex;
  121. justify-content: space-between;
  122. font-weight: 900;
  123. .title{
  124. }
  125. .price{
  126. color: $uni-color;
  127. }
  128. }
  129. .bottom{
  130. display: flex;
  131. justify-content: space-between;
  132. align-items: flex-end;
  133. font-size: 24rpx;
  134. margin-top: 20rpx;
  135. .time{
  136. color: #999999;
  137. }
  138. }
  139. }
  140. .more{
  141. padding: 20rpx;
  142. text-align: center;
  143. color: $uni-color;
  144. font-size: 24rpx;
  145. }
  146. }
  147. </style>