From a76a8bbdc0e5afc683392bdf1743d88a4a4d169e Mon Sep 17 00:00:00 2001 From: ZLY Date: Fri, 28 Nov 2025 15:16:46 +0800 Subject: [PATCH] =?UTF-8?q?style(compNode):=20=E6=9B=B4=E6=96=B0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E8=8A=82=E7=82=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改容器padding为padding-bottom并添加overflow隐藏 - 为标题添加橙色背景和垂直内边距 - 统一基础组件和复合组件的样式调整 --- src/pages/componentLibrary/style/compNode.module.less | 5 ++++- src/pages/compositeCompLibrary/style/compNode.module.less | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/componentLibrary/style/compNode.module.less b/src/pages/componentLibrary/style/compNode.module.less index ba87315..8566b71 100644 --- a/src/pages/componentLibrary/style/compNode.module.less +++ b/src/pages/componentLibrary/style/compNode.module.less @@ -5,12 +5,15 @@ margin: 0 auto; border-radius: 10px; box-shadow: 0 0 10px #cccccc; - padding: 8px 0; + padding-bottom: 8px; + overflow: hidden; .comp-node-title { text-align: center; font-size: 18px; margin-bottom: 10px; + background-color: #ffa500; + padding: 5px 0; } .comp-node-api { diff --git a/src/pages/compositeCompLibrary/style/compNode.module.less b/src/pages/compositeCompLibrary/style/compNode.module.less index 123585c..2421476 100644 --- a/src/pages/compositeCompLibrary/style/compNode.module.less +++ b/src/pages/compositeCompLibrary/style/compNode.module.less @@ -5,12 +5,15 @@ margin: 0 auto; border-radius: 10px; box-shadow: 0 0 10px #cccccc; - padding: 8px 0; + padding-bottom: 8px; + overflow: hidden; .comp-node-title { text-align: center; font-size: 18px; margin-bottom: 10px; + background-color: #ffa500; + padding: 5px 0; } .comp-node-api {