ResearchView.vue 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 { onMounted, ref } from 'vue';
  28. import Image1 from '@/assets/images/research/Image1.jpg';
  29. import Image2 from '@/assets/images/research/Image2.jpg';
  30. import Image3 from '@/assets/images/research/Image3.jpg';
  31. import Image4 from '@/assets/images/research/Image4.jpg';
  32. import Image5 from '@/assets/images/research/Image5.jpg';
  33. import ThreeImageList from '@/components/parts/ThreeImageList.vue';
  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. },
  45. {
  46. title: '研究项目',
  47. desc: '让文化因传承而永存',
  48. image: Image2,
  49. },
  50. {
  51. title: '理论研讨',
  52. desc: '让文化因传承而永存',
  53. image: Image3,
  54. },
  55. {
  56. title: '研究成果',
  57. desc: '让文化因传承而永存',
  58. image: Image4,
  59. },
  60. {
  61. title: '专家学者',
  62. desc: '让文化因传承而永存',
  63. image: Image5,
  64. },
  65. {
  66. title: '',
  67. desc: '',
  68. image: '',
  69. }
  70. ]
  71. </script>
  72. <style lang="scss">
  73. @media (max-width: 425px) {
  74. }
  75. </style>