/**
 * Mock数据 - 仪表盘统计
 */

// 仪表盘统计数据
export const mockDashboardData = {
  // 今日统计
  todayStats: {
    orderCount: 156,
    orderAmount: 25680,
    newUsers: 23,
    deviceOnline: 48,
    deviceOffline: 2
  },
  // 本周统计
  weekStats: {
    orderCount: 1024,
    orderAmount: 168520,
    newUsers: 156,
    avgOrderAmount: 164
  },
  // 订单趋势（最近7天）
  orderTrend: [
    { date: '02-09', count: 120, amount: 18500 },
    { date: '02-10', count: 145, amount: 22300 },
    { date: '02-11', count: 98, amount: 15200 },
    { date: '02-12', count: 167, amount: 28900 },
    { date: '02-13', count: 189, amount: 32100 },
    { date: '02-14', count: 201, amount: 35600 },
    { date: '02-15', count: 156, amount: 25680 }
  ],
  // 设备状态分布
  deviceStatus: {
    online: 48,
    offline: 2,
    maintenance: 1,
    error: 0
  },
  // 热销商品
  hotProducts: [
    { id: 1, name: '可口可乐', sales: 256, image: '' },
    { id: 2, name: '矿泉水', sales: 198, image: '' },
    { id: 3, name: '薯片', sales: 156, image: '' },
    { id: 4, name: '巧克力', sales: 134, image: '' },
    { id: 5, name: '饼干', sales: 98, image: '' }
  ]
};
