Commit f41c2b07 by doszhang

dos

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