Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

66 строки
1.3 KiB

  1. <template>
  2. <view class="TalentDemandStyle" :class="{empitCenter:!list || list.length === 0}">
  3. <uni-list v-if="list.length>0">
  4. <uni-list-item ellipsis="1" v-for="item in list" :title="'职位:'+ item.JobName"
  5. :note="item.UnitName + '(' + item.Leader + ')'" type="line" clickable @click="jump(item.ID)">
  6. <template v-slot:footer>
  7. <view class="slot-tag">
  8. <u-tag :text="item.EducationEquirement" plain size="mini"></u-tag>
  9. <u-tag :text="item.SkillDemand" plain size="mini" style="margin-left: 40rpx;"></u-tag>
  10. </view>
  11. </template>
  12. </uni-list-item>
  13. </uni-list>
  14. <u-empty v-else mode="list" icon="../../static/image/data.jpg">
  15. </u-empty>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data() {
  21. return {
  22. list: []
  23. }
  24. },
  25. async mounted() {
  26. await this.init()
  27. },
  28. methods: {
  29. jump(data) {
  30. uni.navigateTo({
  31. url: '/pages/TalentDemand/detail?id=' + data
  32. })
  33. },
  34. async init() {
  35. this.list = await this.HTTP_GET(
  36. '/api/ht/rc/list'
  37. )
  38. }
  39. },
  40. }
  41. </script>
  42. <style lang="less" scoped>
  43. .TalentDemandStyle {
  44. .slot-tag {
  45. display: flex;
  46. span {
  47. display: flex;
  48. }
  49. }
  50. &.empitCenter {
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. width: 100%;
  55. height: calc(100vh - 44px);
  56. padding-bottom: 200rpx !important;
  57. }
  58. }
  59. </style>