From 1a525a59ab14cdf1261291d80a76f2ad3b263cae Mon Sep 17 00:00:00 2001 From: CGD <3030332422@qq.com> Date: Tue, 15 Apr 2025 12:20:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E2=80=9C=E9=9F=B3?= =?UTF-8?q?=E8=89=B2=E7=AE=A1=E7=90=86=E2=80=9D=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/manager-web/src/components/TtsModel.vue | 42 ++++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/main/manager-web/src/components/TtsModel.vue b/main/manager-web/src/components/TtsModel.vue index 06984b6d..3530a924 100644 --- a/main/manager-web/src/components/TtsModel.vue +++ b/main/manager-web/src/components/TtsModel.vue @@ -582,7 +582,7 @@ export default { .table-container { flex: 1; - overflow-y: scroll; + overflow: auto; scrollbar-width: none; padding-right: 15px; width: calc(100% - 16px); @@ -641,8 +641,8 @@ export default { /* 音频播放器容器样式 */ .custom-audio-container { - width: 280px; - margin: auto; + width: 90%; + margin: 0 auto; } /* 新增按钮组样式 */ @@ -668,4 +668,40 @@ export default { .save-btn { color: #5cca8e !important; } + +/* 表格单元格自适应 */ +::v-deep .el-table__body-wrapper { + overflow-x: hidden !important; +} + +::v-deep .el-table td { + white-space: pre-wrap !important; + word-break: break-all !important; +} +/* 按钮组定位调整 */ +.action-buttons { + position: static; + padding: 15px 0; + background: white; + box-shadow: 0 -2px 12px rgba(0,0,0,0.05); +} + +/* 输入框自适应 */ +::v-deep .el-input__inner, +::v-deep .el-textarea__inner { + width: 100% !important; + min-width: 120px; +} + +/* 音频输入框特殊处理 */ +.audio-input ::v-deep .el-input__inner { + min-width: 200px; +} + +/* 操作按钮弹性布局 */ +::v-deep .el-table__row .el-button { + flex-shrink: 0; + margin: 2px !important; +} + \ No newline at end of file