From de73a041b1649792eefeb216a10c7652bd882bf5 Mon Sep 17 00:00:00 2001 From: hxuanyu <2252193204@qq.com> Date: Thu, 26 Jun 2025 00:10:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=A4=8D=E5=88=B6=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=B1=95=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ConfigView.vue | 52 +++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 14 deletions(-) diff --git a/src/views/ConfigView.vue b/src/views/ConfigView.vue index a550661..496bead 100644 --- a/src/views/ConfigView.vue +++ b/src/views/ConfigView.vue @@ -7,18 +7,21 @@ -
- -
- -
- - - +
+
+ +
+ +
+

生成的URL链接

+ + + +
@@ -204,6 +207,14 @@ watch([selectedWidget, currentWidgetConfig], () => { display: flex; flex-direction: column; gap: 20px; + /* 确保底部有足够的边距 */ + padding-bottom: 30px; +} + +.config-container { + display: flex; + flex-direction: column; + flex: 1; } .right-panel { @@ -226,11 +237,24 @@ watch([selectedWidget, currentWidgetConfig], () => { } .config-panel { - flex-grow: 1; + /* 配置面板可以滚动,但不挤压URL生成器 */ + overflow-y: auto; + flex: 1; + margin-bottom: 20px; } .url-generator { - margin-top: 20px; + /* URL生成器固定在底部 */ + margin-top: auto; + padding: 10px 0; + border-top: 1px solid #eaeaea; +} + +.url-generator h3 { + margin-top: 0; + margin-bottom: 10px; + font-size: 16px; + color: #606266; } .preview-container {