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

问题描述

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

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

如何修复?

代码是:

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 (将#修改为@)