Commit 67451c95 by doszhang

dos

parent fcafd846
...@@ -277,9 +277,9 @@ function createPoster() { ...@@ -277,9 +277,9 @@ function createPoster() {
var logoObj = new Image(); var logoObj = new Image();
logoObj.src = '/Public/static/image2/logo.png'; logoObj.src = '/Public/static/image2/logo.png';
logoObj.onload = function () { logoObj.onload = function () {
// txtDraw(posterCtx, username, '#fff', 598 * 2, 347 * 2, 45 * 2, 'bolder'); txtDraw(posterCtx, username, '#464646', 522 * 2, 236 * 2, 45 * 2, 'bolder');
// txtDraw(posterCtx, '中信保诚人寿', '#fff', 598 * 2, 381 * 2, 20 * 2); txtDraw(posterCtx, '中信保诚人寿', '#fff', 522 * 2, 268 * 2, 20 * 2);
// txtDraw(posterCtx, company + '分公司', '#fff', 598 * 2, 407 * 2, 20 * 2); txtDraw(posterCtx, company + '分公司', '#fff', 522 * 2, 295 * 2, 20 * 2);
setTimeout(function () { setTimeout(function () {
posterCtx.drawImage(logoObj, 52 * 2, 38 * 2, 243 * 2, 67 * 2); posterCtx.drawImage(logoObj, 52 * 2, 38 * 2, 243 * 2, 67 * 2);
var posterBottomObj = new Image(); var posterBottomObj = new Image();
......
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