mine.js 4.13 KB
export const ToolList = Object.freeze([
  {
    text: "我的地址",
    icon: "myAddress",
    url: "/packageMine/pages/address/index/index",
  },
]);

export const ORDER_LIST = [
  {
    text: "全部",
    code: 0,
  },
  {
    text: "待支付",
    image: "noPay",
    code: 1,
  },
  {
    text: "待发货",
    image: "noTakeCommodity",
    code: 2,
  },
  {
    text: "待收货",
    image: "takeCommodity",
    code: 3,
  },
  {
    text: "已完成",
    code: 4,
  },
  {
    text: "退货/售后",
    image: "aftermarket",
    code: 5,
  },
];

export const RefundReason = [
  {
    text: "商品无货",
    value: 1,
  },
  {
    text: "发货时间问题",
    value: 2,
  },
  {
    text: "不想要了/不喜欢",
    value: 3,
  },
  {
    text: "商品信息填写错误",
    value: 4,
  },
  {
    text: "地址信息填写错误",
    value: 5,
  },
  {
    text: "商品降价",
    value: 6,
  },
  {
    text: "其他",
    value: 7,
  },
  {
    text: "尺码不合适",
    value: 8,
  },
  {
    text: "无理由退货",
    value: 9,
  },
  {
    text: "发票问题",
    value: 10,
  },
  {
    text: "商品与页面描述不符",
    value: 11,
  },
  {
    text: "发错货",
    value: 12,
  },
];

export const RefundStatus = [
  {
    status: 1,
    title: "待处理",
    tips: "等待平台处理",
    image: "mine/order/wait.png",
  },
  {
    status: 2,
    title: "待发货",
    tips: "等待平台处理",
    image: "mine/order/wait.png",
  },
  {
    status: 3,
    title: "待确认收到退货",
    tips: "等待平台处理",
    image: "mine/order/wait.png",
  },
  {
    status: 4,
    title: "退款中",
    tips: "等待平台处理",
    image: "mine/order/wait.png",
  },
  {
    status: 5,
    title: "已退款",
    tips: "钱款已退回至原账户",
    image: "mine/order/success.png",
  },
  {
    status: 6,
    title: "退款失败",
    tips: "您可以尝试再次提交退款申请",
    image: "mine/order/error.png",
  },
  {
    status: 7,
    title: "审核不通过",
    tips: "您可以尝试再次提交退款申请",
    image: "mine/order/error.png",
  },
];

export const ExpressList = [
  {
    value: 0,
    text: "圆通快递",
  },
  {
    value: 1,
    text: "顺丰快递",
  },
  {
    value: 2,
    text: "中通快递",
  },
  {
    value: 3,
    text: "韵达快递",
  },
  {
    value: 4,
    text: "京东快递",
  },
  {
    value: 5,
    text: "百世快递",
  },
  {
    value: 6,
    text: "德邦快递",
  },
  {
    value: 7,
    text: "其他",
  },
];

export const AfterSaleObj = [
  {
    title: "退款原因",
    key: "refundPrice",
  },
  {
    title: "退款金额",
    key: "refundPrice",
  },
  {
    title: "退款数量",
    key: "goodsNumber",
  },
  {
    title: "售后编号",
    key: "orderCode",
  },
  {
    title: "申请时间",
    key: "time",
  },
  {
    title: "申请描述",
    key: "remark",
  },
];

export const AddressInfo = [
  {
    title: "地址",
    key: "address",
  },
  {
    title: "收货人",
    key: "name",
  },
  {
    title: "联系电话",
    key: "phone",
  },
];
export const OrderStatus = [
  {
    title: "待付款",
    value: "1",
    image: "mine/order-wait.png",
    tips:'待付款'
  },
  {
    title: "已支付",
    value: "2",
    image: "mine/order-receiving.png",
    tips:'已支付'
  },
  {
    title: "已关闭",
    value: "3",
    image: "mine/order-close.png",
    tips:'已关闭'
  },
  {
    title: "已发货",
    value: "4",
    image: "mine/order-receiving.png",
    tips:'已发货'
  },
  {
    title: "已收货",
    value: "5",
    image: "mine/order-success.png",
    tips:'已收货'
  },
  {
    title: "待发货",
    value: "6",
    image: "mine/order-wait.png",
    tips:'待发货'
  },
  {
    title: "待安装",
    value: "7",
    image: "mine/order-wait.png",
    tips:'待安装'
  },
  {
    title: "已安装",
    value: "8",
    image: "mine/order-success.png",
    tips:'已安装'
  },
  {
    title: "售后中",
    value: "9",
    image: "mine/order-wait.png",
    tips:'售后中'
  },
  {
    title: "售后完成",
    value: "10",
    image: "mine/order-close.png",
    tips:'售后完成'
  },
];