From c067b722736cea0ab2b952c76abd4e33a725d673 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 14 May 2021 19:23:01 +0800 Subject: [PATCH] modify --- 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