微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

末端的自己的轮播中的空幻灯片

如何解决末端的自己的轮播中的空幻灯片

我正在主页上使用以下代码作为滑块。

但是最后显示了一张空的幻灯片

如何修复?

代码是:

sudo ls volumes/pipeline_runs/_data

JS是:

<header>
        <div class="owl-carousel owl-theme">
            <div class="item">
                <img src="https://cdn.pixabay.com/photo/2017/10/24/10/30/business-2884023_960_720.jpg" alt="images not found">
                <div class="cover">
                    <div class="container">
                        <div class="header-content">
                            <div class="line"></div>
                            <h2>Teimagine Digital Experience with</h2>
                            <h1>Start-ups and solutions</h1>
                            <h4>We help entrepreneurs,start-ups and enterprises shape their ideas into products</h4>
                        </div>
                    </div>
                 </div>
            </div>                    
            <div class="item">
                <img src="https://cdn.pixabay.com/photo/2016/03/09/09/22/workplace-1245776_960_720.jpg" alt="images not found">
                <div class="cover">
                    <div class="container">
                        <div class="header-content">
                            <div class="line animated bounceInLeft"></div>
                            <h2>Reimagine Digital Experience with</h2>
                            <h1>Intelligent solutions</h1>
                            <h4>We help entrepreneurs,start-ups and enterprises shape their ideas into products</h4>
                        </div>
                    </div>
                 </div>
            </div>                
           <div class="item">
                <img src="https://cdn.pixabay.com/photo/2017/10/24/10/30/business-2884023_960_720.jpg" alt="images not found">
                <div class="cover">
                    <div class="container">
                        <div class="header-content">
                            <div class="line"></div>
                            <h2>Teimagine Digital Experience with</h2>
                            <h1>Start-ups and solutions</h1>
                            <h4>We help entrepreneurs,start-ups and enterprises shape their ideas into products</h4>
                        </div>
                    </div>
                 </div>
            </div>        
        </div>
    </header>

CSS是:

$(document).ready(function(){
    $('.owl-carousel').owlCarousel({
           loop:true,infinite:true,margin:10,dots:false,nav:false,mouseDrag:false,autoplay:true,animateOut: 'slideOutUp',responsive:{
                0:{
                    items:1
                },600:{
                    items:1
                },1000:{
                    items:1
                }
            }
       });
});

JSFIDDLE

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。