From e317c8131f83339964d83d384d1fb4c8398268b6 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Sun, 9 Oct 2022 15:56:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v2_0_0_C/coupon/myOrder.html | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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]; }, /* 图标分流 */