From 4bf79a2000050cf79dd3b24bb2cb860b3922be19 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 19 Mar 2021 18:29:07 +0800
Subject: [PATCH] 20210319  banner图上传功能

---
 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