feat(shopOrder): 支持订单商品图片OSS压缩及新增支付方式
- 新增utils/image.ts,提供图片URL补全及OSS压缩参数拼接功能 - 订单列表商品图片列改为使用压缩后图片URL,提高加载性能 - shopOrder相关支付类型注释更新,新增银联支付、POS机支付等多种方式 - 更新支付组件及订单信息界面,新增并显示银联支付、POS机支付、免费、积分支付、货到付款等支付标签 - 订单支付状态标签支持区分“已付款”和“待收货付款”状态 - shopOrder数据model中支付类型及代付类型描述同步更新 - 修复shop utils中payType标签获取的边界条件错误 - 注释掉dashboard待办事项中优惠券使用项,暂停显示该统计数据
This commit is contained in:
@@ -45,21 +45,45 @@
|
||||
{ value: 1, label: '微信支付', key: 'wxPay', icon: 'WechatOutlined' },
|
||||
{
|
||||
value: 2,
|
||||
label: '会员卡支付',
|
||||
key: 'userCardPay',
|
||||
icon: 'IdcardOutlined'
|
||||
label: '支付宝',
|
||||
key: 'aliPay',
|
||||
icon: 'AlipayCircleOutlined'
|
||||
},
|
||||
{
|
||||
value: 3,
|
||||
label: '支付宝支付',
|
||||
key: 'aliPay',
|
||||
icon: 'AlipayCircleOutlined'
|
||||
label: '银联支付',
|
||||
key: 'unionPay',
|
||||
icon: 'IdcardOutlined'
|
||||
},
|
||||
{
|
||||
value: 4,
|
||||
label: '现金支付',
|
||||
key: 'cashPayment',
|
||||
icon: 'PayCircleOutlined'
|
||||
},
|
||||
{
|
||||
value: 5,
|
||||
label: 'POS机支付',
|
||||
key: 'posPay',
|
||||
icon: 'IdcardOutlined'
|
||||
},
|
||||
{
|
||||
value: 6,
|
||||
label: '免费',
|
||||
key: 'freePay',
|
||||
icon: 'IdcardOutlined'
|
||||
},
|
||||
{
|
||||
value: 7,
|
||||
label: '积分支付',
|
||||
key: 'pointsPay',
|
||||
icon: 'IdcardOutlined'
|
||||
},
|
||||
{
|
||||
value: 8,
|
||||
label: '货到付款',
|
||||
key: 'codPay',
|
||||
icon: 'IdcardOutlined'
|
||||
}
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user