From f954ec4130c3a3d050848afeee79ad304ee6290d Mon Sep 17 00:00:00 2001 From: Ethereal <3432649580@qq.com> Date: Sat, 25 Oct 2025 09:17:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=80=9D=E8=80=83=E8=BF=87?= =?UTF-8?q?=E7=A8=8B=EF=BC=8C=E5=A2=9E=E6=B7=BB=E6=97=B6=E9=97=B4=E7=94=A8?= =?UTF-8?q?=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/deepMate/deepMate.vue | 95 ++++++++++++++------------------------------- 1 file changed, 30 insertions(+), 65 deletions(-) diff --git a/pages/deepMate/deepMate.vue b/pages/deepMate/deepMate.vue index 522472e..3191266 100644 --- a/pages/deepMate/deepMate.vue +++ b/pages/deepMate/deepMate.vue @@ -138,31 +138,31 @@ class="loading-dots" v-if="message.isThinking || !message.isUser" > -
-
-
-
深度思考 正在思考
-
25 个结果
-
- + + + + 深度思考 正在思考 + + + -
-
-
-
-
+ + + + + -
-
问题分析完成
-
-
-
+ + 问题分析完成 + + + -
-
收集相关信息
-
-
-
+ + 收集相关信息 + + + { content: "", isUser: false, isTyping: true, - isThinking: false, + isThinking: true, }; messages.value.push(botMsg); + + + // 添加请求延迟 + await new Promise(resolve => setTimeout(resolve, 10000)); const toDataInfo = await getDataInfo(); console.log(toDataInfo); // dataInfo.value = toDataInfo.data; // console.log(dataInfo.value); + messages.value[messages.value.length - 1].isThinking = false; - setTimeout(() => { - - }, 10000); @@ -402,43 +404,7 @@ const simulateBotResponse = async (userMessage) => { // 模拟流式响应 let responseText = `我已经收到您的消息: "${userMessage}" + "${toDataInfo.data}"`; - // let responseText = `我已经收到您的消息: "${userMessage}"。 - // ## 股票分析报告 - - // ### 股票名称: Tesla Inc. (TSLA) - - // - **当前价格**: 448.980 - // - **更新时间**: 23/10/2025 - // - **今日无变盘点** - - // ### 技术分析 - // - **CFTL**: 当前牵牛绳为红色,处于龙线区域,最近出现“牛刀小试”,度牛线目前处于青绿色区域。 - // - **空间预测**: - // - 预测低一值: 413.364 - // - 预测高一值: 426.636 - // - 预测低二值: 421.670 - // - 预测高二值: 448.314 - // - **能量分析**: AI智能均线多头排列,当前卖盘小于买盘 - - // ### 资金与主力 - // - **主力分析**: - // 1. 该股庄家中长期筹码成本价格为 356.036,短期资金成本价格为 406.429。该股筹码分散,当日筹码成本价格为 439.322。 - // 2. 近日没有出现主力集中吸筹。 - // 3. 近期主力持仓比例大于散户持仓比例。当日主力持仓增加。当日散户持仓减少。 - - // ### 综合评价 - // - **个股走势评价**: - // - 该股整体趋势向好,出现暴涨的可能性较大,当前如果已经持有该股票,可以继续持股观察,如果尚未持有该股票,可持续进行观察,目前处于机会的初期,处于反弹阶段,可以分步建仓! - - // - **核心证据链**: - // - 资金共识:当日多方资金流入。 - // - 趋势动能:该股中长期处于上升趋势,短期处于弱势状态。 - - // - **牛股评级**: ★★★☆☆ - // - **暴涨概率**: 60% - // - **风险评估**: 非常安全 - // - **安全边际**: 432.671~458.057 - // - **黄金价域**: 427.995~440.835`; + let index = 0; const typeWriter = () => { @@ -1068,5 +1034,4 @@ function getDataInfo() { .item-text { font-size: 24rpx; color: #333; -} - +}