|
|
@ -58,29 +58,48 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="pic_list" id="wrapper_case_picture_id"> |
|
|
|
<div class="scroll_container_case mb4" id="scroll_container_case_1"> |
|
|
|
<div class="img_card" v-for="item in 30" :key="item"> |
|
|
|
<img class="pic" :src="A1" alt="" /> |
|
|
|
<div class="dialog_text"> |
|
|
|
<div class="btn">查看详情</div> |
|
|
|
<div class="scroll_container_case mb4"> |
|
|
|
<Vue3Marquee |
|
|
|
duration="100" |
|
|
|
:pauseOnHover="true" |
|
|
|
:pauseOnClick="true" |
|
|
|
> |
|
|
|
<div class="img_card" v-for="item in 30" :key="item"> |
|
|
|
<img class="pic" :src="A1" alt="" /> |
|
|
|
<div class="dialog_text"> |
|
|
|
<div class="btn">查看详情</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Vue3Marquee> |
|
|
|
</div> |
|
|
|
<div class="scroll_container_case mb4" id="scroll_container_case_2"> |
|
|
|
<div class="img_card" v-for="item in 20" :key="item"> |
|
|
|
<img class="pic" :src="A1" alt="" /> |
|
|
|
<div class="dialog_text"> |
|
|
|
<div class="btn">查看详情</div> |
|
|
|
<div class="scroll_container_case mb4"> |
|
|
|
<Vue3Marquee |
|
|
|
direction="reverse" |
|
|
|
duration="100" |
|
|
|
:pauseOnHover="true" |
|
|
|
:pauseOnClick="true" |
|
|
|
> |
|
|
|
<div class="img_card" v-for="item in 20" :key="item"> |
|
|
|
<img class="pic" :src="A1" alt="" /> |
|
|
|
<div class="dialog_text"> |
|
|
|
<div class="btn">查看详情</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Vue3Marquee> |
|
|
|
</div> |
|
|
|
<div class="scroll_container_case mb4" id="scroll_container_case_3"> |
|
|
|
<div class="img_card" v-for="item in 30" :key="item"> |
|
|
|
<img class="pic" :src="A1" alt="" /> |
|
|
|
<div class="dialog_text"> |
|
|
|
<div class="btn">查看详情</div> |
|
|
|
<div class="scroll_container_case mb4"> |
|
|
|
<Vue3Marquee |
|
|
|
duration="100" |
|
|
|
:pauseOnHover="true" |
|
|
|
:pauseOnClick="true" |
|
|
|
> |
|
|
|
<div class="img_card" v-for="item in 30" :key="item"> |
|
|
|
<img class="pic" :src="A1" alt="" /> |
|
|
|
<div class="dialog_text"> |
|
|
|
<div class="btn">查看详情</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Vue3Marquee> |
|
|
|
</div> |
|
|
|
<p class="zhezhao_right"></p> |
|
|
|
<p class="zhezhao_left"></p> |
|
|
@ -92,8 +111,8 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup> |
|
|
|
import '@/assets/js/jquery-1.8.3.min.js' |
|
|
|
import '@/assets/js/jquery.liMarquee.js' |
|
|
|
import { Vue3Marquee } from 'vue3-marquee' |
|
|
|
import 'vue3-marquee/dist/style.css' |
|
|
|
import CountTo from 'cpns/CountTo' |
|
|
|
import { ref, onMounted } from 'vue' |
|
|
|
import A1 from '@/assets/img/case/anli1.png' |
|
|
@ -112,18 +131,6 @@ const modules = ref([Autoplay]) |
|
|
|
onMounted(() => { |
|
|
|
handleScreenAuto('#case_picture') |
|
|
|
window.onresize = handleScreenAuto('#case_picture') |
|
|
|
$('#scroll_container_case_1').liMarquee({ |
|
|
|
direction: 'left', |
|
|
|
scrollamount: 70, |
|
|
|
}) |
|
|
|
$('#scroll_container_case_2').liMarquee({ |
|
|
|
direction: 'right', |
|
|
|
scrollamount: 30, |
|
|
|
}) |
|
|
|
$('#scroll_container_case_3').liMarquee({ |
|
|
|
direction: 'left', |
|
|
|
scrollamount: 70, |
|
|
|
}) |
|
|
|
}) |
|
|
|
const showEmpty = ref(true) |
|
|
|
</script> |
|
|
@ -165,7 +172,7 @@ const showEmpty = ref(true) |
|
|
|
flex-direction: column; |
|
|
|
font-family: 'SourceHanSans'; |
|
|
|
background-size: 100% 100%; |
|
|
|
padding: 40px; |
|
|
|
padding: 40px 0 0 0; |
|
|
|
box-sizing: border-box; |
|
|
|
position: relative; |
|
|
|
white-space: nowrap; |
|
|
@ -238,6 +245,7 @@ const showEmpty = ref(true) |
|
|
|
right: 70px; |
|
|
|
bottom: 0px; |
|
|
|
width: 163px; |
|
|
|
z-index: 999; |
|
|
|
height: 100%; |
|
|
|
background: url(../../../../assets/img/case/zhezhao.png) no-repeat; |
|
|
|
background-size: 100% 100%; |
|
|
@ -245,6 +253,7 @@ const showEmpty = ref(true) |
|
|
|
.zhezhao_left { |
|
|
|
position: absolute; |
|
|
|
left: 70px; |
|
|
|
z-index: 999; |
|
|
|
top: 0; |
|
|
|
bottom: 0; |
|
|
|
width: 163px; |
|
|
@ -258,6 +267,8 @@ const showEmpty = ref(true) |
|
|
|
} |
|
|
|
.scroll_container_case { |
|
|
|
flex: 1; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
.img_card { |
|
|
|
width: auto; |
|
|
|
height: 100%; |
|
|
|