Browse Source

🎈 perf: 优化登录加载动画

Pchen. 2 weeks ago
parent
commit
6ad21f53d0
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/pages/Login/uniLogin/uniLogin.vue

+ 3 - 4
src/pages/Login/uniLogin/uniLogin.vue

@@ -177,12 +177,11 @@ onMounted(() => {
     background-color: rgba(0, 0, 0, 0.2);
     background-color: rgba(0, 0, 0, 0.2);
     z-index: 9999;
     z-index: 9999;
     border-radius: 10px;
     border-radius: 10px;
+    display: flex;
+    justify-content: center;
+    align-items: center;
 
 
     .loadingTip {
     .loadingTip {
-        position: absolute;
-        top: 50%;
-        left: 50%;
-        transform: translate(-50%, -50%);
         color: #FE82A5;
         color: #FE82A5;
 
 
         .text {
         .text {