.elementor-kit-17{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-weight:500}.elementor-kit-17 e-page-transition{background-color:#FFBC7D}.elementor-section.elementor-section-boxed>.elementor-container{max-width:1140px}.e-con{--container-max-width:1140px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px}.elementor-widget:not(:last-child){--kit-widget-spacing:20px}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px}{}h1.entry-title{display:var(--page-title-display)}@media(max-width:1024px){.elementor-section.elementor-section-boxed>.elementor-container{max-width:1024px}.e-con{--container-max-width:1024px}}@media(max-width:768px){.elementor-section.elementor-section-boxed>.elementor-container{max-width:767px}.e-con{--container-max-width:767px}}document.addEventListener('DOMContentLoaded',function(){const buttons=document.querySelectorAll('.bg-slide-btn');const container=document.querySelector('.bg-slide-container');// 找到Elementor背景幻灯片的实例 const slideshow=container.querySelector('.elementor-background-slideshow');if (!slideshow) return;buttons.forEach(btn=>{btn.addEventListener('click',function(){// 获取按钮对应的幻灯片索引 const targetIndex=parseInt(this.getAttribute('data-slide-index'));// 停止自动轮播（可选，根据需求保留） slideshow.classList.remove('elementor-slideshow-autoplay');// 跳转到目标背景图 slideshow.style.setProperty('--elementor-slideshow-current-slide',targetIndex);// 按钮激活高亮 buttons.forEach(b=>b.classList.remove('active'));this.classList.add('active')})})});