Commit 78214930 by doszhang

dos

parent ce49180c
...@@ -513,7 +513,7 @@ function createPoster() { ...@@ -513,7 +513,7 @@ function createPoster() {
bottomHalf.src = "/Public/static/image2/poster-bottomhalf.png"; bottomHalf.src = "/Public/static/image2/poster-bottomhalf.png";
bottomHalf.onload = function () { bottomHalf.onload = function () {
bottomHalfTop = pxToRem(457) + pxToRem(flagListHeight); bottomHalfTop = pxToRem(457) + pxToRem(flagListHeight);
$('.poster-tip').css('top', bottomHalfTop + pxToRem(157)); $('.poster-tip').css('top', bottomHalfTop + pxToRem(133));
posterCtx.drawImage(bottomHalf, posterLeft, bottomHalfTop * 2, pxToRem(550 * 2), pxToRem(207 * 2)); posterCtx.drawImage(bottomHalf, posterLeft, bottomHalfTop * 2, pxToRem(550 * 2), pxToRem(207 * 2));
drawFlagItem(pxToRem(489 + 20)); drawFlagItem(pxToRem(489 + 20));
let decorate = new Image(); let decorate = new Image();
...@@ -529,7 +529,7 @@ function createPoster() { ...@@ -529,7 +529,7 @@ function createPoster() {
let tip = new Image(); let tip = new Image();
tip.src = "/Public/static/image2/poster-tip.png"; tip.src = "/Public/static/image2/poster-tip.png";
tip.onload = function () { tip.onload = function () {
posterCtx.drawImage(tip, pxToRem(117 * 2), (bottomHalfTop + pxToRem(157)) * 2, pxToRem(61 * 2), pxToRem(28 * 2)); posterCtx.drawImage(tip, pxToRem(117 * 2), (bottomHalfTop + pxToRem(133)) * 2, pxToRem(61 * 2), pxToRem(28 * 2));
setTimeout(function () { setTimeout(function () {
$('.posterImg-true').attr('src', getManBase64(posterCanvas)).css('height', pxToRem(posterCanvasHeight)); $('.posterImg-true').attr('src', getManBase64(posterCanvas)).css('height', pxToRem(posterCanvasHeight));
}, 300); }, 300);
......
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