diff --git a/html/terminal.html b/html/terminal.html index def6cbc..ee03c9e 100644 --- a/html/terminal.html +++ b/html/terminal.html @@ -13,11 +13,15 @@ height: 100vh; margin: 0; background-color: #f4f4f4; + overflow: hidden; /* 防止整个页面滚动 */ } #app { width: 100%; - max-width: 600px; + max-width: 50vw; + overflow-y: auto; /* 允许应用内部滚动 */ + min-height: 62vh; + max-height: 100vh; /* 限制应用的最大高度 */ padding: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); background-color: white; @@ -26,7 +30,9 @@ .el-textarea__inner { min-height: 150px; + max-height: 300px; /* 限制文本框的最大高度 */ resize: vertical; + overflow-y: auto; /* 允许文本框内部滚动 */ } .el-row { @@ -43,11 +49,14 @@ .image-container { text-align: center; margin-bottom: 20px; + max-height: 40vh; + overflow-y: auto; } img { max-width: 100%; border-radius: 8px; + cursor: pointer; } @media (max-width: 600px) { @@ -63,7 +72,7 @@

终端-习题识别工具

这里将接收来自上传端的习题图像及其识别结果

- Received Image + Received Image
@@ -73,7 +82,7 @@ :rows="4" readonly placeholder="接收到的文本将显示在这里..." - :autosize="{ minRows: 4 }" + :autosize="{ minRows: 4, maxRows: 20 }" > @@ -83,13 +92,18 @@ 清空 + -