shop_app/utils/list.js

207 lines
5.0 KiB
JavaScript
Raw Permalink Normal View History

2025-05-08 09:16:37 +08:00
export const refoundReasonList = [
{ id: 1, name: "七天无理由" },
{ id: 2, name: "质量问题" },
{ id: 3, name: "配送超时" },
{ id: 4, name: "发错货" },
{ id: 5, name: "商品破损/污渍" },
{ id: 6, name: "少发/漏发" },
{ id: 7, name: "描述不符" },
{ id: 8, name: "使用过敏" },
{ id: 9, name: "换货代拍" },
{ id: 10, name: "退差价/保价" }
]
export const receiverType = {
'COUPON': '支付宝红包',
'ALIPAYACCOUNT': '支付宝账户',
'POINT': '支付宝集分宝',
'DISCOUNT': '支付宝折扣券',
'PCARD': '支付宝预付卡',
'MCARD': '支付宝商家储值卡',
'MDISCOUNT': '支付宝商户优惠券',
'MCOUPON': '支付宝商户红包',
'PCREDIT': '蚂蚁花呗',
'BANKCARD': '支付宝银行卡',
'MONEYFUND': '余额宝',
'VOUCHER': '支付宝券'
}
export const noRespList = [
{ id: 10, name: "退差价/保价" },
{ id: 11, name: "退运费" },
{ id: 12, name: "群活动/维护客户" },
{ id: 13, name: "赔付" }
]
export const refoundReasonObj = {
'1': '七天无理由',
'2': '质量问题',
'3': '配送超时',
'4': '发错货',
'5': '商品破损/污渍',
'6': '少发/漏发',
'7': '描述不符',
'8': '使用过敏',
'9': '换货代拍',
'10': '退差价/保价',
'11': '退运费',
'12': '群活动/维护客户',
'13': '赔付'
}
export const backReasonList = [
{ id: 1, name: '七天无理由' },
{ id: 2, name: '质量问题' },
{ id: 3, name: '配送超时' },
{ id: 4, name: '发错货' },
{ id: 5, name: '商品破损/污渍' },
{ id: 6, name: '少发/漏发' },
{ id: 7, name: '描述不符' },
{ id: 8, name: '使用过敏' }
]
export const sendTypeList = [
{ id: 1, name: "日用品" },
{ id: 2, name: "服装" },
{ id: 3, name: "鞋" },
{ id: 4, name: "电子产品" },
{ id: 5, name: "酒水" }
]
export const sendTypeObj = {
'1': '日用品',
'2': '服装',
'3': '鞋',
'4': '电子产品',
'5': '酒水'
}
export const workordeType = [
{ id: 1, name: "七天无理由退货退款" },
{ id: 2, name: "无物流/物流停滞/显示签收未收到等物流问题" },
{ id: 3, name: "未及时发货" },
{ id: 4, name: "换货" },
{ id: 5, name: "少发漏发" },
{ id: 6, name: "质量问题/破损/污渍" },
{ id: 7, name: "不想要拦截物流" },
{ id: 13, name: "修改地址" },
{ id: 9, name: "错发" },
{ id: 10, name: "使用过敏" },
{ id: 11, name: "超过售后期退公司" },
{ id: 12, name: "漏发/少发/多发/错发" },
{ id: 8, name: "其他问题" }
]
export const reasonObj = {
1: "预约信息有误",
2: "快递员无法取件",
3: "上门太慢",
4: "运费太贵",
7: "联系不上快递员",
8: "快递员要求取消",
9: "超时未接单",
11: "其他(如疫情管控,无法寄件)"
}
export const expressStatus = {
0: '待揽件',
2: '待揽件',
101: '已揽件',
102: '在途中',
103: '派送中',
104: '已签收',
106: '疑难件',
108: '超时单',
112: '待签收'
}
// 货物状态
export const typeList = [
{ id: 1, text: '已收到货' },
{ id: 2, text: '未收到货' }
]
// 已收到货、退货退款
export const returnList = [
{ id: 1, text: '退运费' },
{ id: 2, text: '大小/尺寸与商品描述不符' },
{ id: 3, text: '颜色/图案/款式与商品描述不符' },
{ id: 4, text: '材质与商品描述不符' },
{ id: 5, text: '做工粗糙/有瑕疵' },
{ id: 6, text: '质量问题' }
]
// 回访类型
export const useTypeJson = {
1: '首单核实',
2: '售后回访',
3: '签收回访',
4: '深度回访',
5: '激活回访',
6: '产品使用回访'
}
export const useType = [
{ id: 1, name: '首单核实' },
{ id: 2, name: '售后回访' },
{ id: 3, name: '签收回访' },
{ id: 4, name: '深度回访' },
{ id: 5, name: '激活回访' },
{ id: 6, name: '产品使用回访' }
]
export const refundList = [
{ id: 1, text: '订单信息拍错(规格/尺码/颜色等)' },
{ id: 2, text: '我不想要了' },
{ id: 3, text: '地址/电话信息填写错误' },
{ id: 4, text: '没用/少用优惠券' },
{ id: 5, text: '缺货' }
]
export const Style = [
/* 红色1 */
{
color: '#F14939', // 主题色
bgColor: '#FFF2F2', // 淡背景色
tagColor: '#F14939', // 数字角标颜色
priceColor: '#F14939', // 价格颜色
cartColor: '#333132' // 加入购物车背景色
},
/* 橙色 */
{
color: '#FEA833',
bgColor: '#FFF7EB',
tagColor: '#FF6723',
priceColor: '#FF6723',
cartColor: '#333132'
},
/* 绿色 */
{
color: '#07C160',
bgColor: '#E6F9EF',
tagColor: '#FF6723',
priceColor: '#FF6723',
cartColor: '#333132'
},
/* 红色2 */
{
color: '#FF4444',
bgColor: '#FFF2F2',
tagColor: '#FF6723',
priceColor: '#FF4444',
cartColor: '#FEA833'
},
// 新绿色
{
color: '#4FC57B',
bgColor: '#F7FFFA',
tagColor: '#4FC57B',
priceColor: '#4FC57B',
cartColor: '#FEA833'
},
// 黑色
{
color: '#2F2F34', // 主题色
bgColor: '#EAEAEA', // 淡背景色
tagColor: '#2F2F34', // 数字角标颜色
priceColor: '#2F2F34', // 价格颜色
cartColor: '#EBECF2' // 加入购物车背景色
}
]