From 02409bfbe15f22fc3b5dccadabfd860a660a49d9 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 11 Oct 2025 10:37:14 +0800
Subject: [PATCH] feat: 名称修改

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

diff --git a/src/components/basic-container/main.vue b/src/components/basic-container/main.vue
index e98f520..43a90ae 100644
--- a/src/components/basic-container/main.vue
+++ b/src/components/basic-container/main.vue
@@ -1,3 +1,13 @@
+<!--
+ * @Author       : yuan
+ * @Date         : 2025-06-14 15:19:16
+ * @LastEditors  : yuan
+ * @LastEditTime : 2025-06-27 14:34:02
+ * @FilePath     : \src\components\basic-container\main.vue
+ * @Description  : 
+ * Copyright 2025 OBKoro1, All Rights Reserved. 
+ * 2025-06-14 15:19:16
+-->
 <template>
   <div class="basic-container" :style="styleName" :class="{ 'basic-container--block': block }">
     <el-card class="basic-container__card">
@@ -23,20 +33,42 @@
     },
   },
   computed: {
-    styleName() {
+    styleName () {
       return {
         borderRadius: `${this.radius}px`,
         background: this.background,
-      };
+      }
     },
   },
-};
+}
 </script>
 
-<style lang="scss">
+<style lang="scss" scoped>
 .basic-container {
-  padding: 10px 6px;
-  box-sizing: border-box;
+  height: 0;
+  flex: 1;
+
+  padding: 10px;
+  // box-sizing: border-box;
+  // height: 100%;
+
+  .basic-container__card {
+    height: 100% !important;
+    overflow: hidden;
+
+    .el-card__body {
+      display: flex;
+      flex-direction: column;
+      height: 100% !important;
+      overflow: hidden;
+      box-sizing: border-box;
+
+      &>div {
+        height: 0;
+        flex: 1;
+      }
+    }
+  }
 
   &--block {
     height: 100%;

--
Gitblit v1.9.3