|
|
@ -63,10 +63,11 @@ |
|
|
|
duration="100" |
|
|
|
:pauseOnHover="true" |
|
|
|
:pauseOnClick="true" |
|
|
|
style="height: 100%" |
|
|
|
> |
|
|
|
<div |
|
|
|
class="img_card" |
|
|
|
v-for="item in allCaseList" |
|
|
|
v-for="item in allCaseList1" |
|
|
|
:key="item.id" |
|
|
|
> |
|
|
|
<img class="pic" :src="item.picUrl" alt="" /> |
|
|
@ -87,11 +88,21 @@ |
|
|
|
duration="100" |
|
|
|
:pauseOnHover="true" |
|
|
|
:pauseOnClick="true" |
|
|
|
style="height: 100%" |
|
|
|
> |
|
|
|
<div class="img_card" v-for="item in 20" :key="item"> |
|
|
|
<img class="pic" :src="A1" alt="" /> |
|
|
|
<div |
|
|
|
class="img_card" |
|
|
|
v-for="item in allCaseList2" |
|
|
|
:key="item.id" |
|
|
|
> |
|
|
|
<img class="pic" :src="item.picUrl" alt="" /> |
|
|
|
<div class="dialog_text"> |
|
|
|
<div class="btn">查看详情</div> |
|
|
|
<div |
|
|
|
class="btn" |
|
|
|
@click="toDetail(item.example_id, item.industry_id)" |
|
|
|
> |
|
|
|
查看详情 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Vue3Marquee> |
|
|
@ -101,11 +112,21 @@ |
|
|
|
duration="100" |
|
|
|
:pauseOnHover="true" |
|
|
|
:pauseOnClick="true" |
|
|
|
style="height: 100%" |
|
|
|
> |
|
|
|
<div class="img_card" v-for="item in 30" :key="item"> |
|
|
|
<img class="pic" :src="A1" alt="" /> |
|
|
|
<div |
|
|
|
class="img_card" |
|
|
|
v-for="item in allCaseList3" |
|
|
|
:key="item.id" |
|
|
|
> |
|
|
|
<img class="pic" :src="item.picUrl" alt="" /> |
|
|
|
<div class="dialog_text"> |
|
|
|
<div class="btn">查看详情</div> |
|
|
|
<div |
|
|
|
class="btn" |
|
|
|
@click="toDetail(item.example_id, item.industry_id)" |
|
|
|
> |
|
|
|
查看详情 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Vue3Marquee> |
|
|
@ -131,7 +152,7 @@ import { Autoplay } from 'swiper' |
|
|
|
import { handleScreenAuto, handleScreenToFlexCenter } from '@/common/utils' |
|
|
|
import { useCountStore, useDetailStore, useSwiperStore } from '@/store' |
|
|
|
import { storeToRefs } from 'pinia' |
|
|
|
import { allCaseList } from '@/mock/case' |
|
|
|
import { allCaseList2, allCaseList1, allCaseList3 } from '@/mock/case' |
|
|
|
// Import Swiper styles |
|
|
|
import 'swiper/css' |
|
|
|
const countStore = useCountStore() |
|
|
@ -232,6 +253,7 @@ const showEmpty = ref(true) |
|
|
|
.wrapper_swiper { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
min-height: 0; |
|
|
|
flex: 1; |
|
|
|
justify-content: space-between; |
|
|
|
.data_container { |
|
|
@ -257,6 +279,7 @@ const showEmpty = ref(true) |
|
|
|
.pic_list { |
|
|
|
padding: 46px 75px 75px 75px; |
|
|
|
position: relative; |
|
|
|
min-height: 0; |
|
|
|
flex: 1; |
|
|
|
display: flex; |
|
|
|
justify-content: space-evenly; |
|
|
@ -287,12 +310,14 @@ const showEmpty = ref(true) |
|
|
|
margin-bottom: 41px; |
|
|
|
} |
|
|
|
.scroll_container_case { |
|
|
|
min-height: 0; |
|
|
|
flex: 1; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
.img_card { |
|
|
|
width: auto; |
|
|
|
height: 100%; |
|
|
|
flex: 1; |
|
|
|
margin: 0 22px; |
|
|
|
position: relative; |
|
|
|
.pic { |
|
|
|