小程序迁移 静态页面完成!!!

This commit is contained in:
Neo
2026-03-18 05:14:35 +08:00
parent 72bb11b34f
commit 075caf067f
124 changed files with 10407 additions and 2738 deletions

View File

@@ -6,6 +6,19 @@
export type TaskType = 'callback' | 'priority_recall' | 'relationship' | 'high_priority'
/** 备注评分记录 */
export interface Note {
id: string
content: string
tagType: 'customer' | 'coach' | 'system'
tagLabel: string
createdAt: string
/** 满意度评分 0-100 表示未评分 */
score?: number
/** 格式化时间标签(由前端附加) */
timeLabel?: string
}
export interface Task {
id: string
customerName: string
@@ -657,12 +670,6 @@ export const mockChatMessages: ChatMessage[] = [
role: 'user',
content: '帮我看看张伟最近的消费情况',
timestamp: '2026-03-05T14:00:00+08:00',
},
{
id: 'msg-002',
role: 'assistant',
content: '张伟最近一个月消费了 3 次,总金额 ¥1,060。消费频次稳定主要偏好中式台球 1v1 课程。',
timestamp: '2026-03-05T14:00:05+08:00',
referenceCard: {
type: 'customer',
title: '张伟 — 消费概览',
@@ -675,6 +682,12 @@ export const mockChatMessages: ChatMessage[] = [
},
},
},
{
id: 'msg-002',
role: 'assistant',
content: '张伟最近一个月消费了 3 次,总金额 ¥1,060。消费频次稳定主要偏好中式台球 1v1 课程。',
timestamp: '2026-03-05T14:00:05+08:00',
},
{
id: 'msg-003',
role: 'user',
@@ -735,8 +748,8 @@ export const mockChatHistory: ChatHistoryItem[] = [
// ============================================================
export const mockUserProfile: UserProfile = {
name: '小',
avatar: '/assets/images/avatar-default.png',
name: '小',
avatar: '/assets/images/avatar-coach.png',
role: '助教',
storeName: '星辰台球俱乐部',
storeName: '朗朗桌球',
}