feat: 提取常量配置

This commit is contained in:
zdl
2025-11-24 14:31:50 +08:00
parent 9b068fd69f
commit 13040b5df8
7 changed files with 569 additions and 288 deletions

View File

@@ -0,0 +1,23 @@
// src/views/AgentChat/constants/quickQuestions.ts
// 快捷问题配置
/**
* 快捷问题配置接口
*/
export interface QuickQuestion {
/** 问题文本 */
text: string;
/** 表情符号 */
emoji: string;
}
/**
* 预设快捷问题列表
* 用于在聊天界面初始状态显示,帮助用户快速开始对话
*/
export const quickQuestions: QuickQuestion[] = [
{ text: '今日涨停板块分析', emoji: '🔥' },
{ text: '新能源概念机会', emoji: '⚡' },
{ text: '半导体行业动态', emoji: '💾' },
{ text: '本周热门研报', emoji: '📊' },
];