diff --git a/css/projectList.css b/css/projectList.css index 9b1e9af..3778aac 100644 --- a/css/projectList.css +++ b/css/projectList.css @@ -8,6 +8,7 @@ display: flex; justify-content: center; align-items: center; + z-index: 999; /* 定义一个名为 rotate 的动画,让元素从 0 度旋转到 360 度 */ } .loading-mask .loading-icon { diff --git a/css/projectList.less b/css/projectList.less index 4b656ee..1da98ae 100644 --- a/css/projectList.less +++ b/css/projectList.less @@ -8,6 +8,7 @@ display: flex; justify-content: center; align-items: center; + z-index: 999; .loading-icon { width: 50px; animation: loadingRotate 2s linear infinite;