refactor: 专题 - 电力品线

This commit is contained in:
2025-11-28 14:51:30 +08:00
parent 88e307a10e
commit 13e58c33a2
2 changed files with 31 additions and 44 deletions

View File

@@ -16,7 +16,7 @@
{block name="main"}
<a class="header" href="/">
<div class="header-img">
<!-- <img src="__IMAGES__/logo.png" alt=""> -->
<img src="__IMAGES__/logo.png" alt="">
</div>
</a>
<!-- 轮播核心容器 -->
@@ -364,7 +364,6 @@
{/block}
{block name="script"}
<script type="text/javascript">
let swiper=null;
const advantageItems = document.querySelectorAll('.advantage-card');
let scrollTop = 0; // 保存页面滚动位置
@@ -579,8 +578,5 @@
// 初始化时触发滚动事件,确保状态正确
window.dispatchEvent(new Event('scroll'));
};
</script>
{/block}