mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
召回测试弹框与切片弹框样式对齐 (#3409)
召回测试弹框宽度从 900px 调到 1200px 并启用大弹框样式,高度、上下间距与切片弹框保持一致。结果区域改用 flex 填充而不是写死的 400px 高度。
This commit is contained in:
parent
96c224c4e4
commit
23d0e64d9d
1 changed files with 15 additions and 2 deletions
|
|
@ -190,7 +190,8 @@
|
||||||
<CustomDialog
|
<CustomDialog
|
||||||
:title="$t('knowledgeFileUpload.retrievalTest')"
|
:title="$t('knowledgeFileUpload.retrievalTest')"
|
||||||
:visible.sync="retrievalTestDialogVisible"
|
:visible.sync="retrievalTestDialogVisible"
|
||||||
width="900px"
|
width="1200px"
|
||||||
|
size="large"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
:confirm-text="$t('knowledgeFileUpload.executeTest')"
|
:confirm-text="$t('knowledgeFileUpload.executeTest')"
|
||||||
:confirmLoading="retrievalTestLoading"
|
:confirmLoading="retrievalTestLoading"
|
||||||
|
|
@ -1175,8 +1176,20 @@ export default {
|
||||||
|
|
||||||
/* ========== Retrieval Test Dialog ========== */
|
/* ========== Retrieval Test Dialog ========== */
|
||||||
.retrieval-test-form {
|
.retrieval-test-form {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.retrieval-test-result {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.result-chunks {
|
.result-chunks {
|
||||||
max-height: 400px;
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue