ResearchView.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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 { usePageAction } from '@/composeable/PageAction';
  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. onClick: () => {
  45. navTo('/research/team');
  46. }
  47. },
  48. {
  49. title: '研究项目',
  50. desc: '让文化因传承而永存',
  51. image: Image2,
  52. onClick: () => {
  53. navTo('/research/projects');
  54. }
  55. },
  56. {
  57. title: '理论研讨',
  58. desc: '让文化因传承而永存',
  59. image: Image3,
  60. onClick: () => {
  61. navTo('/research/discuss');
  62. }
  63. },
  64. {
  65. title: '研究成果',
  66. desc: '让文化因传承而永存',
  67. image: Image4,
  68. onClick: () => {
  69. navTo('/research/result');
  70. }
  71. },
  72. {
  73. title: '专家学者',
  74. desc: '让文化因传承而永存',
  75. image: Image5,
  76. onClick: () => {
  77. navTo('/research/expert');
  78. }
  79. },
  80. {
  81. title: '',
  82. desc: '',
  83. image: '',
  84. }
  85. ]
  86. const { navTo } = usePageAction();
  87. </script>
  88. <style lang="scss">
  89. @media (max-width: 425px) {
  90. }
  91. </style>