mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 00:29:19 +08:00
feat: 优化静态页面UI
This commit is contained in:
@@ -6,10 +6,17 @@ export const GLOBAL_SUMMARY = {
|
||||
periodLabel: '近30天',
|
||||
mom: 18.3,
|
||||
yoy: 42.7,
|
||||
currentStoreName: '优品生活旗舰店',
|
||||
storeRating: 4.87,
|
||||
};
|
||||
|
||||
/** 电商平台筛选(演示,对接接口后可替换) */
|
||||
export const PLATFORM_OPTIONS = [
|
||||
{ label: '全平台', value: 'all' },
|
||||
{ label: '拼多多', value: 'pdd' },
|
||||
{ label: '淘宝', value: 'taobao' },
|
||||
{ label: '京东', value: 'jd' },
|
||||
{ label: '抖音电商', value: 'douyin' },
|
||||
] as const;
|
||||
|
||||
export const FINANCE_KPIS = [
|
||||
{
|
||||
label: '总GMV',
|
||||
@@ -100,6 +107,17 @@ export const COST_STRUCTURE = [
|
||||
{ name: '其他费用', value: 18.0, pct: 6.6 },
|
||||
] as const;
|
||||
|
||||
/** 与 COST_STRUCTURE 顺序一一对应,用于成本结构饼图 */
|
||||
export const COST_STRUCTURE_PIE_COLORS = [
|
||||
'#22c55e',
|
||||
'#3b82f6',
|
||||
'#ef4444',
|
||||
'#f59e0b',
|
||||
'#a855f7',
|
||||
'#94a3b8',
|
||||
'#14b8a6',
|
||||
] as const;
|
||||
|
||||
export const FUNNEL_STEPS = [
|
||||
{ name: 'GMV', value: 286.4 },
|
||||
{ name: '实收金额', value: 271.8 },
|
||||
|
||||
Reference in New Issue
Block a user