From 16121953db79952213a34e361c7fe5792c114b22 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 14 May 2021 20:17:16 +0800
Subject: [PATCH] 20210514 云顶
---
src/main/resources/templates/febs/views/modules/yunding/ydProductList.html | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/yunding/ydProductList.html b/src/main/resources/templates/febs/views/modules/yunding/ydProductList.html
index 969a8ed..ed93481 100644
--- a/src/main/resources/templates/febs/views/modules/yunding/ydProductList.html
+++ b/src/main/resources/templates/febs/views/modules/yunding/ydProductList.html
@@ -196,6 +196,18 @@
return ''
}
}, minWidth: 80,align:'center'},
+ {field: 'status', title: '销售状态',
+ templet: function (d) {
+ if (d.status === 1) {
+ return '<span style="color:blue;">热售中</span>'
+ } else if (d.status === 2) {
+ return '<span style="color:blue;">售罄</span>'
+ } else if (d.status === 3) {
+ return '<span style="color:blue;">未开售</span>'
+ } else {
+ return ''
+ }
+ }, minWidth: 80,align:'center'},
]]
});
--
Gitblit v1.9.1