1.优化详情页滚动翻页2.增加忽略问卷

This commit is contained in:
王创世 2025-05-30 15:24:43 +08:00
parent 5fe71d1c31
commit e6e281aaca
2 changed files with 50 additions and 38 deletions

2
.gitignore vendored
View File

@ -5,7 +5,7 @@
.nitro
.cache
dist
.history
# Node dependencies
node_modules

View File

@ -2,7 +2,8 @@
<div style="width: 100%;">
<!-- Swiper 容器 -->
<div :class="['group_666', { 'isOldfont': isOldfont }]" style="position: relative;height: 100vh;">
<AppHeader v-if="swiper_exp > 0" @crrentTop="toswiper" @openOldMode="openOldMode" :is-old="isOldfont" ref="AppHeader" :crrent-num="swiper_exp" />
<AppHeader v-if="swiper_exp > 0" @crrentTop="toswiper" @openOldMode="openOldMode" :is-old="isOldfont"
ref="AppHeader" :crrent-num="swiper_exp" />
<swiper class="swiper-container h-full" @swiper="onSwiperNews" v-bind="swiperOptionsNews">
<swiper-slide>
<img :src="`/img/index/homebg.png`" style="width: 100%;height: 100%;object-fit: cover;">
@ -86,8 +87,10 @@
</p>
</div>
<div class="tuanguanxi">
<a href="https://mp.weixin.qq.com/s/N-qAWMJNGb7WjkXp3Xqrhg" rel="nofollow" target="_blank" style="display: block;"><img src="/img/tgxzj.jpg"></a>
<a href="http://qnyz.lyd.com.cn/" rel="nofollow" target="_blank" style="display: block;"><img src="/img/qnyz.jpg"></a>
<a href="https://mp.weixin.qq.com/s/N-qAWMJNGb7WjkXp3Xqrhg" rel="nofollow" target="_blank"
style="display: block;"><img src="/img/tgxzj.jpg"></a>
<a href="http://qnyz.lyd.com.cn/" rel="nofollow" target="_blank" style="display: block;"><img
src="/img/qnyz.jpg"></a>
<img src="/img/lyb.jpg" @click="toswiper(8)" />
</div>
</div>
@ -144,7 +147,11 @@ const onSwiperNews = (swiper: any) => {
// console.log(swiper.el.scrollHeight);
// console.log(window);
swiper_exp.value = swiper.realIndex;
if (swiper.realIndex == 6) {
newsSwiper.mousewheel.disable(); //
} else {
newsSwiper.mousewheel.enable(); //
}
})
}
let isMeassage = ref(true);
@ -491,13 +498,16 @@ onMounted(() => {
top: 40px;
align-items: center;
z-index: 111;
.qqt {
cursor: pointer;
}
.divcode {
position: relative;
display: flex;
justify-content: center;
.imgs {
width: 63px;
margin-bottom: 20px;
@ -512,17 +522,19 @@ onMounted(() => {
bottom: 20px;
transition: all 0.5s;
}
&:hover .pcode {
width: 100px;
}
}
.tuanguanxi {
position: relative;
left: 30px;
}
}
.isOldfont * {
font-size: 28px !important;
}
</style>