Commit e710a5fd by doszhang

dos

parent d4800323
......@@ -113,8 +113,8 @@ $(document).ready(function () {
ctx2.drawImage(img, 0, 0);
//模板1
top = 0;
if (browser.versions.iPhone) top = 0
// top = 0;
// if (browser.versions.iPhone) top = 0
ctx2.fillStyle = '#000';
ctx2.font = 'bold 110px normal';
......@@ -123,7 +123,6 @@ $(document).ready(function () {
var left = ((img.width - ctx2.measureText(text).width) / 2) - 10;
ctx2.shadowBlur = 0;
setTimeout(function () {
console.log(top * 2);
ctx2.fillText(text, left, 500 * 2);
$('.page:visible').find('.showBox').show().html('<img src="' + canvas2.toDataURL('image/png') + '">');
}, 0)
......
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