优化日内温度曲线图加载性能并修复图标旋转动画

- AiCityTemperatureChart:React.memo 包裹 + useMemo 依赖移除 detail 避免每帧重算
- ScanTerminalCard 等 9 个 CSS Module:animation: spin 改为 :global(spin) 修复 CSS Modules 作用域问题
This commit is contained in:
2569718930@qq.com
2026-05-14 17:31:25 +08:00
parent 8dd9aa59b3
commit 4f13faa311
10 changed files with 14 additions and 13 deletions
@@ -544,7 +544,7 @@
border: 2px solid rgba(34, 211, 238, 0.1);
border-top-color: var(--accent-cyan);
border-radius: 50%;
animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
animation: :global(spin) 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}