export const stateList = [ { state: '待支付', img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FFybMDtHR-dengdaifukuan.png', msg: '等待买家付款' }, { state: '待发货', img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FEOzVqolp-fahuo.png', msg: '等待卖家发货' }, { state: '已退款', img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FlPnvgqCp-yituikuan.png', msg: '订单已经退款' }, { state: '待收货', img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FEOzVqolp-fahuo.png', msg: '商品已发货,注意查收' }, { state: '交易成功', img: '', msg: '订单完成,感谢您的支持' }, { state: '交易关闭', img: 'https://carbon2.obs.cn-north-4.myhuaweicloud.com:443/feiyi%2Ftest%2F0%2FaHDhacaI-dengdaifukuan.png', msg: '您的订单已关闭' } ] export const stateMap = new Map() stateList.forEach((item)=>{ stateMap.set(item.state,item) })