CN EN
About
基础护肤系列
Basic Skin Care
×
` } }, on: { init: function() {}, slideChange: function() { var delay = this.params.autoplay.delay; delay = delay / 1000; $('.widgets .swiper-pagination-bullet').removeClass('play'); $('.widgets .swiper-pagination-bullet-active').addClass('play'); $('.widgets .btn-area .bullet_outer .liner').css({ "transition": 0 + 's linear', "width": '0%' }) $('.widgets .btn-area .play .bullet_outer .liner').css({ "transition": delay + 's linear', "width": '100%' }) }, } }); $(function() { $('.widgets .swiper-pagination-bullet-active').addClass('play'); }); $('.shenKplay').click(function() { document.getElementById('audio').play(); }); $(window).scroll(function() { var topS = $(window).scrollTop(); if (topS > 100) { $('.index_header').addClass('active'); } else { $('.index_header').removeClass('active'); } }); //鼠标经过固定 $('.index_header').mouseenter(function() { $(this).addClass("active"); }).mouseleave(function() { if ($(window).scrollTop() == 0) { $('.index_header').removeClass("active"); } });