yangg 3 долоо хоног өмнө
parent
commit
493e4ee8f9

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
dist/assets/forget-password-Bo5s994M.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 1
dist/assets/index-CvYBo2Zb.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
dist/assets/login-DeZxtGFD.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
dist/assets/register-CaMyTlzQ.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
dist/assets/report-B9t_b4bs.css


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
dist/assets/report-BKYsKjKy.css


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
dist/assets/report-Cs2HFD4o.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
dist/assets/report-lrtdhR2K.js


+ 1 - 1
dist/index.html

@@ -5,7 +5,7 @@
     <link rel="icon" type="image/svg+xml" href="/vite.svg" />
     <link rel="icon" type="image/svg+xml" href="/vite.svg" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title></title>
     <title></title>
-    <script type="module" crossorigin src="/assets/index-DjEbp1FZ.js"></script>
+    <script type="module" crossorigin src="/assets/index-CvYBo2Zb.js"></script>
     <link rel="modulepreload" crossorigin href="/assets/vendor-CsNcCXs6.js">
     <link rel="modulepreload" crossorigin href="/assets/vendor-CsNcCXs6.js">
     <link rel="stylesheet" crossorigin href="/assets/index-CVrWfcbZ.css">
     <link rel="stylesheet" crossorigin href="/assets/index-CVrWfcbZ.css">
   </head>
   </head>

+ 1 - 0
src/components/KnowledgeResults/index.vue

@@ -107,6 +107,7 @@ export default defineComponent({
 
 
     // 监听搜索结果变化
     // 监听搜索结果变化
     watch(() => props.searchResults, (newResults) => {
     watch(() => props.searchResults, (newResults) => {
+      console.log(newResults);
       displayResults.value = newResults;
       displayResults.value = newResults;
     });
     });
 
 

+ 64 - 2
src/views/report.vue

@@ -1807,7 +1807,7 @@ const updateCollapsedState = () => {
       );
       );
         console.log(response);
         console.log(response);
       if (response.data && response.data.status === 200) {
       if (response.data && response.data.status === 200) {
-        knowledgeResults.value = response.data.data.data.results || [];
+        knowledgeResults.value = response.data.data.data || [];
         knowledgeTotal.value = response.data.data.data.total || 0;
         knowledgeTotal.value = response.data.data.data.total || 0;
       }
       }
     } catch (error) {
     } catch (error) {
@@ -4020,7 +4020,6 @@ button,
   padding: 8px 12px;
   padding: 8px 12px;
   background: var(--secondary-bg);
   background: var(--secondary-bg);
   border-radius: 8px;
   border-radius: 8px;
-  margin-bottom: 8px;
   transition: all 0.3s ease;
   transition: all 0.3s ease;
 
 
   &.compact {
   &.compact {
@@ -5263,4 +5262,67 @@ button,
     font-size: 14px;
     font-size: 14px;
   }
   }
 }
 }
+
+/* 移动端样式调整 */
+@media screen and (max-width: 768px) {
+  .layout {
+    height: 100vh; /* 使用视口高度 */
+    overflow: hidden; /* 防止页面滚动 */
+    display: flex;
+    flex-direction: column;
+  }
+
+  .header {
+    flex-shrink: 0; /* 防止header被压缩 */
+  }
+
+  .chat {
+    flex: 1; /* 占据剩余空间 */
+    height: calc(100vh - 60px); /* 减去header高度 */
+    overflow-y: auto; /* 内容过多时在chat区域内滚动 */
+    -webkit-overflow-scrolling: touch; /* 优化iOS滚动 */
+  }
+
+  .message-list {
+    height: calc(100% - 120px); /* 减去输入框高度 */
+    overflow-y: auto;
+  }
+
+  .input-wrapper {
+    position: sticky;
+    bottom: 0;
+    background: var(--primary-bg);
+    padding: 10px;
+    border-top: 1px solid var(--border-color);
+  }
+
+  .resize-handle {
+    display: none;
+  }
+  
+  .right_menu {
+    width: 100% !important;
+  }
+}
+
+/* PC端样式保持不变 */
+@media screen and (min-width: 769px) {
+  .layout {
+    height: 100vh;
+    display: flex;
+    flex-direction: column;
+  }
+
+  .chat {
+    flex: 1;
+    display: flex;
+    flex-direction: column;
+  }
+
+  .message-list {
+    flex: 1;
+    overflow-y: auto;
+  }
+}
+
 </style>
 </style>

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно