Commit c95f1fc0 by doszhang

dos

parent febc3baf
......@@ -364,8 +364,18 @@ function deepClone(obj) {
}
function getTranslateDistance(cardinal = 0, abs = false) {
let wrapHeight = parseFloat($('.wrap').css('height'));
let wrapInnerHeight = parseFloat($('.wrap-inner').css('height'));
return (wrapInnerHeight - wrapHeight) / 2 + cardinal + 'px';
}
function init() {
inited = true;
$('.logo').css({
top: 'auto',
bottom: getTranslateDistance(20) + 'px'
})
$('.page6').append('<div class="leaves leaves-1"></div><div class="leaves leaves-2"></div><div class="leaves leaves-3"></div>');
$('.page1').show();
resizeCanvas();
......
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