jobIntention.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view>
  3. <view v-for="val in data" :key="val.id" class="ss-m-b-40">
  4. <view class="item">
  5. <!-- <view class="item-title">{{ val.jobTypeName}}</view> -->
  6. <view style="display: flex;justify-content: space-between;align-items: center;">
  7. <text class="mr-20 item-title">{{ val.position}}</text>
  8. <text class="color-error font-weight-bold">{{ val.payFrom }} {{ val.payFrom && val.payTo ? '-' : ''}} {{ val.payTo}}</text>
  9. </view>
  10. <view>{{ val.interestedArea && val.interestedArea.length ? val.workArea + ',' + val.interestedArea.map(e => e.name).join(',') : val.workArea }}</view>
  11. <view class="item-tags">
  12. <view v-for="industry in val.industry" :key="industry.id" class="tag">{{ industry.nameCn }}</view>
  13. </view>
  14. </view>
  15. </view>
  16. </view>
  17. </template>
  18. <script setup>
  19. defineProps({ data: Array })
  20. </script>
  21. <style scoped lang="scss">
  22. .item {
  23. font-size: 28rpx;
  24. color: #666;
  25. &-title {
  26. color: #000;
  27. font-weight: 600;
  28. }
  29. &-tags {
  30. display: flex;
  31. flex-direction: row;
  32. flex-wrap: wrap;
  33. .tag {
  34. border: 2rpx solid #00B760;
  35. color: #00B760;
  36. padding: 4rpx 16rpx;
  37. font-size: 24rpx;
  38. margin: 10rpx 10rpx 0 0;
  39. border-radius: 10rpx;
  40. }
  41. }
  42. }
  43. </style>