<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">function Page() {

}
$.extend(Page.prototype, {
    init: function () {
        this.handleDetail();
        this.handleAdv();
        this.handlePrevNext();
        this.handleLazyLoad();
    },
    handleLazyLoad: function () {
        window.onload = window.onscroll = function () {
            var imgs = document.querySelectorAll('img');
            lazyLoad(imgs);
        };
    },
    handleDetail: function () {
        $('.lw_inner').html($('.lw_inner').text())
    },
    handleAdv: function () {
        setTimeout(function () {
            var swiper = new Swiper('.swipperAdv', {
                pagination: {
                    el: '.swp1',
                    clickable: true,
                    renderBullet: function (index, className) {
                        return '&lt;span class="' + className + '"&gt;&lt;b class="t1"&gt;&lt;/b&gt;&lt;/span&gt;';
                    },
                },
                autoplay: true,
                loop: true,
            });
            swiper.el.onmouseenter = function () {
                swiper.autoplay.stop();
            };
            swiper.el.onmouseleave = function () {
                swiper.autoplay.start();
            }
        }, 200)

    },
    handlePrevNext: function () {
        if ($('.prev a').text() == '') {
            $('.prev').hide();
        }
        if ($('.next a').text() == '') {
            $('.next').hide();
        }
    }
})
var page = new Page();
page.init();</pre></body></html>