export const OrderEnum = {
  NO_PAY: {
    value: 0,
    name: '待支付'
  },
  NO_ORDER: {
    value: 1,
    name: '待接单'
  },
  ALREADY_ORDER: {
    value: 2,
    name: '待消费'
  },
  ALREADY_EVALUATION: {
    value: 90,
    name: '待评价'
  },
  COMMIT: {
    value: 99,
    name: '已完成'
  },
  CANCEL: {
    value: -1,
    name: '已取消'
  },
  REFUND: {
    value: -2,
    name: '已退款'
  }
}

export const OrderEnumMap = {
  0: '待支付',
  1: '待接单',
  2: '待消费',
  90: '待评价',
  99: '已完成',
  '-1': '已取消',
  '-2': '已退款',
}


export const OrderIconMap = {
  0: 'order/pay.png',
  1: 'order/djd.png',
  2: 'order/daixiaofei.png',
  90: 'order/dpj.png',
  99: 'order/ywc.png',
  '-1': 'order/yqx.png',
  '-2': 'order/ytk.png',
}

