Commit f41c2b07 by doszhang

dos

parent 478fbbb2
...@@ -210,12 +210,19 @@ function creatPoster() { ...@@ -210,12 +210,19 @@ function creatPoster() {
headimgObj.onload = function() { headimgObj.onload = function() {
posterctx.drawImage(headimgObj,51*2,184*2,387*2,387*2); posterctx.drawImage(headimgObj,51*2,184*2,387*2,387*2);
var frameimg = new Image();
frameimg.src = '/Public/static/image2/frame' + nowTemplate + '.png';
frameimg.onload = function() {
posterctx.drawImage(frameimg,51*2,184*2,387*2,387*2);
$('#poster').attr('src',getManBase64(posterCanvas)); $('#poster').attr('src',getManBase64(posterCanvas));
$('.upload-page').fadeOut(300); $('.upload-page').fadeOut(300);
$('.poster-page').fadeIn(300); $('.poster-page').fadeIn(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