Commit 478fbbb2 by doszhang

dos

parent 655cd96b
...@@ -37,7 +37,7 @@ input::-webkit-input-placeholder { ...@@ -37,7 +37,7 @@ input::-webkit-input-placeholder {
background: rgba(0, 0, 0, 0.8); background: rgba(0, 0, 0, 0.8);
} }
.upload-page,.headimg-page { .upload-page,.headimg-page,.poster-page {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
......
...@@ -208,7 +208,7 @@ function creatPoster() { ...@@ -208,7 +208,7 @@ function creatPoster() {
headimgObj.src = getManBase64(uploadCanvas); headimgObj.src = getManBase64(uploadCanvas);
headimgObj.onload = function() { headimgObj.onload = function() {
posterctx.drawImage(headimgObj,51,184,387,387); posterctx.drawImage(headimgObj,51*2,184*2,387*2,387*2);
$('#poster').attr('src',getManBase64(posterCanvas)); $('#poster').attr('src',getManBase64(posterCanvas));
......
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