订单详情添加状态

This commit is contained in:
kron
2025-07-14 16:44:26 +08:00
parent 24eff0df72
commit 485ab9b36c
3 changed files with 28 additions and 13 deletions

View File

@@ -67,6 +67,17 @@ export const orderStatusNames = {
9: "拒绝退款",
};
export const getStatusColor = (status) => {
switch (status) {
case 1:
return "#EF4848";
case 4:
return "#35CD67";
default:
return "#999999";
}
};
export const directionAdjusts = {
AdjustLowerRight: "向右下方调瞄",
AdjustDown: "向下方调瞄",