mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-16 06:56:57 +00:00
50 lines
1.4 KiB
TypeScript
50 lines
1.4 KiB
TypeScript
import { MsgValidTypeEnum } from './type';
|
||
|
||
export enum NumericUnit {
|
||
None = '无',
|
||
TenThousand = '万',
|
||
EnTenThousand = 'w',
|
||
OneHundredMillion = '亿',
|
||
Thousand = 'k',
|
||
Million = 'M',
|
||
Giga = 'G',
|
||
}
|
||
|
||
export const PRIMARY_COLOR = '#f87653';
|
||
export const CHART_BLUE_COLOR = '#446dff';
|
||
|
||
export const CHAT_BLUE = '#1b4aef';
|
||
|
||
export const CHART_SECONDARY_COLOR = 'rgba(153, 153, 153, 0.3)';
|
||
|
||
export const CLS_PREFIX = 'ss-chat';
|
||
|
||
export const DATE_TYPES = {
|
||
DAY: [{ label: '近7天', value: 7 }, { label: '近30天', value: 30 }, { label: '近60天', value: 60 }, { label: '近90天', value: 90 }],
|
||
WEEK: [{ label: '近4周', value: 4 }, { label: '近12周', value: 12 }, { label: '近24周', value: 24 }, { label: '近52周', value: 52 }],
|
||
MONTH: [{ label: '近3个月', value: 3 }, { label: '近6个月', value: 6 }, { label: '近12个月', value: 12 }, { label: '近24个月', value: 24 }],
|
||
};
|
||
|
||
export const THEME_COLOR_LIST = [
|
||
'#3369FF',
|
||
'#36D2B8',
|
||
'#DB8D76',
|
||
'#47B359',
|
||
'#8545E6',
|
||
'#E0B18B',
|
||
'#7258F3',
|
||
'#0095FF',
|
||
'#52CC8F',
|
||
'#6675FF',
|
||
'#CC516E',
|
||
'#5CA9E6',
|
||
];
|
||
|
||
export const PARSE_ERROR_TIP = '小Q不太懂您说什么呐,回去一定补充知识';
|
||
|
||
export const MSG_VALID_TIP = {
|
||
[MsgValidTypeEnum.SEARCH_EXCEPTION]: '数据查询异常',
|
||
[MsgValidTypeEnum.INVALID]: '小Q不太懂您说什么呐,回去一定补充知识',
|
||
};
|
||
|
||
export const PREFIX_CLS = 'ss-chat'; |