Commit fcea4059 by doszhang

dos

parent 28da8051
...@@ -80,10 +80,10 @@ $(document).ready(function () { ...@@ -80,10 +80,10 @@ $(document).ready(function () {
$('.again,.saveTip').hide(); $('.again,.saveTip').hide();
$('.inputTip').show(); $('.inputTip').show();
$('.page').hide().filter('.page1').show(); $('.page').hide().filter('.page1').show();
ctx.save(); ctx2.save();
ctx.clearRect(0, 0, canvas.width, canvas.height); ctx2.clearRect(0, 0, canvas2.width, canvas2.height);
ctx.fillStyle = "#ffffff"; ctx2.fillStyle = "#ffffff";
ctx.fillRect(0, 0, canvas.width, canvas.height); ctx2.fillRect(0, 0, canvas2.width, canvas2.height);
}); });
$('.make').on('click', function () { $('.make').on('click', function () {
var text = $.trim($('.page:visible').find('input[type=text]').val()); var text = $.trim($('.page:visible').find('input[type=text]').val());
...@@ -115,7 +115,7 @@ $(document).ready(function () { ...@@ -115,7 +115,7 @@ $(document).ready(function () {
//模板1 //模板1
top = 0; top = 0;
if (browser.versions.iPhone) top = 0 if (browser.versions.iPhone) top = 0
ctx2.fillStyle = '#ffffff'; ctx2.fillStyle = '#000';
ctx2.font = 'bold 110px normal'; ctx2.font = 'bold 110px normal';
ctx2.textAlign = 'left'; ctx2.textAlign = 'left';
......
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