求助 tab切换下嵌套swiper垂直向上循环滚动,滚动一圈的问题

查看数: 2452 | 评论数: 1 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2020-6-17 14:25

正文摘要:

在tab切换下嵌套swiper垂直向上循环滚动,到第3个视觉上感觉滚动了一圈,是怎么回事呢,并且不知道怎么描述查找这个问题,有人遇到么?求大神指点,不胜感激! 以下是html里的dom <div class="score_res">   &n ...

回复

小姨家错对门 发表于 2020-6-17 14:26:35
字数限制不能发到一起,这是css
.score_res{width: 84%;margin: 0 auto;}
.score_tit{width: 100%;margin-bottom: 24px;}
.score_tit a{display: block;width: 100px;height: 30px;float: left;font:normal 16px/30px 'Microsoft Yahei';color: #89898b;text-align: center;letter-spacing: 1px;background: url(../images/score_res_titbg1.png) center 0 no-repeat;}
.score_tit a.score_tit2{background-image: url(../images/score_res_titbg2.png);}
.score_tit a.on,.score_tit a:hover{background-position: center -30px;color: #fff;}
.score_res_list{width: 100%;display: none;margin-bottom: 30px;}
.score_res_list li{width: 100%;font:normal 16px/46px 'Microsoft Yahei';color: #434759;float: left;height: 46px;}
.score_res_list li.tab_tit{background: #f7fafe;color: #2e76ef;}
.score_res_list li.odd{background: #f7fafe;}
.score_res_list span{float: left;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;text-align: center;}
.s_name{width: 20%;}
.s_stage{width: 20%;}
.s_subject{width: 20%;}
.s_city{width: 20%;}
.s_score{width: 20%;}
.scroll{height: 230px;overflow: hidden;}

Archiver|手机版|小黑屋|Swiper中文网 ( 粤ICP备15001020号

GMT+8, 2024-5-3 03:08 , Processed in 0.065392 second(s), 31 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表