Browse Source

Merge branch 'milestone-20250924-接入大财神工作流' into dev

dev
宋杰 15 hours ago
parent
commit
b24c70c81d
  1. 4
      src/views/DeepNineModel.vue
  2. 8
      src/views/components/HistoryRecord.vue
  3. 7
      src/views/deepNine.vue
  4. 13
      src/views/homePage.vue

4
src/views/DeepNineModel.vue

@ -193,7 +193,7 @@ const closeNoPermissionDialog = () => {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
/* 添加水平居中 */ /* 添加水平居中 */
/* gap: 23px; */
gap: 23px;
margin-bottom: 10px; margin-bottom: 10px;
flex-wrap: wrap; flex-wrap: wrap;
/* 添加换行支持,防止小屏幕溢出 */ /* 添加换行支持,防止小屏幕溢出 */
@ -312,7 +312,7 @@ const closeNoPermissionDialog = () => {
} }
.btn-item img { .btn-item img {
width: 50%;
width: 70%;
/* margin-top: 20px; */ /* margin-top: 20px; */
} }
} }

8
src/views/components/HistoryRecord.vue

@ -750,8 +750,12 @@ const selectRecord = async (record) => {
} }
dataStore.isFeedback = false; dataStore.isFeedback = false;
historyData.value = result.data; historyData.value = result.data;
chatStore.dbqbClickRecord = historyData.value;
deepNineStore.dbqbClickRecord = historyData.value;
if (props.currentType == "AIchat") {
chatStore.dbqbClickRecord = historyData.value;
}
if (props.currentType == "deepNine") {
deepNineStore.dbqbClickRecord = historyData.value;
}
// //
const stockData = { const stockData = {
queryText: result.data.keyword, // 使keyword queryText: result.data.keyword, // 使keyword

7
src/views/deepNine.vue

@ -2025,7 +2025,7 @@ watch(
content: pc1, content: pc1,
}); });
const nineTurns = clickRecord.value.stockData.data;
const nineTurns = clickRecord.value.stockData;
// K线 // K线
if ( if (
nineTurns && nineTurns &&
@ -2181,6 +2181,7 @@ watch(
content: "该内容由AI生成,请注意甄别", content: "该内容由AI生成,请注意甄别",
end: true, end: true,
}); });
} catch (e) { } catch (e) {
ElMessage.error("历史数据获取出错!"); ElMessage.error("历史数据获取出错!");
console.error("e", e); console.error("e", e);
@ -3571,7 +3572,7 @@ p {
} }
.gif-area { .gif-area {
padding: 70px 0px;
padding: 100px 0px;
position: relative; position: relative;
/* height: 30vh; */ /* height: 30vh; */
display: flex; display: flex;
@ -4021,7 +4022,7 @@ p {
@media (max-width: 768px) { @media (max-width: 768px) {
.gif-area { .gif-area {
padding: 0px 0px;
padding: 40px 0px;
position: relative; position: relative;
/* height: 30vh; */ /* height: 30vh; */
display: flex; display: flex;

13
src/views/homePage.vue

@ -820,7 +820,7 @@ watch(
}, },
{ deep: false, immediate: true } { deep: false, immediate: true }
); );
// -
watch( watch(
() => chatStore.dbqbClickRecord, () => chatStore.dbqbClickRecord,
async (newValue, oldValue) => { async (newValue, oldValue) => {
@ -831,6 +831,17 @@ watch(
container.scrollTop = 0; container.scrollTop = 0;
} }
); );
// -
watch(
() => deepNineStore.dbqbClickRecord,
async (newValue, oldValue) => {
const container = getCurrentScrollContainer();
if (!container) return;
await nextTick(); // DOM
container.scrollTop = 0;
}
);
watch( watch(
() => chatStore.dbqbScrollToTop, () => chatStore.dbqbScrollToTop,

Loading…
Cancel
Save