Commit ad3a5029 by doszhang

dos

parent 675c3607
......@@ -124,15 +124,13 @@ function toUploadPage() {
function initPage() {
const transformTop = Math.abs(parseFloat(getTranslateDistance()));
$('.top').css('top', transformTop);
$('.top').css('top', transformTop + 'px');
$('.bottom').css({
top: 'auto',
bottom: transformTop
bottom: transformTop + 'px'
});
const displacement = parseFloat(transformTop);
console.log(displacement);
if (displacement > 0) {
const scale = document.documentElement.clientHeight / $('.page').height();
$('.wrap-inner').css({
......
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