Commit 8b42bbc5 by doszhang

dos

parent c481c265
...@@ -298,6 +298,8 @@ function createPoster(name, business) { ...@@ -298,6 +298,8 @@ function createPoster(name, business) {
posterObj.src = '/Public/static/image2/poster' + level + '.jpg'; posterObj.src = '/Public/static/image2/poster' + level + '.jpg';
posterObj.onload = function () { posterObj.onload = function () {
posterCtx.drawImage(posterObj, 0, 0, posterCanvas.width, posterCanvas.height); posterCtx.drawImage(posterObj, 0, 0, posterCanvas.width, posterCanvas.height);
$('.upload-page').hide();
$('.poster-page').show();
// var headimgObj = new Image(); // var headimgObj = new Image();
// headimgObj.src = getManBase64(uploadCanvas); // headimgObj.src = getManBase64(uploadCanvas);
// headimgObj.onload = function () { // headimgObj.onload = function () {
......
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