问题描述
目前我的 dzsparallaxer 组件有问题。 该组件大约需要 7 到 10 秒才能显示视差效果,而容器显示为黑色。 我想知道如何避免它需要这么长时间,加载的内容是大小为72kb的图像,加载视差效果应该不需要很长时间。 我的代码如下:
<section class="dzsparallaxer auto-init height-is-based-on-content use-loading mode-scroll loaded dzsprx-readyall"
data-options='{direction: "fromtop",animation_duration: 25,direction: "reverse"}'>
<!-- Parallax Image -->
<div class="divimage dzsparallaxer--target w-100 g-bg-cover g-bg-pos-center g-bg-black-opacity-0_2--after"
style="height: 140%;
background-image: url(PortadaAbout.jpg);">
</div>
<!-- End Parallax Image -->
<!-- Promo Block Content -->
<div class="container g-color-white text-center g-py-150">
<!--<span class="d-block g-font-weight-300 g-font-size-25 mb-3">discover more about us</span>-->
<h3 class="h1 text-uppercase mb-0">Wow Cube</h3>
</div>
<!-- Promo Block Content -->
</section>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)