/* Loading容器样式 */ #loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #efefef; z-index: 9999; display: none; justify-content: center; align-items: center; transition: opacity 0.3s; } /* 旋转动画样式 */ .spinner { width: 50px; height: 50px; border: 5px solid white; border-top: 5px solid #3498db; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* 显示时样式 */ .active { display: flex !important; opacity: 1; }