// 类目options
export const categoryOptionsMock = [
  {
    value: '1',
    label: 'Level one 1',
    children: [
      {
        value: '1-1',
        label: 'Level two 1-1'
      }
    ]
  },
  {
    value: '2',
    label: 'Level one 2',
    children: [
      {
        value: '2-1',
        label: 'Level two 2-1',
        children: [
          {
            value: '2-1-1',
            label: 'Level three 2-1-1'
          }
        ]
      },
      {
        value: '2-2',
        label: 'Level two 2-2',
        children: [
          {
            value: '2-2-1',
            label: 'Level three 2-2-1'
          }
        ]
      }
    ]
  }
]

// 类目配置项
export const categoryDataMock = [
  {
    typeName: '颜色分类',
    typeId: 1,
    options: [
      { id: 11, name: '国标' },
      { id: 12, name: '省标' }
    ]
  },
  {
    typeName: '套餐类型',
    typeId: 2,
    options: [
      { id: 21, name: '无内存' },
      { id: 22, name: '双通道' },
      { id: 23, name: '三通道' }
    ]
  },
  {
    typeName: '颜色',
    typeId: 3,
    options: [
      { id: 31, name: '红' },
      { id: 32, name: '绿' },
      { id: 33, name: '黄' }
    ]
  }
]

//
export const a = [
  {
    typeName: '颜色分类',
    typeId: 1,
    options: [{ img: '', id: 11, name: '国标', sale: 100, amount: 10 }]
  },
  {
    typeName: '套餐类型',
    typeId: 2,
    options: [
      { img: '', id: 21, name: '无内存', sale: 100, amount: 10 },
      { img: '', id: 22, name: '双通道', sale: 100, amount: 10 },
      { img: '', id: 23, name: '三通道', sale: 100, amount: 10 }
    ]
  }
]
