From c75ed3a1e10303a864787a152158e4574e2649c6 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期三, 10 十一月 2021 14:19:26 +0800
Subject: [PATCH] 缩放

---
 src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue |   38 ++++++++++++++++++++++++++++----------
 1 files changed, 28 insertions(+), 10 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
index ead0f1a..981dbf8 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
@@ -597,7 +597,6 @@
         }
       });
       Object.assign(query, ...filterQuerys);
-
       getlst(query).then((res) => {
         if (_this.showType == "list") {
           _this.tableTotal = res.total;
@@ -714,9 +713,25 @@
       });
     },
     hasError(data) {
+      let status = true;
       if (!data.EventLst || data.EventLst.length == 0) {
         return false;
       }
+
+      data.EventLst.forEach((item) => {
+        if (
+          item.Event.indexOf("鐬湜") > -1 ||
+          item.Event.indexOf("浜烘暟鍙樺寲") > -1
+        ) {
+          status = false;
+          false;
+        }
+      });
+
+      if (!status) {
+        return false;
+      }
+
       const t = data.EventLst.some((x) => x.state == 0);
       return t && data.IsOperate == "1";
     },
@@ -900,7 +915,6 @@
   background-color: #f4f6f9;
   margin: 0 5px;
   margin-bottom: 10px;
-
   * {
     box-sizing: content-box;
     color: #425277;
@@ -1029,9 +1043,9 @@
                 padding: 0 10px;
                 text-align: left;
                 width: fit-content;
+                cursor: pointer;
               }
               &:hover > .option-name {
-                // outline: 1px solid #a8b7ee;
                 background: #e2e7f9;
                 span {
                   color: #2d52d7;
@@ -1162,17 +1176,21 @@
         .show-type {
           display: flex;
           .list span {
-            font-size: 20px;
+            font-size: 18px;
+            line-height: 20px;
           }
           .type {
-            font-size: 18px;
-            padding: 2px 4px 0px 4px;
+            font-size: 17px;
             border-radius: 4px;
             cursor: pointer;
+            height: 20px;
+            width: 20px;
+            line-height: 19px;
+
             &.menu {
-              margin-right: 10px;
+              margin-right: 5px;
               span {
-                font-size: 15px;
+                font-size: 14px;
               }
             }
             &.current {
@@ -1212,8 +1230,8 @@
           cursor: pointer;
           border-radius: 3px;
           width: 100%;
-          padding-top: 56.25%;
-          height: 0;
+          // padding-top: 56.25%;
+          height: 57%;
           position: relative;
           img {
             position: absolute;

--
Gitblit v1.8.0