Commit 1056cb04 by kubisk

dos

parent 27bbea81
...@@ -270,9 +270,9 @@ function createPoster() { ...@@ -270,9 +270,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, '#464646', 522 * 2, 236 * 2, 45 * 2, 'bolder'); txtDraw(posterCtx, username, '#ffffff', 522 * 2, 236 * 2, 45 * 2, 'bolder');
txtDraw(posterCtx, '中信保诚人寿', '#464646', 522 * 2, 268 * 2, 20 * 2); txtDraw(posterCtx, '中信保诚人寿', '#ffffff', 522 * 2, 268 * 2, 20 * 2);
txtDraw(posterCtx, company, '#464646', 522 * 2, 295 * 2, 20 * 2); txtDraw(posterCtx, company, '#ffffff', 522 * 2, 295 * 2, 20 * 2);
// txtDraw(posterCtx, company + '分公司', '#464646', 522 * 2, 295 * 2, 20 * 2); // txtDraw(posterCtx, company + '分公司', '#464646', 522 * 2, 295 * 2, 20 * 2);
var titleObj = new Image(); var titleObj = new Image();
var jobTitle = (level == 1 || level == 2) ? level : false; var jobTitle = (level == 1 || level == 2) ? level : false;
...@@ -288,7 +288,7 @@ function createPoster() { ...@@ -288,7 +288,7 @@ function createPoster() {
var posterBottomObj = new Image(); var posterBottomObj = new Image();
posterBottomObj.src = '/Public/static/image2/poster-bottom.png'; posterBottomObj.src = '/Public/static/image2/poster-bottom.png';
posterBottomObj.onload = function () { posterBottomObj.onload = function () {
posterCtx.drawImage(posterBottomObj, 0, (canvasHeight - 521) * 2, posterCanvas.width, 521 * 2); posterCtx.drawImage(posterBottomObj, 0, (canvasHeight - 452) * 2, posterCanvas.width, 452 * 2);
$('#notification_area').remove(); $('#notification_area').remove();
my_notify('请长按页面保存海报') my_notify('请长按页面保存海报')
$('.upload-page').hide(); $('.upload-page').hide();
......
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