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 @@ 右斜 -
+
重置
-
+