【973】 阿里云和深信服负载均衡详情页优化-深信服负载均衡详情页优化
Showing
2 changed files
with
21 additions
and
7 deletions
@@ -91,10 +91,12 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function | @@ -91,10 +91,12 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function | ||
91 | } | 91 | } |
92 | }) | 92 | }) |
93 | for (let nodeInfo of nodeInfoList) { | 93 | for (let nodeInfo of nodeInfoList) { |
94 | + // lsq 详情页节电池样式修改 2022-08-08 | ||
94 | htmlStr += `<div class="detail-loadbalancing-vs" data-flag="${nodeInfo.flag}"> | 95 | htmlStr += `<div class="detail-loadbalancing-vs" data-flag="${nodeInfo.flag}"> |
95 | <div class="vs-title"> | 96 | <div class="vs-title"> |
96 | <p>${nodeInfo.nodeName}</p> | 97 | <p>${nodeInfo.nodeName}</p> |
97 | </div> | 98 | </div> |
99 | + <div class="vs-flex"> | ||
98 | <div class="vs-icon-div ${nodeInfo.healthStatus == 'normal' ? 'vs-icon-up' : 'vs-icon-down'}"> | 100 | <div class="vs-icon-div ${nodeInfo.healthStatus == 'normal' ? 'vs-icon-up' : 'vs-icon-down'}"> |
99 | <div class="vs-icon"></div> | 101 | <div class="vs-icon"></div> |
100 | </div> | 102 | </div> |
@@ -109,6 +111,7 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function | @@ -109,6 +111,7 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function | ||
109 | 新增连接数: ${nodeInfo.newConnections} | 111 | 新增连接数: ${nodeInfo.newConnections} |
110 | </li> | 112 | </li> |
111 | </ul> | 113 | </ul> |
114 | + </div> | ||
112 | </div>` | 115 | </div>` |
113 | } | 116 | } |
114 | $vsDiv.html(htmlStr) | 117 | $vsDiv.html(htmlStr) |
@@ -168,10 +171,12 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function | @@ -168,10 +171,12 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function | ||
168 | } | 171 | } |
169 | }) | 172 | }) |
170 | for (let nodeInfo of nodeInfoList) { | 173 | for (let nodeInfo of nodeInfoList) { |
174 | + // lsq 详情页节电池样式修改 2022-08-08 | ||
171 | htmlStr += `<div class="detail-loadbalancing-vs" data-flag="${nodeInfo.flag}"> | 175 | htmlStr += `<div class="detail-loadbalancing-vs" data-flag="${nodeInfo.flag}"> |
172 | <div class="vs-title"> | 176 | <div class="vs-title"> |
173 | <p>${nodeInfo.nodeName}</p> | 177 | <p>${nodeInfo.nodeName}</p> |
174 | </div> | 178 | </div> |
179 | + <div class="vs-flex"> | ||
175 | <div class="node-icon-div ${nodeInfo.healthStatus == 'normal' ? 'vs-icon-up' : 'vs-icon-down'}"> | 180 | <div class="node-icon-div ${nodeInfo.healthStatus == 'normal' ? 'vs-icon-up' : 'vs-icon-down'}"> |
176 | <div class="node-icon"></div> | 181 | <div class="node-icon"></div> |
177 | </div> | 182 | </div> |
@@ -189,6 +194,7 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function | @@ -189,6 +194,7 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function | ||
189 | ${nodeInfo.ipAddr}:${nodeInfo.port} | 194 | ${nodeInfo.ipAddr}:${nodeInfo.port} |
190 | </li> | 195 | </li> |
191 | </ul> | 196 | </ul> |
197 | + </div> | ||
192 | </div>` | 198 | </div>` |
193 | } | 199 | } |
194 | $vsDiv.html(htmlStr) | 200 | $vsDiv.html(htmlStr) |
@@ -7992,12 +7992,13 @@ table.table-duty tbody td div.table-duty-td-day .duty-td-div-now { | @@ -7992,12 +7992,13 @@ table.table-duty tbody td div.table-duty-td-day .duty-td-div-now { | ||
7992 | /*通知页面中间统计图布局样式*/ | 7992 | /*通知页面中间统计图布局样式*/ |
7993 | 7993 | ||
7994 | .detail-loadbalancing-vs { | 7994 | .detail-loadbalancing-vs { |
7995 | - width: calc(12.5% - 22px); | 7995 | + /*lsq 详情页节电池样式修改 2022-08-08*/ |
7996 | + width: calc(14% - 0px); | ||
7996 | height: 115px; | 7997 | height: 115px; |
7997 | margin: 5px; | 7998 | margin: 5px; |
7998 | float: left; | 7999 | float: left; |
7999 | border: 1px solid #dcdcdc; | 8000 | border: 1px solid #dcdcdc; |
8000 | - padding: 10px 20px; | 8001 | + padding: 10px; |
8001 | border-radius: 5px; | 8002 | border-radius: 5px; |
8002 | cursor: pointer; | 8003 | cursor: pointer; |
8003 | } | 8004 | } |
@@ -8006,15 +8007,20 @@ table.table-duty tbody td div.table-duty-td-day .duty-td-div-now { | @@ -8006,15 +8007,20 @@ table.table-duty tbody td div.table-duty-td-day .duty-td-div-now { | ||
8006 | font-size: 15px; | 8007 | font-size: 15px; |
8007 | font-weight: bold; | 8008 | font-weight: bold; |
8008 | height: 30px; | 8009 | height: 30px; |
8010 | + word-wrap: break-word; | ||
8009 | } | 8011 | } |
8010 | 8012 | ||
8011 | .detail-loadbalancing-vs .vs-title { | 8013 | .detail-loadbalancing-vs .vs-title { |
8012 | margin-bottom: 10px; | 8014 | margin-bottom: 10px; |
8013 | } | 8015 | } |
8014 | - | 8016 | +/*lsq 详情页节点池样式修改 2022-08-08*/ |
8017 | +.detail-loadbalancing-vs .vs-flex{ | ||
8018 | + display: flex; | ||
8019 | + align-items: center; | ||
8020 | +} | ||
8015 | .detail-loadbalancing-vs div.vs-icon-div { | 8021 | .detail-loadbalancing-vs div.vs-icon-div { |
8016 | - width: 55px; | ||
8017 | - height: 55px; | 8022 | + width: 45px; |
8023 | + height: 45px; | ||
8018 | padding: 4px; | 8024 | padding: 4px; |
8019 | float: left; | 8025 | float: left; |
8020 | border-radius: 10px; | 8026 | border-radius: 10px; |
@@ -8030,8 +8036,8 @@ table.table-duty tbody td div.table-duty-td-day .duty-td-div-now { | @@ -8030,8 +8036,8 @@ table.table-duty tbody td div.table-duty-td-day .duty-td-div-now { | ||
8030 | } | 8036 | } |
8031 | 8037 | ||
8032 | .detail-loadbalancing-vs div.vs-icon { | 8038 | .detail-loadbalancing-vs div.vs-icon { |
8033 | - width: 50px; | ||
8034 | - height: 50px; | 8039 | + width: 40px; |
8040 | + height: 40px; | ||
8035 | background-repeat: no-repeat; | 8041 | background-repeat: no-repeat; |
8036 | background-position: center; | 8042 | background-position: center; |
8037 | background-image: url(/src/style/img/icon-db.png); | 8043 | background-image: url(/src/style/img/icon-db.png); |
@@ -8062,6 +8068,8 @@ table.table-duty tbody td div.table-duty-td-day .duty-td-div-now { | @@ -8062,6 +8068,8 @@ table.table-duty tbody td div.table-duty-td-day .duty-td-div-now { | ||
8062 | width: 61%; | 8068 | width: 61%; |
8063 | float: left; | 8069 | float: left; |
8064 | padding-left: 10px; | 8070 | padding-left: 10px; |
8071 | + /*lsq 详情页节点池样式修改 2022-08-08*/ | ||
8072 | + flex:1; | ||
8065 | } | 8073 | } |
8066 | 8074 | ||
8067 | .detail-loadbalancing-vs .vs-info li { | 8075 | .detail-loadbalancing-vs .vs-info li { |
-
Please register or login to post a comment