/**
 * @name: index.data
 * @author: kahu4
 * @date: 2023-11-09 15:21
 * @description：index.data
 * @update: 2023-11-09 15:21
 * */

import { toPayIcon, toFHIcon, toSHIcon, toPJIcon, toZJIcon, toYHQIcon, toSCIcon, toZBIcon, toTGIcon, toKJIcon, toSHOIcon, toKFIcon, toDZIcon, toZHIcon } from "@/utils/images";

export const orderIconList = [
    {
        id: 1,
        label: '待付款',
        icon: toPayIcon,
        rightTopDot: true,
        dotField: 'unpaidCount',
        path: '/pages/orderList/orderList',
        params: {data: {type: 0}}
    },
    {
        id: 2,
        label: '待发货',
        icon: toFHIcon,
        rightTopDot: true,
        dotField: 'unshippedCount',
        path: '/pages/orderList/orderList',
        params: {data: {type: 1}}
    },
    {
        id: 3,
        label: '待收货',
        icon: toSHIcon,
        rightTopDot: true,
        dotField: 'receivedCount',
        path: '/pages/orderList/orderList',
        params: {data: {type: 2}}
    },
    {
        id: 4,
        label: '待评价',
        icon: toPJIcon,
        rightTopDot: true,
        dotField: 'evaluatedCount',
        path: '/pages/orderList/orderList',
        params: {data: {type: 3}}
    },
]

export const cardOneList = [
    {
        id: 1,
        label: '我的足迹',
        icon: toZJIcon,
        path: '/pages/footprint/footprint',
    },
    {
        id: 2,
        label: '优惠券',
        icon: toYHQIcon,
        path: '/pages/discountCoupon/index',
    },
    {
        id: 3,
        label: '我的收藏',
        icon: toSCIcon,
        rightTopDot: false,
        dotField: 'receivedCount',
        path: '/pages/collect/collect',
    },
    {
        id: 4,
        label: '开启直播',
        icon: toZBIcon,
        rightTopDot: false,
        dotField: 'evaluatedCount',
        path: '',
        params: {data: {type: 3}}
    },
    {
        id: 5,
        label: '我的推广',
        icon: toTGIcon,
        path: '',
        params: {data: {type: 0}}
    },
    {
        id: 6,
        label: '砍价记录',
        icon: toKJIcon,
        path: '',
        params: {data: {type: 1}}
    },
    {
        id: 7,
        label: '售后记录',
        icon: toSHOIcon,
        rightTopDot: false,
        dotField: 'receivedCount',
        path: '/pages/refundList/refundList',
        params: {data: {type: -1}}
    },
    {
        id: 8,
        label: '联系客服',
        icon: toKFIcon,
        rightTopDot: false,
        dotField: 'evaluatedCount',
        path: '',
        params: {data: {type: 3}}
    },
]

export const cardTwoList = [
    {
        id: 1,
        label: '地址管理',
        icon: toDZIcon,
        path: '/pages/address/address',
    },
    {
        id: 2,
        label: '账号管理',
        icon: toZHIcon,
        path: '/pages/userInfo/index',
    },
]
