From c67ace3576007ea893c5f41da95fb862c2d8b446 Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 28 Jan 2026 11:10:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=95=BF=E6=96=87=E6=9C=AC=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=BC=B9=E7=AA=97=E6=94=B9=E4=B8=BA=E6=8E=A5=E8=BF=91?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/app-config/index.vue | 55 +++++++++++++++++++------ 1 file changed, 43 insertions(+), 12 deletions(-) diff --git a/frontend/src/views/app-config/index.vue b/frontend/src/views/app-config/index.vue index 00318e6..3bb927a 100644 --- a/frontend/src/views/app-config/index.vue +++ b/frontend/src/views/app-config/index.vue @@ -1060,21 +1060,24 @@ onMounted(() => { - + - +
+ +
字符数:{{ textEditData.value?.length || 0 }}
@@ -1247,18 +1250,46 @@ onMounted(() => { background: #ecf5ff; } -/* 长文本编辑弹窗样式 */ +/* 长文本编辑弹窗样式 - 接近全屏 */ +.text-edit-dialog :deep(.el-dialog) { + max-width: 1200px; + margin: 0 auto; +} + +.text-edit-dialog :deep(.el-dialog__body) { + padding: 16px 20px; + height: calc(80vh - 120px); + display: flex; + flex-direction: column; +} + +.text-edit-wrapper { + flex: 1; + display: flex; + flex-direction: column; + min-height: 0; +} + +.text-edit-textarea { + flex: 1; + height: 100%; +} + .text-edit-textarea :deep(.el-textarea__inner) { font-family: 'Monaco', 'Menlo', 'Consolas', monospace; font-size: 13px; line-height: 1.6; + height: 100% !important; + min-height: 100% !important; + resize: none; } .text-edit-stats { - margin-top: 8px; + margin-top: 12px; text-align: right; color: #909399; font-size: 12px; + flex-shrink: 0; } /* 配置对话框优化 */