Commit 1e8b7b17 by doszhang

dos

parent d383fcd4
......@@ -352,8 +352,6 @@ function createPoster() {
} else {
posterCanvasHeight = topHalfHeight + flagListHeight + bottomHalfHeight;
}
console.log('flagListHeight:' + flagListHeight);
console.log('posterCanvasHeight:' + posterCanvasHeight);
......@@ -396,9 +394,10 @@ function drawFlagItem(initialPosition) {
redline.src = picUrl + 'flag-redline.png';
let nodeList = $('.poster-page .poster-list .flag-item');
for (let i = 0; i < flagStack.length; i++) {
let offsetTop = $('.poster-page .poster-list .flag-item')[i]
console.log($(nodeList[i]));
let top = initialPosition + $(nodeList[i]).offset().top;
console.log('top:' + top);
// console.log('top:' + top);
posterCtx.drawImage(noBg, pxToRem(105), top, pxToRem(44), pxToRem(39));
}
......
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