Commit 4aa8b470 by kubisk

dos

parent a7d2f5ec

103 KB | W: | H:

109 KB | W: | H:

Public/static/image2/poster-bottom.png
Public/static/image2/poster-bottom.png
Public/static/image2/poster-bottom.png
Public/static/image2/poster-bottom.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -273,9 +273,9 @@ function createPoster() {
var logoObj = new Image();
logoObj.src = '/Public/static/image2/logo.png';
logoObj.onload = function () {
txtDraw(posterCtx, username, '#464646', 522 * 2, 236 * 2, 45 * 2, 'bolder');
txtDraw(posterCtx, '中信保诚人寿', '#464646', 522 * 2, 268 * 2, 20 * 2);
txtDraw(posterCtx, company, '#464646', 522 * 2, 295 * 2, 20 * 2);
txtDraw(posterCtx, username, '#ffffff', 522 * 2, 236 * 2, 45 * 2, 'bolder');
txtDraw(posterCtx, '中信保诚人寿', '#ffffff', 522 * 2, 268 * 2, 20 * 2);
txtDraw(posterCtx, company, '#ffffff', 522 * 2, 295 * 2, 20 * 2);
// txtDraw(posterCtx, company + '分公司', '#464646', 522 * 2, 295 * 2, 20 * 2);
var titleObj = new Image();
var jobTitle = (level == 1 || level == 2 || level == 3) ? level : false;
......@@ -291,7 +291,7 @@ function createPoster() {
var posterBottomObj = new Image();
posterBottomObj.src = '/Public/static/image2/poster-bottom.png';
posterBottomObj.onload = function () {
posterCtx.drawImage(posterBottomObj, 0, (canvasHeight - 478) * 2, posterCanvas.width, 478 * 2);
posterCtx.drawImage(posterBottomObj, 0, (canvasHeight - 436) * 2, posterCanvas.width, 436 * 2);
$('#notification_area').remove();
my_notify('请长按页面保存海报')
$('.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