feat: 提取常量配置
This commit is contained in:
23
src/views/AgentChat/constants/quickQuestions.ts
Normal file
23
src/views/AgentChat/constants/quickQuestions.ts
Normal 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: '📊' },
|
||||
];
|
||||
Reference in New Issue
Block a user