Commit 7f66e173 by doszhang

dos

parent b768f973
......@@ -201,8 +201,12 @@ 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);
$('.poster-page .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