index.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <!-- 理论研究页 -->
  3. <div class="main-background main-background-type0">
  4. <!-- 轮播 -->
  5. <Carousel v-bind="carouselConfig" class="main-header-box small carousel-light">
  6. <Slide class="main-header-box small">
  7. <img src="@/assets/images/research/Banner.jpg" />
  8. </Slide>
  9. <template #addons>
  10. <Navigation />
  11. <Pagination />
  12. </template>
  13. </Carousel>
  14. <!-- 理论研究 -->
  15. <section class="main-section main-background">
  16. <div class="content">
  17. <div class="title">
  18. <h2>理论研究</h2>
  19. </div>
  20. <ThreeImageList :list="list" />
  21. </div>
  22. </section>
  23. </div>
  24. </template>
  25. <script setup lang="ts">
  26. import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel'
  27. import Image1 from '@/assets/images/research/Image1.jpg';
  28. import Image2 from '@/assets/images/research/Image2.jpg';
  29. import Image3 from '@/assets/images/research/Image3.jpg';
  30. import Image4 from '@/assets/images/research/Image4.jpg';
  31. import Image5 from '@/assets/images/research/Image5.jpg';
  32. import ThreeImageList from '@/components/parts/ThreeImageList.vue';
  33. const router = useRouter();
  34. const carouselConfig = {
  35. itemsToShow: 1,
  36. wrapAround: true,
  37. autoPlay: 5000,
  38. }
  39. const list = [
  40. {
  41. title: '研究团队',
  42. desc: '让文化因传承而永存',
  43. image: Image1,
  44. link: router.resolve('/research/teams').href,
  45. },
  46. {
  47. title: '研究项目',
  48. desc: '让文化因传承而永存',
  49. image: Image2,
  50. link: router.resolve('/research/projects').href,
  51. },
  52. {
  53. title: '理论研讨',
  54. desc: '让文化因传承而永存',
  55. image: Image3,
  56. link: router.resolve('/research/discuss').href,
  57. },
  58. {
  59. title: '研究成果',
  60. desc: '让文化因传承而永存',
  61. image: Image4,
  62. link: router.resolve('/research/result').href,
  63. },
  64. {
  65. title: '专家学者',
  66. desc: '让文化因传承而永存',
  67. image: Image5,
  68. link: router.resolve('/research/expert').href,
  69. },
  70. {
  71. title: '',
  72. desc: '',
  73. image: '',
  74. link: '',
  75. }
  76. ];
  77. </script>
  78. <style lang="scss">
  79. @media (max-width: 425px) {
  80. }
  81. </style>