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; } /* 配置对话框优化 */