1. 程式人生 > >CRMEB刪除公眾號首頁logo動畫

CRMEB刪除公眾號首頁logo動畫

開啟檔案

/application/wap/view/first/index/index.html  

<div class="lottie-bg"><div id="lottie"></div></div>
<script>
    var anim;
    var elem = document.getElementById('lottie');
    //elem.style.display = 'none';
    var animData = {
        container: elem,
        renderer: 'svg',
        loop: true,
        autoplay: true,
        rendererSettings: {
            progressiveLoad:false,
            imagePreserveAspectRatio: 'xMidYMid meet'
        },
        path: '{__WAP_PATH}crmeb/js/animation.json'
    };
    anim = lottie.loadAnimation(animData);
    anim.setSubframe(false);
    setTimeout(
        function () {
            $('.lottie-bg').hide();
        },2000)
</script>

找到以上程式碼刪掉就OK了