From 84814f6d99b08993c61c3554747d9bf9996d077b Mon Sep 17 00:00:00 2001 From: zhangxinxin <1285367184@qq.com> Date: Sat, 11 May 2024 14:01:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(=E8=A1=A8=E5=8D=95=E6=9E=84=E5=BB=BA):?= =?UTF-8?q?=20=E8=A7=A3=E5=86=B3=E8=A1=A8=E5=8D=95=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E9=AB=98=E5=BA=A6=E6=BA=A2=E5=87=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/tool/build/index.vue | 290 +++++++++++++----------- 1 file changed, 158 insertions(+), 132 deletions(-) diff --git a/ruoyi-ui/src/views/tool/build/index.vue b/ruoyi-ui/src/views/tool/build/index.vue index 2bd298b8f5..abf84c1fe9 100644 --- a/ruoyi-ui/src/views/tool/build/index.vue +++ b/ruoyi-ui/src/views/tool/build/index.vue @@ -11,19 +11,11 @@
输入型组件
- -
+ +
{{ element.label }} @@ -33,21 +25,11 @@
选择型组件
- -
+ +
{{ element.label }} @@ -57,15 +39,11 @@
布局型组件
- -
+ draggable=".components-item" :sort="false" @end="onEnd"> +
{{ element.label }} @@ -90,25 +68,12 @@
- + - +
从左侧拖入或点选组件进行表单设计 @@ -118,19 +83,10 @@
- - - + + +
@@ -371,16 +327,19 @@ export default { +} From bd49d0d901452e5503b03db67401dd87d05d4cb1 Mon Sep 17 00:00:00 2001 From: zhangxinxin <1285367184@qq.com> Date: Sat, 11 May 2024 14:23:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(=E8=A1=A8=E5=8D=95=E6=9E=84=E5=BB=BA):?= =?UTF-8?q?=20=E8=A7=A3=E5=86=B3=E8=A1=A8=E5=8D=95=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6,=E5=B7=A6=E4=BE=A7=E4=B8=8E=E5=8F=B3?= =?UTF-8?q?=E4=BE=A7=E7=BB=84=E4=BB=B6=E7=9A=84=E9=AB=98=E5=BA=A6=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/tool/build/index.vue | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/tool/build/index.vue b/ruoyi-ui/src/views/tool/build/index.vue index abf84c1fe9..2557c10187 100644 --- a/ruoyi-ui/src/views/tool/build/index.vue +++ b/ruoyi-ui/src/views/tool/build/index.vue @@ -366,11 +366,17 @@ export default { // home .right-scrollbar { + height: calc(100vh - 124px) !important; + .el-scrollbar__view { padding: 12px 18px 15px 15px; } } +.left-scrollbar { + height: calc(100vh - 124px) !important; +} + .left-scrollbar .el-scrollbar__wrap { box-sizing: border-box; overflow-x: hidden !important; @@ -539,9 +545,11 @@ $lighterBlue: #409EFF; height: 100vh; } -.left-scrollbar { - height: calc(100vh - 42px); - overflow: hidden; + +.left-scrollbar .el-scrollbar__wrap { + box-sizing: border-box; + overflow-x: hidden !important; + margin-bottom: 0 !important; } .center-scrollbar { @@ -791,4 +799,5 @@ $lighterBlue: #409EFF; color: #fff; } } -} +} +