Commit 3211fc13 by doszhang

dos

parent 04ab1f97
...@@ -343,6 +343,7 @@ function createPoster() { ...@@ -343,6 +343,7 @@ function createPoster() {
let topHalfHeight = pxToRem(389); let topHalfHeight = pxToRem(389);
let bottomHalfHeight = pxToRem(368); let bottomHalfHeight = pxToRem(368);
let posterCanvasHeight = 0; let posterCanvasHeight = 0;
flagListHeight = flagListHeight * 2;
if (flagListHeight < pxToRem(383)) { if (flagListHeight < pxToRem(383)) {
posterCanvasHeight = topHalfHeight + pxToRem(383) + bottomHalfHeight; posterCanvasHeight = topHalfHeight + pxToRem(383) + bottomHalfHeight;
...@@ -350,7 +351,6 @@ function createPoster() { ...@@ -350,7 +351,6 @@ function createPoster() {
} else { } else {
posterCanvasHeight = topHalfHeight + flagListHeight + bottomHalfHeight; posterCanvasHeight = topHalfHeight + flagListHeight + bottomHalfHeight;
} }
console.log('flagListHeight:' + flagListHeight); console.log('flagListHeight:' + flagListHeight);
console.log('posterCanvasHeight:' + posterCanvasHeight); console.log('posterCanvasHeight:' + posterCanvasHeight);
......
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