张延森 2 년 전
부모
커밋
4dd8805155
1개의 변경된 파일13개의 추가작업 그리고 3개의 파일을 삭제
  1. 13
    3
      src/components/Loader.vue

+ 13
- 3
src/components/Loader.vue 파일 보기

@@ -57,9 +57,9 @@ const onTouchMove = (e) => {
57 57
 }
58 58
 
59 59
 const playMask = () => {
60
-  maskStatusRef.value = 2
61
-  entranceAudioRef.value.play();
62
-  maskRef.value.start();
60
+  // maskStatusRef.value = 2
61
+  // entranceAudioRef.value.play();
62
+  // maskRef.value.start();
63 63
 }
64 64
 
65 65
 watch(() => props.loading, (newVal, oldVal) => {
@@ -115,6 +115,16 @@ watch(() => props.loading, (newVal, oldVal) => {
115 115
     .enter {
116 116
       margin-top: 2em;
117 117
       font-family: "STXINGKA";
118
+      animation-name: justjump;
119
+      animation-duration: 1.3s;
120
+      animation-iteration-count: infinite;
121
+      animation-fill-mode: both;
122
+    }
123
+
124
+    @keyframes justjump {
125
+      0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
126
+      40% {-webkit-transform: translateY(-30px);}
127
+      60% {-webkit-transform: translateY(-15px);}
118 128
     }
119 129
   }
120 130