diff --git a/app/index/view/pc/topic_laptop/index.html b/app/index/view/pc/topic_laptop/index.html index 5e40f78b..a8844f0f 100644 --- a/app/index/view/pc/topic_laptop/index.html +++ b/app/index/view/pc/topic_laptop/index.html @@ -904,28 +904,6 @@ document.addEventListener('DOMContentLoaded', initInterfaceElement); })(); - // 进度条动画 - // function animateProgressBars (container) - // { - // if (container._isAnimating) return; - // container._isAnimating = true; - - // const progressFills = container.querySelectorAll('.progress-fill'); - // progressFills.forEach(fill => - // { - // clearTimeout(fill._animateTimer); - // fill.style.width = '0'; - // fill._animateTimer = setTimeout(() => - // { - // const targetValue = fill.getAttribute('data-value'); - // fill.style.width = targetValue + '%'; - // setTimeout(() => - // { - // container._isAnimating = false; - // }, 500); - // }, 100); - // }); - // } // 进度条动画 - 零HTML改动,仅优化性能 function animateProgressBars (container){ // 性能优化1:用WeakMap管理状态,避免污染DOM属性