/**
 * 订单详情相关 Mock 数据
 */

// 订单详情数据
export const orderDetailData = {
  id: 1,
  order_sn: '2025050612300120',
  status: 'completed',
  status_text: '已完成',
  status_desc: '订单已完成，感谢您的购买',

  // 订单轨迹
  status_steps: [
    {
      status: 'created',
      status_text: '提交订单',
      time: '2025/05/06 12:30:00',
      completed: true,
    },
    {
      status: 'paid',
      status_text: '付款',
      time: '2025/05/06 12:35:00',
      completed: true,
    },
    {
      status: 'shipped',
      status_text: '发货',
      time: '2025/05/06 13:30:00',
      completed: true,
    },
    {
      status: 'received',
      status_text: '平台发货',
      time: '2025/05/06 14:30:00',
      completed: true,
    },
    {
      status: 'completed',
      status_text: '用户收货',
      time: '2025/05/10 12:30:00',
      completed: true,
    },
  ],

  // 基本信息
  total_amount: '1,000',
  lottery_status: '门店中奖',
  user_nickname: 'Aamer Khan',
  payment_method: '数字钱包',
  discount_amount: '0',
  commission_amount: '10',
  mobile: '88042251008',
  pay_amount: '1,000',
  actual_amount: '1,000',

  // 用户信息
  user_id: 1001,
  user: {
    id: 1001,
    nickname: 'Aamer Khan',
    mobile: '88042251008',
    avatar:
      'https://mall-oss.trust-will.com/storage/default/20250701/7bf12c56300454532244dec2aff808eb.jpg?x-oss-process=image/resize,w_200,h_200',
  },

  // 商品信息
  items: [
    {
      id: 1,
      goods_id: 100,
      goods_title: 'HOLUN Classic Aviator Polarized Sunglasses, Exclusive Eyewear Brand...',
      goods_image:
        'https://mall-oss.trust-will.com/storage/default/20250701/7bf12c56300454532244dec2aff808eb.jpg?x-oss-process=image/resize,w_200,h_200',
      goods_sku_text: 'Black Grey',
      goods_num: 1,
      goods_price: '1,000',
    },
  ],

  // 收货信息
  address: {
    consignee: 'Aamer Khan',
    mobile: '88042251008',
    address:
      '35/66 The Bliss Koolpunt Ville 15, 1304H-HWB San Kamphaeng, San Kamphaeng District, Chiang Mai 50130',
    express_company: 'DHL',
    express_no: 'DH47058JBM6938',
  },

  // 拼团信息
  group_info: {
    group_type: '5人团',
    members: [
      {
        nickname: 'Aamer Khan',
        mobile: '88042251008',
        order_sn: '2025050612300120',
        join_time: '2025/05/06 12:30:30',
        pay_time: '2025/05/06 12:31:30',
        commission: '৳10',
      },
      {
        nickname: 'ABC-1',
        mobile: '88042251008',
        order_sn: '2025050612300120',
        join_time: '2025/05/06 12:30:30',
        pay_time: '2025/05/06 12:31:30',
        commission: '৳10',
      },
      {
        nickname: 'ABC-1',
        mobile: '88042251008',
        order_sn: '2025050612300120',
        join_time: '2025/06/06 12:30:30',
        pay_time: '2025/06/06 12:31:30',
        commission: '৳10',
      },
      {
        nickname: 'ABC-1',
        mobile: '88042251008',
        order_sn: '2025050612300120',
        join_time: '2025/06/06 12:30:30',
        pay_time: '2025/06/06 12:31:30',
        commission: '৳10',
      },
      {
        nickname: 'ABC-1',
        mobile: '88042251008',
        order_sn: '2025050612300120',
        join_time: '2025/06/06 12:30:30',
        pay_time: '2025/06/06 12:31:30',
        commission: '৳10',
      },
    ],
  },

  // 时间信息
  create_time: '2025/05/06 12:30:00',
  pay_time: '2025/05/06 12:35:00',
  dispatch_time: '2025/05/06 13:30:00',
  receive_time: '2025/05/10 12:30:00',

  // 操作按钮
  btns: ['send', 'refund', 'contact_user', 'export_order', 'close_order'],

  // 备注
  memo: '',
  remark: '请尽快发货，谢谢！',
};

// 订单详情响应
export const orderDetailResponse = {
  error: 0,
  msg: '获取成功',
  data: orderDetailData,
};
