|
|
@ -24,6 +24,11 @@ |
|
|
|
:pagination="pagination" |
|
|
|
:modules="modules" |
|
|
|
:autoHeight="true" |
|
|
|
:loop="true" |
|
|
|
:autoplay="{ |
|
|
|
delay: 3000, |
|
|
|
disableOnInteraction: false, |
|
|
|
}" |
|
|
|
class="case_detail_swiper" |
|
|
|
> |
|
|
|
<swiper-slide |
|
|
@ -114,7 +119,7 @@ import { ref, onMounted } from 'vue' |
|
|
|
import { handleScreenAuto, handleScreenToFlexCenter } from '@/common/utils' |
|
|
|
// Import Swiper Vue.js components |
|
|
|
import { Swiper, SwiperSlide } from 'swiper/vue' |
|
|
|
import { Pagination } from 'swiper' |
|
|
|
import { Pagination, Autoplay } from 'swiper' |
|
|
|
import { hardware_list } from '@/mock/hardware' |
|
|
|
import { useDetailStore, useSwiperStore } from '@/store' |
|
|
|
import { storeToRefs } from 'pinia' |
|
|
@ -128,7 +133,7 @@ import Tabs from 'cpns/Tabs' |
|
|
|
import Trumbs from 'cpns/Trumbs' |
|
|
|
import Intro from 'cpns/Intro' |
|
|
|
const showEmpty = ref(true) |
|
|
|
const modules = ref([Pagination]) |
|
|
|
const modules = ref([Pagination, Autoplay]) |
|
|
|
const detailStore = useDetailStore() |
|
|
|
const swiperStore = useSwiperStore() |
|
|
|
const { hardware_id, hardwareExampleId } = storeToRefs(detailStore) |
|
|
|