1.优化详情页滚动翻页2.增加忽略问卷
This commit is contained in:
parent
5fe71d1c31
commit
e6e281aaca
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,7 +5,7 @@
|
||||
.nitro
|
||||
.cache
|
||||
dist
|
||||
|
||||
.history
|
||||
# Node dependencies
|
||||
node_modules
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user