index.vue 935 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <div>
  3. <headCarousel></headCarousel>
  4. <div class="stickyBox py-5">
  5. <headSearch></headSearch>
  6. </div>
  7. <hotJobs></hotJobs>
  8. <div class="default-width">
  9. <jobTypeCard class="mb-5" page></jobTypeCard>
  10. <hotPromotedPositions></hotPromotedPositions>
  11. <PopularEnterprises class="mt-10"></PopularEnterprises>
  12. </div>
  13. </div>
  14. </template>
  15. <script setup>
  16. import headCarousel from './components/headCarousel.vue'
  17. import headSearch from '@/components/headSearch'
  18. import hotJobs from './components/hotJobs.vue'
  19. import jobTypeCard from '@/components/jobTypeCard'
  20. import hotPromotedPositions from './components/hotPromotedPositions.vue'
  21. import PopularEnterprises from './components/popularEnterprises.vue'
  22. defineOptions({ name:'personal-index'})
  23. </script>
  24. <style lang="scss" scoped>
  25. .stickyBox {
  26. position: sticky;
  27. top: 48px;
  28. z-index: 999;
  29. background-color: var(--default-bgc);
  30. }
  31. </style>