|
@@ -726,10 +726,13 @@ function renderAffListList(list, showNum) {
|
|
$(".loading").show();
|
|
$(".loading").show();
|
|
$(".hasdiagnose .box[data-index=" + i + "]").find(".moduleCenter").html('')
|
|
$(".hasdiagnose .box[data-index=" + i + "]").find(".moduleCenter").html('')
|
|
$(".hasdiagnose .box").find(".moduleCenter").css("display", "none")
|
|
$(".hasdiagnose .box").find(".moduleCenter").css("display", "none")
|
|
|
|
+ $(".hasdiagnose .box").find(".box-img").attr('src', down)
|
|
$(".hasdiagnose .box[data-index=" + i + "]").find(".moduleCenter").css("display", "block")
|
|
$(".hasdiagnose .box[data-index=" + i + "]").find(".moduleCenter").css("display", "block")
|
|
|
|
+ $(e.target).find(".box-img").attr('src', ups)
|
|
renderpushByHasDisease(name, i)
|
|
renderpushByHasDisease(name, i)
|
|
} else {
|
|
} else {
|
|
$(".hasdiagnose .box[data-index=" + i + "]").find(".moduleCenter").css("display", "none")
|
|
$(".hasdiagnose .box[data-index=" + i + "]").find(".moduleCenter").css("display", "none")
|
|
|
|
+ $(e.target).find(".box-img").attr('src', down)
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
@@ -1199,7 +1202,7 @@ function renderItemWrapper(list, showNum, name) {
|
|
longStr += `<span class="showLess"><img class="iconArrowImg" src="${iconArrowUp}"></span>`
|
|
longStr += `<span class="showLess"><img class="iconArrowImg" src="${iconArrowUp}"></span>`
|
|
return {
|
|
return {
|
|
shortStr: `<div class="shortBox"><span class="shortBox-tit">${name ? name + ':' : ''}</span><div class="${name ? `${name == '推荐检验' || name == '推荐检查'?'shortBox-tit1' : 'shortBox-tit2'}` : ''}">${shortStr}</div></div>`,
|
|
shortStr: `<div class="shortBox"><span class="shortBox-tit">${name ? name + ':' : ''}</span><div class="${name ? `${name == '推荐检验' || name == '推荐检查'?'shortBox-tit1' : 'shortBox-tit2'}` : ''}">${shortStr}</div></div>`,
|
|
- longStr: `<div class="longBox"><span class="shortBox-tit">${name ? name + ':' : ''}</span><divclass="${name ? `${name == '推荐检验' || name == '推荐检查'?'shortBox-tit1' : 'shortBox-tit2'}` : ''}">${shortStr}</div></div></div>`
|
|
|
|
|
|
+ longStr: `<div class="longBox"><span class="shortBox-tit">${name ? name + ':' : ''}</span><div class="${name ? `${name == '推荐检验' || name == '推荐检查'?'shortBox-tit1' : 'shortBox-tit2'}` : ''}">${longStr}</div></div></div>`
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1222,12 +1225,12 @@ function bindOpenInfo() {
|
|
|
|
|
|
function bindSlide() {
|
|
function bindSlide() {
|
|
$(".showMore").off("click").on("click", function () {
|
|
$(".showMore").off("click").on("click", function () {
|
|
- $(this).parent().parent().find(".longBox").css("display", "block")
|
|
|
|
- $(this).parent().parent().find(".shortBox").css("display", "none")
|
|
|
|
|
|
+ $(this).parent().parent().parent().find(".longBox").css("display", "block")
|
|
|
|
+ $(this).parent().parent().parent().find(".shortBox").css("display", "none")
|
|
})
|
|
})
|
|
$(".showLess").off("click").on("click", function () {
|
|
$(".showLess").off("click").on("click", function () {
|
|
- $(this).parent().parent().find(".longBox").css("display", "none")
|
|
|
|
- $(this).parent().parent().find(".shortBox").css("display", "block")
|
|
|
|
|
|
+ $(this).parent().parent().parent().find(".longBox").css("display", "none")
|
|
|
|
+ $(this).parent().parent().parent().find(".shortBox").css("display", "block")
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|