代码提交

This commit is contained in:
黄少君
2023-11-14 17:21:03 +08:00
parent d0b337c596
commit dcab74274f
567 changed files with 22414 additions and 7375 deletions

141
pages/user/index.data.js Normal file
View File

@ -0,0 +1,141 @@
/**
* @name: index.data
* @author: kahu4
* @date: 2023-11-09 15:21
* @descriptionindex.data
* @update: 2023-11-09 15:21
* */
import toPayIcon from '@/static/images/icon-dfk.png'
import toFHIcon from '@/static/images/icon-dfh.png'
import toSHIcon from '@/static/images/icon-dsh.png'
import toPJIcon from '@/static/images/icon-dpj.png'
import toZJIcon from '@/static/images/icon-wdzj.png'
import toYHQIcon from '@/static/images/icon-yhq.png'
import toSCIcon from '@/static/images/icon-wdsc.png'
import toZBIcon from '@/static/images/icon-kqzb.png'
import toTGIcon from '@/static/images/icon-wdtg.png'
import toKJIcon from '@/static/images/icon-kqjl.png'
import toSHOIcon from '@/static/images/icon-kqjl.png'
import toKFIcon from '@/static/images/icon-lxkf.png'
import toDZIcon from '@/static/images/icon-address.png'
import toZHIcon from '@/static/images/icon-zhsz.png'
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',
},
]