mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化copyright 显示问题
This commit is contained in:
parent
c0b4d7ffef
commit
342559df36
@ -24,8 +24,18 @@
|
||||
return;
|
||||
}
|
||||
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)
|
||||
Loading…
Reference in New Issue
Block a user