From 982747f85c88ce975ef8f24d275fe84e8949ebb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Thu, 9 Oct 2025 10:18:20 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E5=A4=A7=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E5=AE=9E=E6=97=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/HistoryRecord.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/components/HistoryRecord.vue b/src/views/components/HistoryRecord.vue index 89fd5c1..85d317d 100644 --- a/src/views/components/HistoryRecord.vue +++ b/src/views/components/HistoryRecord.vue @@ -796,6 +796,7 @@ const handleFeedbackClick = () => { emit("showFeedback"); }; +// 监听夺宝奇兵和情绪大模型的搜索记录状态 watch( () => chatStore.searchRecord, (newVal) => { @@ -809,6 +810,23 @@ watch( } ); +// 监听深度九大模型的搜索记录状态 +import { useDeepNineStore } from "@/store/deepNine.js"; +const deepNineStore = useDeepNineStore(); + +watch( + () => deepNineStore.searchRecord, + (newVal) => { + if (deepNineStore.searchRecord) { + getHistoryList({ + model: props.currentType == "deepNine" ? 3 : props.currentType == "AIchat" ? 1 : 2, + token: localStorage.getItem("localToken"), + }); + deepNineStore.searchRecord = false; + } + } +); + // 暴露方法和状态给父组件 defineExpose({ isCollapsed, From 2cb3464a66782f0e0e6a2cd407d2fede5806c68b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Thu, 9 Oct 2025 11:24:39 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/DeepNineModel.vue | 2 +- src/views/Selectmodel.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/DeepNineModel.vue b/src/views/DeepNineModel.vue index 79e44b8..2ec5ca3 100644 --- a/src/views/DeepNineModel.vue +++ b/src/views/DeepNineModel.vue @@ -302,7 +302,7 @@ const closeNoPermissionDialog = () => { .content-text { flex-direction: column; - /* 小屏幕时恢复纵向排列 */ + gap: 15px; } .content-text img { diff --git a/src/views/Selectmodel.vue b/src/views/Selectmodel.vue index a4308eb..d3a1e83 100644 --- a/src/views/Selectmodel.vue +++ b/src/views/Selectmodel.vue @@ -498,7 +498,7 @@ const goToDeepNineModel = () => { .footer-text1 { background-image: url("@/assets/img/Selectmodel/智能体.png"); width: 100vw; - height: 10vw; + height: 15vw; margin-top: 10px; background-size: 100% 100%; /* 保证全宽显示 */ From 9fc46b925a8516954f72235a39ec3cdc077f12d4 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Thu, 9 Oct 2025 20:55:48 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E4=B9=9D=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/HistoryRecord.vue | 64 +++++++++++++++++++++++------ src/views/deepNine.vue | 74 ++++++++++++++++++---------------- 2 files changed, 91 insertions(+), 47 deletions(-) diff --git a/src/views/components/HistoryRecord.vue b/src/views/components/HistoryRecord.vue index 85d317d..e6671e7 100644 --- a/src/views/components/HistoryRecord.vue +++ b/src/views/components/HistoryRecord.vue @@ -417,6 +417,7 @@ import moment from "moment"; import { ElMessage } from "element-plus"; import { useChatStore } from "../../store/chat"; const chatStore = useChatStore(); + import { useDataStore } from "@/store/dataList.js"; const dataStore = useDataStore(); import { useRouter } from "vue-router"; @@ -537,7 +538,7 @@ const getHistoryList = async (params) => { } else if (props.currentType == "AiEmotion") { isCollapsed.value = !chatStore.aiEmotionCall; console.log("情绪大模型页面", isCollapsed.value); - }else if (props.currentType == "deepNine") { + } else if (props.currentType == "deepNine") { isCollapsed.value = !chatStore.deepNineCall; console.log("深度九大模型页面", isCollapsed.value); } @@ -642,12 +643,22 @@ const changeTopStatus = async (isTop, id) => { } await changeTop({ - model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3, + model: + props.currentType == "AIchat" + ? 1 + : props.currentType == "AiEmotion" + ? 2 + : 3, recordId: id, isTop: isTop == 1 ? 0 : 1, }); await getHistoryList({ - model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3, + model: + props.currentType == "AIchat" + ? 1 + : props.currentType == "AiEmotion" + ? 2 + : 3, token: localStorage.getItem("localToken"), }); } catch (error) { @@ -676,7 +687,7 @@ const openHistory = () => { chatStore.aiChatCall = true; } else if (props.currentType == "AiEmotion") { chatStore.aiEmotionCall = true; - }else if (props.currentType == "deepNine") { + } else if (props.currentType == "deepNine") { chatStore.deepNineCall = true; } }; @@ -687,14 +698,17 @@ const closeHistory = () => { chatStore.aiChatCall = false; } else if (props.currentType == "AiEmotion") { chatStore.aiEmotionCall = false; - }else if (props.currentType == "deepNine") { + } else if (props.currentType == "deepNine") { chatStore.deepNineCall = false; } }; const historyData = ref({}); const selectRecord = async (record) => { - if (props.currentType == "AIchat" && chatStore.firstAPICall) { + if ( + (props.currentType == "AIchat" || props.currentType == "deepNine") && + chatStore.firstAPICall + ) { ElMessage.warning("正在获取回复中,请稍后"); return; } @@ -702,7 +716,12 @@ const selectRecord = async (record) => { try { selectedRecordId.value = record.id; const result = await clickRecordAPI({ - model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3, + model: + props.currentType == "AIchat" + ? 1 + : props.currentType == "AiEmotion" + ? 2 + : 3, parentId: record.parentId, recordId: record.id, }); @@ -715,13 +734,14 @@ const selectRecord = async (record) => { chatStore.aiChatCall = false; } else if (props.currentType == "AiEmotion") { chatStore.aiEmotionCall = false; - }else if (props.currentType == "deepNine") { + } else if (props.currentType == "deepNine") { chatStore.deepNineCall = false; } } dataStore.isFeedback = false; historyData.value = result.data; chatStore.dbqbClickRecord = historyData.value; + deepNineStore.dbqbClickRecord=historyData.value // 构造股票数据对象,保持与现有结构一致 const stockData = { queryText: result.data.keyword, // 使用记录中的keyword字段作为查询文本 @@ -764,13 +784,23 @@ const deleteRecord = (id) => { const deleteRecordConfirm = async () => { try { const result = await deleteRecordAPI({ - model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3, + model: + props.currentType == "AIchat" + ? 1 + : props.currentType == "AiEmotion" + ? 2 + : 3, recordId: delObj.value.id, }); console.log(result.msg); closeDeleteDialog(); await getHistoryList({ - model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3, + model: + props.currentType == "AIchat" + ? 1 + : props.currentType == "AiEmotion" + ? 2 + : 3, token: localStorage.getItem("localToken"), }); } catch (e) { @@ -802,7 +832,12 @@ watch( (newVal) => { if (chatStore.searchRecord) { getHistoryList({ - model: props.currentType == "AIchat" ? 1 : props.currentType == "AiEmotion" ? 2 : 3, + model: + props.currentType == "AIchat" + ? 1 + : props.currentType == "AiEmotion" + ? 2 + : 3, token: localStorage.getItem("localToken"), }); chatStore.searchRecord = false; @@ -819,7 +854,12 @@ watch( (newVal) => { if (deepNineStore.searchRecord) { getHistoryList({ - model: props.currentType == "deepNine" ? 3 : props.currentType == "AIchat" ? 1 : 2, + model: + props.currentType == "deepNine" + ? 3 + : props.currentType == "AIchat" + ? 1 + : 2, token: localStorage.getItem("localToken"), }); deepNineStore.searchRecord = false; diff --git a/src/views/deepNine.vue b/src/views/deepNine.vue index a5381ef..937465f 100644 --- a/src/views/deepNine.vue +++ b/src/views/deepNine.vue @@ -1569,11 +1569,9 @@ watch( // const ac33 = result22.data.zjqssc1; - const ac34 = `

【资金趋势导航】

`; const ac35 = result22.data.zjqssc1; - // const ac3 = `

${result23.data.DXTSC}

${result23.data.DXTSC2}

${result23.data.ZJQSSC1}

`; const ac3Arr = []; ac3Arr.push(ac31); @@ -1976,8 +1974,7 @@ watch( if ( !clickRecord.value.wokeFlowData.One || !clickRecord.value.wokeFlowData.Two || - !clickRecord.value.wokeFlowData.Three || - !clickRecord.value.wokeFlowData.Four + !clickRecord.value.wokeFlowData.Three ) { return; } @@ -1985,18 +1982,25 @@ watch( // 清空聊天框内容 chatStore.messages = []; - chatStore.messages.push({ + const userAudioArray = [ + clickRecord.value.wokeFlowData.One.link1, + clickRecord.value.wokeFlowData.One.link, + clickRecord.value.wokeFlowData.Two.link3, + ]; + // if (clickRecord.value.wokeFlowData.Two.link2) { + // userAudioArray.push(clickRecord.value.wokeFlowData.Two.link2); + // } + userAudioArray.push(clickRecord.value.wokeFlowData.Two.link1); + userAudioArray.push(clickRecord.value.wokeFlowData.Three.link); + const userContent = { sender: "user", timestamp: clickRecord.value.createdTime, content: clickRecord.value.keyword, - audioArray: [ - clickRecord.value.wokeFlowData.One.url, - clickRecord.value.wokeFlowData.Two.url, - clickRecord.value.wokeFlowData.Three.url, - clickRecord.value.wokeFlowData.Four.url, - ], + audioArray: userAudioArray, audioStatus: false, - }); + }; + + chatStore.messages.push(userContent); chatStore.messages.push({ sender: "ai", @@ -2021,7 +2025,7 @@ watch( content: pc1, }); - const nineTurns = clickRecord.value.stockData.nineTurns; + const nineTurns = clickRecord.value.stockData.data; // 度牛尺K线图 if ( nineTurns && @@ -2096,6 +2100,7 @@ watch( } }); } + // 添加标题-数据分析时代下的认知变现 chatStore.messages.push({ sender: "ai", class: "title2", @@ -2103,64 +2108,64 @@ watch( content: "", }); - const pc2 = marked(clickRecord.value.wokeFlowData.Two.hxjzpg); - // 先推送初始消息 + // 添加图片-数据分析时代下的认知变现 chatStore.messages.push({ sender: "ai", class: "content3", - type: "content3", - content: pc2, + type: "img1", + content: + "https://d31zlh4on95l9h.cloudfront.net/images/5baa0a449cf74fb6a1afb1c909a21194.png", }); + // 添加标题-结构框架分析 chatStore.messages.push({ sender: "ai", class: "title3", type: "title3", - content: title2, + content: + "https://d31zlh4on95l9h.cloudfront.net/images/9ab9d76b6906eb914fa1842dbcd56841.png", }); - const ac3 = `

【主力行为】

${clickRecord.value.wokeFlowData.Three.zhuli1}

${clickRecord.value.wokeFlowData.Three.zhuli2}

${clickRecord.value.wokeFlowData.Three.zhuli3}

`; - + // 添加内容框1 + const pc2 = marked(clickRecord.value.wokeFlowData.One.jgkjfx); // 先推送初始消息 chatStore.messages.push({ sender: "ai", class: "content3", type: "content3", - content: ac3, - isTyping: true, + content: pc2, }); - + // 添加标题-资金动向监控 chatStore.messages.push({ sender: "ai", class: "title3", type: "title3", - content: title3, + content: + " https://d31zlh4on95l9h.cloudfront.net/images/f95c44f83b3e3c52e88964631c199060.png", }); - const arr = clickRecord.value.wokeFlowData.Three.kongjian.split(","); - const kongjian = `

【空间维度】

${arr[0]},${arr[1]}

${arr[2]},${arr[3]}

`; - const shijian = `

【时间维度】

${clickRecord.value.wokeFlowData.Three.shijian}

`; - const nengliang = `

【能量维度】

${clickRecord.value.wokeFlowData.Three.nengliang}

`; - const ac4 = kongjian + shijian + nengliang; + const ac3 = `

【资金异动信号】

${clickRecord.value.wokeFlowData.Two.dxtsc}

【资金趋势导航】

${clickRecord.value.wokeFlowData.Two.zjqssc1}

`; // 先推送初始消息 chatStore.messages.push({ sender: "ai", class: "content3", type: "content3", - content: ac4, + content: ac3, + isTyping: true, }); + // 添加标题-策略共振决策模型 chatStore.messages.push({ sender: "ai", class: "title3", type: "title3", - content: title4, + content: + "https://d31zlh4on95l9h.cloudfront.net/images/ce71f75008422ed70e88b1ae0bc4d550.png", }); - const cftj = `

【触发条件】

${clickRecord.value.wokeFlowData.Four.cftl}

`; - const gfzl = `

【攻防指令】

${clickRecord.value.wokeFlowData.Four.gfzl}

`; - const ac5 = cftj + gfzl; + // 添加内容框4 + const ac5 = `

${clickRecord.value.wokeFlowData.Three.zjqssc2}

`; // 先推送初始消息 chatStore.messages.push({ @@ -2169,7 +2174,6 @@ watch( type: "content3", content: ac5, }); - chatStore.messages.push({ sender: "ai", class: "mianze", From 63114bf019ca980ac2461e1cbf11c1406688e7bd Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Fri, 10 Oct 2025 09:25:09 +0800 Subject: [PATCH 4/9] =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E4=B9=9D=E5=A4=A7?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=9C=89?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=97=B6=E9=BB=98=E8=AE=A4=E5=B1=95=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/HistoryRecord.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/components/HistoryRecord.vue b/src/views/components/HistoryRecord.vue index e6671e7..9e202b1 100644 --- a/src/views/components/HistoryRecord.vue +++ b/src/views/components/HistoryRecord.vue @@ -478,6 +478,7 @@ const historyRecords = ref([]); const categoryHistory = ref([]); let chatFirstFlag = true; let emotionTirstFlag = true; +let deepNineFirstFlag = true; // 添加缓存机制 let cachedCategoryHistory = null; let lastDataHash = null; @@ -525,6 +526,13 @@ const getHistoryList = async (params) => { emotionTirstFlag = false; } + if (deepNineFirstFlag && params.model == 3 && result.data.length != 0) { + if (!isMobile.value) { + chatStore.deepNineCall = true; + } + deepNineFirstFlag = false; + } + // 只在首次加载时根据chatStore状态设置折叠状态,避免搜索后自动弹出历史记录 if (isMobile.value) { From 3e8727b556439bb3ebc51ac208879bf633daa32f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Fri, 10 Oct 2025 09:28:45 +0800 Subject: [PATCH 5/9] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=9A=E8=A7=A6=E5=8F=91=E6=83=85=E7=BB=AA?= =?UTF-8?q?=E5=A4=A7=E6=A8=A1=E5=9E=8B=E7=9A=84=E6=9F=A5=E7=9C=8B=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=96=B9=E6=B3=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homePage.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/homePage.vue b/src/views/homePage.vue index f408a99..064263e 100644 --- a/src/views/homePage.vue +++ b/src/views/homePage.vue @@ -453,19 +453,19 @@ const enableInput = () => { const handleHistorySelect = (stockData) => { console.log("接收到历史记录数据:", stockData); - // 如果当前不在AiEmotion页面,切换到AiEmotion页面 - // if (activeTab.value !== 'AiEmotion') { - // setActiveTab('AiEmotion', 1); - // } - - // 等待组件渲染完成后调用addStock方法 - nextTick(() => { - if (aiEmotionRef.value && aiEmotionRef.value.addStock) { - aiEmotionRef.value.addStock(stockData); - } else { - console.error("AiEmotion组件或addStock方法不可用"); - } - }); + // 只在情绪大模型中处理历史记录选择 + if (activeTab.value === 'AiEmotion') { + // 等待组件渲染完成后调用addStock方法 + nextTick(() => { + if (aiEmotionRef.value && aiEmotionRef.value.addStock) { + aiEmotionRef.value.addStock(stockData); + } else { + console.error("AiEmotion组件或addStock方法不可用"); + } + }); + } else { + console.log("历史记录选择仅在情绪大模型中有效"); + } }; // 公告 From be0b2a6a91af044ff1bdb4ad9b57b9ef736f1cab Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Fri, 10 Oct 2025 10:12:08 +0800 Subject: [PATCH 6/9] =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=97=B6=E7=A6=81=E6=AD=A2=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/HistoryRecord.vue | 20 ++++++++++++---- src/views/deepNine.vue | 44 +++++++++++++++++----------------- 2 files changed, 37 insertions(+), 27 deletions(-) diff --git a/src/views/components/HistoryRecord.vue b/src/views/components/HistoryRecord.vue index 9e202b1..8d1c1a6 100644 --- a/src/views/components/HistoryRecord.vue +++ b/src/views/components/HistoryRecord.vue @@ -713,10 +713,12 @@ const closeHistory = () => { const historyData = ref({}); const selectRecord = async (record) => { - if ( - (props.currentType == "AIchat" || props.currentType == "deepNine") && - chatStore.firstAPICall - ) { + if (props.currentType == "AIchat" && chatStore.firstAPICall) { + ElMessage.warning("正在获取回复中,请稍后"); + return; + } + + if (props.currentType == "deepNine" && deepNineStore.firstAPICall) { ElMessage.warning("正在获取回复中,请稍后"); return; } @@ -749,7 +751,7 @@ const selectRecord = async (record) => { dataStore.isFeedback = false; historyData.value = result.data; chatStore.dbqbClickRecord = historyData.value; - deepNineStore.dbqbClickRecord=historyData.value + deepNineStore.dbqbClickRecord = historyData.value; // 构造股票数据对象,保持与现有结构一致 const stockData = { queryText: result.data.keyword, // 使用记录中的keyword字段作为查询文本 @@ -822,6 +824,10 @@ const handleAnnouncementClick = () => { ElMessage.warning("正在获取回复中,请稍后"); return; } + if (props.currentType == "deepNine" && deepNineStore.firstAPICall) { + ElMessage.warning("正在获取回复中,请稍后"); + return; + } emit("showAnnouncement"); }; @@ -831,6 +837,10 @@ const handleFeedbackClick = () => { ElMessage.warning("正在获取回复中,请稍后"); return; } + if (props.currentType == "deepNine" && deepNineStore.firstAPICall) { + ElMessage.warning("正在获取回复中,请稍后"); + return; + } emit("showFeedback"); }; diff --git a/src/views/deepNine.vue b/src/views/deepNine.vue index 937465f..d3b90f7 100644 --- a/src/views/deepNine.vue +++ b/src/views/deepNine.vue @@ -712,8 +712,8 @@ const createTypingEffect = (message, content, speed) => { flag: false, content: "系统正在为您努力加载中,请稍后再试", }); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; emit("enableInput"); if (message.error == "2") { apiStatus.two.isError = true; @@ -723,9 +723,9 @@ const createTypingEffect = (message, content, speed) => { } if (message.end) { homepageChatStore.getUserCount(); - chatStore.isLoading = false; + homepageChatStore.isLoading = false; console.log("打印完毕,接触输入框禁用状态"); - chatStore.chatInput = false; + homepageChatStore.deepNineInput = false; emit("enableInput"); } message.isTyping = false; @@ -810,8 +810,8 @@ const createTypingEffect = (message, content, speed) => { flag: false, content: "系统正在为您努力加载中,请稍后再试", }); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; emit("enableInput"); if (message.error == "2") { apiStatus.two.isError = true; @@ -840,8 +840,8 @@ const createTypingEffect = (message, content, speed) => { flag: false, content: "系统正在为您努力加载中,请稍后再试", }); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; emit("enableInput"); if (message.error == "2") { apiStatus.two.isError = true; @@ -1134,8 +1134,8 @@ watch( chatStore.messages.push(aiMsg); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; chatStore.firstAPICall = false; console.log("历史记录可以点击"); @@ -1157,8 +1157,8 @@ watch( flag: false, content: "系统正在为您努力加载中,请稍后再试", }); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; chatStore.firstAPICall = false; console.log("历史记录可以点击"); emit("enableInput"); @@ -1497,8 +1497,8 @@ watch( flag: false, content: "系统正在为您努力加载中,请稍后再试", }); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; emit("enableInput"); } } @@ -1610,8 +1610,8 @@ watch( flag: false, content: "系统正在为您努力加载中,请稍后再试", }); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; emit("enableInput"); } } @@ -1696,8 +1696,8 @@ watch( flag: false, content: "系统正在为您努力加载中,请稍后再试", }); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; emit("enableInput"); } } @@ -1868,8 +1868,8 @@ watch( flag: false, content: "数据缺失,请稍后重试", }); - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; chatStore.firstAPICall = false; emit("enableInput"); } @@ -1958,8 +1958,8 @@ watch( isTypingInProgress.value = false; // 4. 重置加载状态 - chatStore.isLoading = false; - chatStore.chatInput = false; + homepageChatStore.isLoading = false; + homepageChatStore.deepNineInput = false; emit("enableInput"); // 在下一个事件循环中清空 dbqbClickRecord From 38f35a8183e8f2bad06fc81a515e7d0f72615168 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Fri, 10 Oct 2025 10:36:47 +0800 Subject: [PATCH 7/9] =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E4=B9=9D=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A1=86=E7=A6=81=E7=94=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/deepNine.vue | 2 +- src/views/homePage.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/deepNine.vue b/src/views/deepNine.vue index d3b90f7..5edefd4 100644 --- a/src/views/deepNine.vue +++ b/src/views/deepNine.vue @@ -724,7 +724,7 @@ const createTypingEffect = (message, content, speed) => { if (message.end) { homepageChatStore.getUserCount(); homepageChatStore.isLoading = false; - console.log("打印完毕,接触输入框禁用状态"); + console.log("打印完毕,解除输入框禁用状态"); homepageChatStore.deepNineInput = false; emit("enableInput"); } diff --git a/src/views/homePage.vue b/src/views/homePage.vue index f408a99..9f2f402 100644 --- a/src/views/homePage.vue +++ b/src/views/homePage.vue @@ -344,6 +344,7 @@ watch( watch( () => chatStore.deepNineInput, async (newVal) => { + console.log("deepNineInput", chatStore.deepNineInput); if (activeTab.value == "deepNine") { isInputDisabled.value = chatStore.deepNineInput; } @@ -392,7 +393,7 @@ const sendMessage = async () => { if (activeTab.value === "deepNine") { // 禁用输入框 isInputDisabled.value = true; - + chatStore.deepNineInput = true; // 获取深度九大模型的 store const deepNineStore = useDeepNineStore(); @@ -2039,7 +2040,8 @@ onUnmounted(() => {
Token兑换规则
- • 点击右上角"获取Token",即可进入Token兑换页进行金币兑换Token(只能兑换普通Token) + • + 点击右上角"获取Token",即可进入Token兑换页进行金币兑换Token(只能兑换普通Token)
• 金币兑换Token的比例为:1金币=1Token;一经兑换,不予退还 From 2602b57b45789a5ee1510f14911acbdfceb19af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Fri, 10 Oct 2025 11:12:12 +0800 Subject: [PATCH 8/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=B0=BA=E5=AF=B8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/deepNine.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/deepNine.vue b/src/views/deepNine.vue index 937465f..ae8e0e6 100644 --- a/src/views/deepNine.vue +++ b/src/views/deepNine.vue @@ -1653,7 +1653,7 @@ watch( class: "title3", type: "title3", content: - "https://d31zlh4on95l9h.cloudfront.net/images/ce71f75008422ed70e88b1ae0bc4d550.png", + "https://d31zlh4on95l9h.cloudfront.net/images/d1fa1f4cbd6452796a4c5368d9f57c4d.png", }, "", 50 @@ -2161,7 +2161,7 @@ watch( class: "title3", type: "title3", content: - "https://d31zlh4on95l9h.cloudfront.net/images/ce71f75008422ed70e88b1ae0bc4d550.png", + "https://d31zlh4on95l9h.cloudfront.net/images/d1fa1f4cbd6452796a4c5368d9f57c4d.png", }); // 添加内容框4 From 8450d77a0761cd9ea9b0b55ef1adf5a3ceb6b7d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Fri, 10 Oct 2025 11:21:36 +0800 Subject: [PATCH 9/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=B1=E5=BA=A6?= =?UTF-8?q?=E4=B9=9D=E5=A4=A7=E6=A8=A1=E5=9E=8B=E9=A1=B5=E9=9D=A2=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E4=BD=8D=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/DeepNineModel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/DeepNineModel.vue b/src/views/DeepNineModel.vue index 2ec5ca3..082a367 100644 --- a/src/views/DeepNineModel.vue +++ b/src/views/DeepNineModel.vue @@ -149,7 +149,7 @@ const closeNoPermissionDialog = () => { height: auto; /* margin-top: 20px; */ position: absolute; - top: 3vh; + top: 10vh; } /* 顶部标题 */