Authored by 王涛

Merge branch 'master-500-dev-lushangqing' into 'master-500-dev'

【无】首页健康度计算规则,置顶后不展示



See merge request !900
@@ -154,6 +154,9 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions @@ -154,6 +154,9 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
154 var getTpl = document.getElementById("indexbizhealthTpl").innerHTML; 154 var getTpl = document.getElementById("indexbizhealthTpl").innerHTML;
155 laytpl(getTpl).render(data, function (html) { 155 laytpl(getTpl).render(data, function (html) {
156 $('#indexbizhealth').html(html); 156 $('#indexbizhealth').html(html);
  157 + //lsq 首页卡片有置顶后提示展示 2022-08-26
  158 + $('.index-banner-group:nth-child(1) .detail_base_info').show();
  159 + baseInfoHover();
157 if (!isNetAdmin) { 160 if (!isNetAdmin) {
158 $(".index-banner-item").addClass("index-banner-item-big") 161 $(".index-banner-item").addClass("index-banner-item-big")
159 } else { 162 } else {
@@ -313,11 +316,13 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions @@ -313,11 +316,13 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
313 } 316 }
314 317
315 var resourceHealthTips; 318 var resourceHealthTips;
316 - $(".detail_base_info").hover(function () {  
317 - openMsg();  
318 - }, function () {  
319 - layer.close(resourceHealthTips);  
320 - }); 319 + function baseInfoHover(){
  320 + $(".detail_base_info").hover(function () {
  321 + openMsg();
  322 + }, function () {
  323 + layer.close(resourceHealthTips);
  324 + });
  325 + }
321 326
322 function openMsg() { 327 function openMsg() {
323 resourceHealthTips = layer.tips("<span style='color:#585858;'>" + 328 resourceHealthTips = layer.tips("<span style='color:#585858;'>" +