shaogen1995 11 mesi fa
parent
commit
f5be0dc949

+ 14 - 0
Code/src/assets/styles/base.css

@@ -212,3 +212,17 @@ textarea {
   height: 100vh;
   z-index: 2;
 }
+.HotIconBase {
+  animation: yunShan 2s infinite linear;
+}
+@keyframes yunShan {
+  0% {
+    opacity: 1;
+  }
+  50% {
+    opacity: 0.2;
+  }
+  100% {
+    opacity: 1;
+  }
+}

+ 18 - 0
Code/src/assets/styles/base.less

@@ -259,3 +259,21 @@ textarea {
   height: 100vh;
   z-index: 2;
 }
+
+// 热点图标闪动
+.HotIconBase {
+  animation: yunShan 2s infinite linear;
+}
+@keyframes yunShan {
+  0% {
+    opacity: 1;
+  }
+
+  50% {
+    opacity: 0.2;
+  }
+
+  100% {
+    opacity: 1;
+  }
+}

+ 3 - 0
Code/src/components/HotIcon/index.module.scss

@@ -35,6 +35,9 @@
       opacity: 1;
       // pointer-events: auto;
     }
+    .HotIconBase {
+      opacity: 0;
+    }
   }
 }
 .HotIconZhan {

BIN
资源/staticData/visit/bg.jpg