Commit 28da8051 by doszhang

dos

parent ae7249ff
......@@ -113,8 +113,8 @@ $(document).ready(function () {
ctx2.drawImage(img, 0, 0);
//模板1
top = 545;
if (browser.versions.iPhone) top = 535
top = 0;
if (browser.versions.iPhone) top = 0
ctx2.fillStyle = '#ffffff';
ctx2.font = 'bold 110px normal';
......@@ -124,7 +124,7 @@ $(document).ready(function () {
ctx2.shadowBlur = 0;
setTimeout(function () {
ctx2.fillText(text, left, top * 2);
$('.page:visible').find('.showBox').show().html('<img src="' + canvas2.toDataURL('image/png') + '">');
$('.page:visible').find('.showBox').show().html('<imWg src="' + canvas2.toDataURL('image/png') + '">');
}, 0)
});
// $('input[type=text]').on('input', onInput);
......
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