Commit b847974f by doszhang

dos

parent 92e34d57
......@@ -201,11 +201,9 @@ function changeBtnBg(event) {
function initPage() {
let displacement = parseInt(getTranslateDistance());
if (displacement > 0) {
alert('gt');
let height = 61.9 + ((displacement + 10) / fontSize);
$('.wrap-inner,.page,.bg,.poster-bg').css('height', height + 'rem');
let g = (height - 61.9) / 2;
alert(g);
$('.frame').css('top', g + 'rem');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment