问搜万物-卡片布局优化;模型优化数据添加按钮调整触发方式;历史会话样式调整。
3个文件已修改
33 ■■■■ 已修改文件
src/pages/searchNew/components/ChatHistoryView.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/searchNew/components/SurveyView.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/searchNew/index/App.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/searchNew/components/ChatHistoryView.vue
@@ -194,15 +194,15 @@
  text-overflow: ellipsis;
  
  /* 确保宽度限制 */
  max-width: 100%;
  max-width: 240px;
  width: 100%;
}
/* 悬停时显示完整内容 */
/* .chat-item:hover .chat-content {
.chat-item:hover .chat-content {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
} */
}
.loading-container {
  padding: 40px;
src/pages/searchNew/components/SurveyView.vue
@@ -143,9 +143,9 @@
            <span class="header-gradient">AI</span><span style="margin-left: 15px;font-size: 30px">文搜万物</span>
          </h2>
          <div class="header-actions-right">
            <el-button type="primary" class="action-btn" @click="handleRealTimeMonitor">
            <!-- <el-button type="primary" class="action-btn" @click="handleRealTimeMonitor">
              实时监控
            </el-button>
            </el-button> -->
            <el-button type="primary" class="action-btn" @click="resetList()">
              刷新数据
            </el-button>
@@ -202,9 +202,9 @@
                            <div class="camera-info">
                              <img src="@/assets/img/live-fill@1x.png" alt="" class="time-icon">
                              <span>{{ item.video_name }}</span>
                              <el-dropdown size="small" @command="handleCommand" class="right-btn">
                              <el-dropdown size="small" trigger="click" @command="handleCommand" class="right-btn">
                                <img src="@/assets/img/modelTraining.png"
                                  style="width: 16px;height: 16px;margin-left: 10px; vertical-align: middle">
                                  style="width: 16px;height: 16px;margin-left: 10px; vertical-align: middle" @click.stop>
                                <el-dropdown-menu slot="dropdown">
                                  <el-dropdown-item
                                    :command="{ ruleName: item.rule_names ? item.rule_names[0].fileName : '', cameraId: item.video_point_id + '', cameraName: item.video_name, imagePath: item.image_path, status: 1 }">正确</el-dropdown-item>
@@ -1102,7 +1102,7 @@
  overflow-y: auto;
  /* 保留纵向滚动 */
  /* 新增滚动条 */
  height: 900px;
  height: 870px;
@@ -1317,13 +1317,6 @@
      }
    }
    .right-content {
      transition: margin 0.3s ease;
      // padding: 20px;
      // min-height: 100vh;
      background: #f5f6fa;
    }
    .ai-retrieval-container {
      width: 100%;
      height: calc(100% - 150px);
@@ -1344,6 +1337,14 @@
    }
  }
  .content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: calc(100% - 80px);
    /* 减去头部高度 */
  }
  .right-content {
    flex: 1;
    margin-left: 20px;
src/pages/searchNew/index/App.vue
@@ -53,7 +53,7 @@
.column {
  overflow: hidden;
  //min-width: 1399px;
  //min-width: 1920px;
  // min-width: 1920px;
  height: 100%;
}
.column-right {