Authored by 鲁尚清

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

... ... @@ -154,6 +154,9 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
var getTpl = document.getElementById("indexbizhealthTpl").innerHTML;
laytpl(getTpl).render(data, function (html) {
$('#indexbizhealth').html(html);
//lsq 首页卡片有置顶后提示展示 2022-08-26
$('.index-banner-group:nth-child(1) .detail_base_info').show();
baseInfoHover();
if (!isNetAdmin) {
$(".index-banner-item").addClass("index-banner-item-big")
} else {
... ... @@ -313,11 +316,13 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
}
var resourceHealthTips;
$(".detail_base_info").hover(function () {
openMsg();
}, function () {
layer.close(resourceHealthTips);
});
function baseInfoHover(){
$(".detail_base_info").hover(function () {
openMsg();
}, function () {
layer.close(resourceHealthTips);
});
}
function openMsg() {
resourceHealthTips = layer.tips("<span style='color:#585858;'>" +
... ...