Преглед на файлове

[背景颜色变化]

tags/广东版3.2.1
meo преди 6 години
родител
ревизия
6180ec719f
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. +5
    -3
      pages/cardorder/index/index.js

+ 5
- 3
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'
}
}



Зареждане…
Отказ
Запис