From 961e7d793b81d7f2e8f03647b357158e91f2e8d3 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 27 Jun 2025 14:29:32 +0800
Subject: [PATCH] feat:样式调整处理

---
 src/components/basic-container/main.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/components/basic-container/main.vue b/src/components/basic-container/main.vue
index fdac84e..4da03f9 100644
--- a/src/components/basic-container/main.vue
+++ b/src/components/basic-container/main.vue
@@ -2,7 +2,7 @@
  * @Author       : yuan
  * @Date         : 2025-06-14 15:19:16
  * @LastEditors  : yuan
- * @LastEditTime : 2025-06-25 16:56:30
+ * @LastEditTime : 2025-06-27 14:19:22
  * @FilePath     : \src\components\basic-container\main.vue
  * @Description  : 
  * Copyright 2025 OBKoro1, All Rights Reserved. 
@@ -45,21 +45,27 @@
 
 <style lang="scss" scoped>
 .basic-container {
+  padding: 10px;
   height: 0;
   flex: 1;
-
-  padding: 10px;
+  display: flex;
+  flex-direction: column;
   // box-sizing: border-box;
   // height: 100%;
 
   .basic-container__card {
-    height: 100% !important;
+    height: 0;
+    flex: 1;
+    display: flex;
+    flex-direction: column;
     overflow: hidden;
 
-    .el-card__body {
+    ::v-deep(.el-card__body) {
+      height: 0 !important;
+      flex: 1 !important;
       display: flex;
       flex-direction: column;
-      height: 100% !important;
+
       overflow: hidden;
       box-sizing: border-box;
 

--
Gitblit v1.9.3