Commit 255c8133 by doszhang

dos

parent 03cea8f5
...@@ -448,7 +448,7 @@ function createPoster() { ...@@ -448,7 +448,7 @@ function createPoster() {
//海报相关参数 //海报相关参数
let posterLeft = pxToRem(45 * 2); let posterLeft = pxToRem(45 * 2);
let posterTop = pxToRem(107 * 2); let posterTop = pxToRem(107 * 2);
let flagListTop = pxToRem((45 + 107) * 2); let flagListTop = pxToRem((350 + 107) * 2);
//初始化海报canvas //初始化海报canvas
...@@ -503,10 +503,10 @@ function createPoster() { ...@@ -503,10 +503,10 @@ function createPoster() {
posterCtx.save(); posterCtx.save();
posterCtx.restore(); posterCtx.restore();
//画海报中部背景 //画海报中部背景
// posterCtx.fillStyle = '#ffffff'; posterCtx.fillStyle = '#ffffff';
// posterCtx.fillRect(posterLeft, flagListTop, pxToRem(550 * 2), pxToRem(flagListHeight * 2)); posterCtx.fillRect(posterLeft, flagListTop, pxToRem(550 * 2), pxToRem(flagListHeight * 2));
// posterCtx.save(); posterCtx.save();
// posterCtx.restore(); posterCtx.restore();
//画海报底部 //画海报底部
let bottomHalf = new Image(); let bottomHalf = new Image();
bottomHalf.src = "/Public/static/image2/poster-bottomhalf.png"; bottomHalf.src = "/Public/static/image2/poster-bottomhalf.png";
......
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