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

159 lines
2.6 KiB

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