From 1e0d8b27354e3745ff14a38760f93b0fa285ca38 Mon Sep 17 00:00:00 2001 From: From-wh Date: Tue, 20 Oct 2026 16:41:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=AE=A1=E7=90=86=E7=AB=AF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20DIY=20=E8=87=AA=E5=AE=9A=E4=B9=89=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E9=9D=A2=E6=9D=BF=E6=BB=91=E5=9D=97=E8=A2=AB?= =?UTF-8?q?=E5=8E=8B=E7=BC=A9=E4=B8=8E=E5=8F=96=E8=89=B2=E8=A1=8C=E9=94=99?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../diy/components/CustomDesign/AttrList.vue | 9 +++++++ .../components/ConfigBackground.vue | 6 ++--- .../CustomDesign/components/ConfigPadding.vue | 25 +++++++++++++------ .../CustomDesign/components/ConfigRadius.vue | 20 +++++++++------ 4 files changed, 42 insertions(+), 18 deletions(-) diff --git a/frontend/admin/src/diy/components/CustomDesign/AttrList.vue b/frontend/admin/src/diy/components/CustomDesign/AttrList.vue index b2912837a..769e55410 100644 --- a/frontend/admin/src/diy/components/CustomDesign/AttrList.vue +++ b/frontend/admin/src/diy/components/CustomDesign/AttrList.vue @@ -416,6 +416,15 @@ function linkUrl(e) { :deep(.el-form-item__content) { margin-left: 80px !important; line-height: 36px !important; + /* EP 表单内容区是 flex 容器,行容器默认不撑满会被压缩, + 其内部的 el-slider(flex: 1)随之被压成 0 宽,表现为滑块不可见/样式异常; + basis 取 100% 保证每行独占一行(如背景色的两行取色不会挤到同一行)。 + 圆角/内边距的 .c_rows/.c_content 由各自组件自行撑满 */ + > .row, + > .row-space-between { + flex: 1 1 100%; + min-width: 0; + } } :deep(.el-form-item--small .el-form-item__label) { line-height: 38px !important; diff --git a/frontend/admin/src/diy/components/CustomDesign/components/ConfigBackground.vue b/frontend/admin/src/diy/components/CustomDesign/components/ConfigBackground.vue index 2f83ce052..9b953dcdd 100644 --- a/frontend/admin/src/diy/components/CustomDesign/components/ConfigBackground.vue +++ b/frontend/admin/src/diy/components/CustomDesign/components/ConfigBackground.vue @@ -8,7 +8,7 @@ 右斜 -
+
重置
-
+