From 6180ec719f156425be01888f6dc0026f8693656c Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 27 Dec 2018 23:22:12 +0800 Subject: [PATCH] =?UTF-8?q?[=E8=83=8C=E6=99=AF=E9=A2=9C=E8=89=B2=E5=8F=98?= =?UTF-8?q?=E5=8C=96]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cardorder/index/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/cardorder/index/index.js b/pages/cardorder/index/index.js index 41ad740..86f2b62 100644 --- a/pages/cardorder/index/index.js +++ b/pages/cardorder/index/index.js @@ -117,12 +117,14 @@ Page({ file.background = 'rgba(179,180,181,1)'; file.showImg = true; } else if (file.couponOrderStatus == 4) { - if (file.remainingAmount > 0 && 500 >= file.remainingAmount) { + if (file.remainingAmount > 0 && 29900 >= file.remainingAmount) { file.background = '#7184E2' - } else if (file.remainingAmount > 500 && 5000 >= file.remainingAmount) { + } else if (file.remainingAmount >= 30000 && 49900 >= file.remainingAmount) { file.background = '#63AAE6' - } else if (file.remainingAmount > 5000) { + } else if (file.remainingAmount >= 50000 && 99900 >= file.remainingAmount) { file.background = '#E2A471' + } else if (file.remainingAmount >= 100000){ + file.background = '#E67663' } }