diff --git a/v2_0_0_C/coupon/myOrder.html b/v2_0_0_C/coupon/myOrder.html index 03f52a1..b7de6f3 100644 --- a/v2_0_0_C/coupon/myOrder.html +++ b/v2_0_0_C/coupon/myOrder.html @@ -28,7 +28,7 @@

{{item.update_time}}

-

{{item.status_text}} +

{{item.status_text}}

@@ -114,14 +114,9 @@ methods: { /* 根据不同状态展示 订单样式和表现 */ - statusColor ({ type, status }) { - if (type === 1) { - const colorArray = ['#FD553D', '#FD553D', '#44D27D', '#F28542', '#4193EE', '#F28542', '#4193EE'] - return colorArray[status]; - } else { - const colorArray = ['#FD553D', '#FD553D', '#44D27D', '#F28542', '#4193EE', '#F28542', '#4193EE'] - return colorArray[status]; - } + statusColor (status) { + const colorArray = ['#f28542', '#f28542', '#44D27D', '#fd553d', '#fd553d', '#aaaaaa', '#fd553d']; + return colorArray[status]; }, /* 图标分流 */