From 3da86330472b0170385427c4ff63204f8d5a2fff Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 22 Mar 2021 15:53:57 +0800
Subject: [PATCH] 20210319 平仓加载中
---
src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html b/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html
index 5546e95..93373d7 100644
--- a/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html
+++ b/src/main/resources/templates/febs/views/modules/systemSetting/platformBanner.html
@@ -21,7 +21,15 @@
</div>
</div>
</div>
-
+<script type="text/html" id="isBanner">
+ {{#
+ var isBanner = {
+ 2: {title: '否', color: 'red' },
+ 1: {title: '是' , color: 'green'}
+ }[d.isBanner];
+ }}
+ <span class="layui-badge febs-bg-{{isBanner.color}}">{{ isBanner.title }}</span>
+</script>
<script type="text/html" id="isJump">
{{#
var isJump = {
@@ -165,6 +173,7 @@
{title: '跳转外部或内部', templet: '#isInside', minWidth: 60,align:'center'},
{title: '显示端口', templet: '#showPort', minWidth: 60,align:'center'},
{title: '是否置顶', templet: '#isTop', minWidth: 60,align:'center'},
+ {title: '是否是Banner', templet: '#isBanner', minWidth: 60,align:'center'},
{title: '操作', toolbar: '#user-option', minWidth: 140, fixed : 'right'}
]]
--
Gitblit v1.9.1