mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化copyright 显示问题
This commit is contained in:
parent
c0b4d7ffef
commit
342559df36
@ -24,8 +24,18 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.copyrightInfo.logo = sysInfo.logo;
|
this.copyrightInfo.logo = sysInfo.logo;
|
||||||
|
},
|
||||||
|
_initView: function () {
|
||||||
|
|
||||||
|
let footer = document.getElementsByClassName('footer')[0];
|
||||||
|
windowH = document.documentElement.clientHeight;
|
||||||
|
bodyH = document.body.offsetHeight;
|
||||||
|
bodyH < windowH ? (footer.style.position = 'fixed', footer.style.bottom = '0') : (footer.style.position = '');
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
window.onresize = function () { vm._initView() }
|
||||||
|
|
||||||
})(window.vc)
|
})(window.vc)
|
||||||
Loading…
Reference in New Issue
Block a user