const emptyIconMap = {
  list: 'https://gw.alipayobjects.com/mdn/rms_373ab8/afts/img/A*tOHJQLy3MTUAAAAAAAAAAAAAARQnAQ',
  card: 'https://gw.alipayobjects.com/mdn/rms_373ab8/afts/img/A*okcUQZnzTDsAAAAAAAAAAAAAARQnAQ',
  /* 排队列表、缴费列表空状态 */
  queueUp: 'https://gw.alipayobjects.com/mdn/rms_373ab8/afts/img/A*V_IOSqPeLYwAAAAAAAAAAAAAARQnAQ',
};

const getIcon = (type, icon) => icon || emptyIconMap[type];

export default {
  getIcon,
};
