浏览代码

恢复告警图标动画

gcz 2 年之前
父节点
当前提交
f02ef62b08
共有 1 个文件被更改,包括 15 次插入15 次删除
  1. 15 15
      src/components/alarm.vue

+ 15 - 15
src/components/alarm.vue

@@ -1,5 +1,5 @@
 <!--
- * @LastEditors: wangcc
+ * @LastEditors: gcz
 -->
 <template>
   <div class="alarm-wrap">
@@ -204,20 +204,20 @@ export default {
     }
   }
 }
-// @keyframes imageAnimation {
-//   0% {
-//     opacity: 1;
-//     transform: none;
-//   }
-//   50% {
-//     opacity: 0.3;
-//     transform: none;
-//   }
-//   100% {
-//     opacity: 1;
-//     transform: none;
-//   }
-// }
+@keyframes imageAnimation {
+  0% {
+    opacity: 1;
+    transform: none;
+  }
+  50% {
+    opacity: 0.3;
+    transform: none;
+  }
+  100% {
+    opacity: 1;
+    transform: none;
+  }
+}
 
 .g-container {
   width: 100%;