Commit d8dc56b4 by doszhang

dos

parent f9f52fa2
...@@ -48,6 +48,14 @@ input::-webkit-input-placeholder { ...@@ -48,6 +48,14 @@ input::-webkit-input-placeholder {
height: 327px; height: 327px;
} }
#headimg {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
}
input[name=customize] { input[name=customize] {
font-size: 22px; font-size: 22px;
color: #333; color: #333;
......
...@@ -202,6 +202,8 @@ function createHeadimg() { ...@@ -202,6 +202,8 @@ function createHeadimg() {
frameimg.onload = function() { frameimg.onload = function() {
headimgctx.drawImage(frameimg,0,0,headimgCanvas.width,headimgCanvas.height); headimgctx.drawImage(frameimg,0,0,headimgCanvas.width,headimgCanvas.height);
$('#headimg').attr('src'.getManBase64(headimgCanvas));
$('.upload-page').fadeOut(300); $('.upload-page').fadeOut(300);
$('.headimg-page').delay(200).fadeIn(300); $('.headimg-page').delay(200).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