feat(portal-case): 新增AI智能问答对话功能新增消息展示组件和发送消息组件,实现机器人与用户的消息交互。

支持打字机效果展示AI回复内容,并可显示思考过程与相关案例推荐。
添加对话框背景样式及自动滚动功能,优化用户体验。
提供开启新对话和推荐问题功能,增强交互性。
This commit is contained in:
陈昱达
2025-09-24 09:34:45 +08:00
parent d7e425ce9d
commit be411ec72d
5 changed files with 810 additions and 75 deletions

View File

@@ -310,9 +310,9 @@
<div class="xcontent2-minor">
<div id="fixd-box">
<div class="AI-case">
<div class="AI-case" style="position: relative">
<img src="../../../../public/images/case-logo.png" alt="">
<span @click="getAICase"></span>
<span @click="getAICase" style="position: absolute; top: 65px;left: 15px;z-index: 1;width: 40%;height: 30px;"></span>
</div>
<router-link class="the_charts" to="/case/charts">
<div class="text">排行榜</div>
@@ -514,6 +514,7 @@ export default {
},
data() {
return {
showAICall:false,
timeoutId: null,
isTimeData: false,
articlePageList: [],