From ec831e9bfc190eefa4b6de068700f01458779ff4 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 29 Dec 2021 14:15:17 +0800
Subject: [PATCH] +其他搜索按钮样式  回调

---
 src/styles/tableSearchBut.scss            |   20 ++++++++++++++++----
 src/views/securityGuard/securityGuard.vue |    7 ++++++-
 2 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/src/styles/tableSearchBut.scss b/src/styles/tableSearchBut.scss
index 48cdceb..89c9f00 100644
--- a/src/styles/tableSearchBut.scss
+++ b/src/styles/tableSearchBut.scss
@@ -6,10 +6,10 @@
     }
 }
 // :nth-child(2)
-.tooRowSearch {
+.tooRowSearch1 {
     position: relative;
 }
-.tooRowSearch .avue-crud__search .avue-form__group.avue-form__group--flex .avue-form__menu--center {
+.tooRowSearch1 .avue-crud__search .avue-form__group.avue-form__group--flex .avue-form__menu--center {
     width: 222px !important;
     // width: 264px !important;
     // position: absolute !important;
@@ -23,7 +23,7 @@
     z-index: 100;
     @extend .ourOpen;
 }
-.tooRowSearch .el-card.is-never-shadow.avue-crud__search {
+.tooRowSearch1 .el-card.is-never-shadow.avue-crud__search {
     overflow: visible;
 }
 
@@ -31,7 +31,7 @@
     width: 222px !important;
     position: absolute !important;
     right: 0 !important;
-    top: 71px !important;
+    top: 91px !important;
     z-index: 100 !important;
 }
 .oneRowSearch .el-card.is-never-shadow.avue-crud__search {
@@ -52,3 +52,15 @@
 .avue-crud__pagination {
     padding: 15px 0 5px 5px;
 }
+
+.tooRowSearch .avue-crud__search .avue-form__group.avue-form__group--flex .avue-form__menu--center {
+    width: 222px !important;
+    position: absolute !important;
+    right: 0 !important;
+    top: 146px !important;
+    z-index: 100 !important;
+}
+
+.tooRowSearch .el-card.is-never-shadow.avue-crud__search {
+    overflow: visible;
+}
diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 9cd362c..b0f645b 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -16,7 +16,7 @@
     <el-col :span="24">
       <basic-container
         :class="[
-          $store.state.control.windowWidth >= 1024 ? 'tooRowSearch' : '',
+          $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
         ]"
       >
         <avue-crud
@@ -1327,6 +1327,11 @@
           if (that.option.height == "auto") {
             //解决第一次未渲染成功会报错的问题
             setTimeout(() => {
+              // console.log(
+              //   document
+              //     .getElementsByClassName("tablesss")[0]
+              //     .getElementsByClassName("avue-crud__search")
+              // );
               doit(window.innerHeight);
             }, 150);
           } else {

--
Gitblit v1.9.3