修复订单html

This commit is contained in:
kongyuebin 2019-12-19 15:51:43 +08:00
parent 3547d08303
commit 297c1b43fb
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@
let str = ""; let str = "";
for (let i = 0; i < res.OrderList.length; i ++) { for (let i = 0; i < res.OrderList.length; i ++) {
let v = res.OrderList[i]; let v = res.OrderList[i];
let tmp = ""; let tmp = "<tr>";
if (v.Status == "success") { if (v.Status == "success") {
tmp = "<tr style='color: blue;'>" tmp = "<tr style='color: blue;'>"
} else if (v.Status == "fail") { } else if (v.Status == "fail") {

View File

@ -213,7 +213,7 @@
let str = ""; let str = "";
for (let i = 0; i < res.List.length; i ++) { for (let i = 0; i < res.List.length; i ++) {
let v = res.List[i]; let v = res.List[i];
let tmp = ""; let tmp = "<tr>";
if (v.Status == "success") { if (v.Status == "success") {
tmp = "<tr style='color: blue;'>" tmp = "<tr style='color: blue;'>"
} else if (v.Status == "fail") { } else if (v.Status == "fail") {