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

101 lines
1.7 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <view class="work-item">
  3. <view class="top">
  4. <view class="title">
  5. {{ item.title }}
  6. </view>
  7. <view class="price"
  8. v-if="item.salaryLow > 1000">
  9. <text>
  10. {{ (item.salaryLow / 1000).toFixed(0) }}
  11. </text>
  12. <text
  13. v-if="item.salaryUp">
  14. -{{ (item.salaryUp / 1000).toFixed(0) }}
  15. </text>
  16. K
  17. </view>
  18. <view class="price" v-else>
  19. <text>{{ item.salaryLow }}</text>
  20. <text
  21. v-if="item.salaryUp">-{{ item.salaryUp }}</text>
  22. </view>
  23. </view>
  24. <view class="tag-list">
  25. <view
  26. v-for="(t, i) in item.tab && item.tab.split('、')"
  27. :key="i">
  28. {{ t }}
  29. </view>
  30. </view>
  31. <view class="bottom">
  32. <view class="address">
  33. <!-- <text>2.5km | 楚河汉区</text> -->
  34. {{ item.workAddress }}
  35. </view>
  36. <view class="time">
  37. <!-- 09月23日 1620 -->
  38. {{ $dayjs(item.createTime).format('YYYY-MM-DD') }}
  39. </view>
  40. <view class="phone">
  41. <image src="/static/image/home/phone.png" mode=""></image>
  42. 联系老板
  43. </view>
  44. </view>
  45. </view>
  46. </template>
  47. <script>
  48. export default {
  49. props : {
  50. item : {
  51. default : {}
  52. }
  53. },
  54. data() {
  55. return {
  56. }
  57. },
  58. methods: {
  59. }
  60. }
  61. </script>
  62. <style scoped lang="scss">
  63. .work-item{
  64. background-color: #fff;
  65. padding: 20rpx;
  66. border-radius: 20rpx;
  67. .top{
  68. display: flex;
  69. justify-content: space-between;
  70. font-weight: 900;
  71. .title{
  72. }
  73. .price{
  74. color: $uni-color;
  75. }
  76. }
  77. .bottom{
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: flex-end;
  81. font-size: 24rpx;
  82. .time{
  83. color: #999999;
  84. }
  85. .phone{
  86. background-color: rgba($uni-color, 0.2);
  87. color: $uni-color;
  88. padding: 8rpx 16rpx;
  89. border-radius: 10rpx;
  90. image{
  91. width: 20rpx;
  92. height: 20rpx;
  93. }
  94. }
  95. }
  96. }
  97. </style>