|
@@ -166,7 +166,10 @@ function renderContent(list, contentWrapClassName) {
|
|
|
$(`.${contentWrapClassName} .infos`).append(str);
|
|
|
$(`.${contentWrapClassName} .anchors ul`).append(anchors);
|
|
|
}
|
|
|
-
|
|
|
+ var footer = `<div class="footer">
|
|
|
+ <p><span>免责声明:本知识库提供的医学静态知识仅供医生学习参考。 </span>版权所有:杭州朗通信息技术有限公司 浙ICP备:16000400号-2</p>
|
|
|
+ </div>`;
|
|
|
+ $(`.${contentWrapClassName} .infos`).append(footer);
|
|
|
function addScrollEvent() {
|
|
|
var scrollTop = $(`.${contentWrapClassName} .infos`).scrollTop()
|
|
|
|
|
@@ -618,16 +621,15 @@ function bindTabClick() {
|
|
|
})
|
|
|
}
|
|
|
function adjustHeight() {
|
|
|
- const extHt = window.opener?60:0; //网页查看时隐藏页脚
|
|
|
var ht = window.innerHeight || document.documentElement.clientHeight;
|
|
|
- $(".content").height(ht - 120 + "px");
|
|
|
- $(".content .infos").height(ht - 130 + "px");
|
|
|
- $(".content .anchors").height(ht - 177 + "px");
|
|
|
+ $(".content").height(ht - 82 + "px");
|
|
|
+ $(".content .infos").height(ht - 96 + "px");
|
|
|
+ $(".content .anchors").height(ht - 135 + "px");
|
|
|
}
|
|
|
function adjustWidth() {
|
|
|
var wt = window.innerWidth || document.documentElement.clientWidth;
|
|
|
// $(".titleH2").width(wt - 0.2 * wt - 33 - 200 - 17 - 40 - 15 + 'px')
|
|
|
- $(".content .infos").width(wt - 155 - 33 - 17 - 40 - 15 + 'px');
|
|
|
+ $(".content .infos").width(wt - 155 - 40 + 'px');
|
|
|
}
|
|
|
$(window).on('resize', function () {
|
|
|
adjustHeight()
|