Commit f2eeece5 by doszhang

dos

parent 79ed176e
......@@ -116,6 +116,7 @@ $(document).ready(function () {
drawImage();
$('.copywriting2,.btn-tocreate').fadeOut(300);
$('.upload-page').delay(200).fadeIn(300);
initGame();
results = null;
imgData = null;
};
......@@ -192,6 +193,8 @@ function slidePrevTemplate() {
nowTemplate -= 1;
$('.template').hide();
$('.template' + nowTemplate).show();
if(nowTemplate == 5) $('.customize').show();
else $('.customize').hide();
}
function slideNextTemplate() {
......@@ -202,6 +205,8 @@ function slideNextTemplate() {
nowTemplate += 1;
$('.template').hide();
$('.template' + nowTemplate).show();
if(nowTemplate == 5) $('.customize').show();
else $('.customize').hide();
}
function drawImage() {
......@@ -242,6 +247,7 @@ function getManBase64() {
function initGame() {
$('.template').hide();
$('.template' + nowTemplate).show();
$('.customize').hide();
}
function txtDraw(ctx, content, x, y, fontsize, fontweight, color) {
......
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