From 666c61a8dca571045e422e6c85f1b7a8179f0df5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 29 Dec 2021 13:41:37 +0800
Subject: [PATCH] +搜索确认按钮位置 加上展开,  适应1366 768分辨率的缩放zoom ,

---
 src/styles/tableSearchBut.scss |   41 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 37 insertions(+), 4 deletions(-)

diff --git a/src/styles/tableSearchBut.scss b/src/styles/tableSearchBut.scss
index ca30f37..48cdceb 100644
--- a/src/styles/tableSearchBut.scss
+++ b/src/styles/tableSearchBut.scss
@@ -1,9 +1,27 @@
+.ourOpen {
+    .el-button.el-button--text.el-button--small {
+        position: absolute;
+        top: -78px;
+        right: 10px;
+    }
+}
+// :nth-child(2)
+.tooRowSearch {
+    position: relative;
+}
 .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: 126px !important;
-    z-index: 100 !important;
+    // width: 264px !important;
+    // position: absolute !important;
+    // right: 0 !important;
+    // top: 126px !important;
+    // z-index: 100 !important;
+    // width: 264px;
+    position: absolute;
+    right: 0;
+    top: 91px;
+    z-index: 100;
+    @extend .ourOpen;
 }
 .tooRowSearch .el-card.is-never-shadow.avue-crud__search {
     overflow: visible;
@@ -19,3 +37,18 @@
 .oneRowSearch .el-card.is-never-shadow.avue-crud__search {
     overflow: visible;
 }
+
+// $varHeight: var(--height-primary); //Sass变量的值从CSS变量里取,间接操作Sass变量
+// .tablesss .avue-crud {
+//     /deep/ el-table {
+//         height: $varHeight !important;
+//     }
+// }
+
+.el-card__body {
+    //卡片减少padding
+    padding: 10px !important;
+}
+.avue-crud__pagination {
+    padding: 15px 0 5px 5px;
+}

--
Gitblit v1.9.3