Commit 10edc075 by kubisk

dos

parent afce8311

30 KB | W: | H:

8.74 KB | W: | H:

Public/static/image2/poster1-1.png
Public/static/image2/poster1-1.png
Public/static/image2/poster1-1.png
Public/static/image2/poster1-1.png
  • 2-up
  • Swipe
  • Onion skin

37.7 KB | W: | H:

89.6 KB | W: | H:

Public/static/image2/poster1-2.png
Public/static/image2/poster1-2.png
Public/static/image2/poster1-2.png
Public/static/image2/poster1-2.png
  • 2-up
  • Swipe
  • Onion skin

30 KB | W: | H:

5.13 KB | W: | H:

Public/static/image2/poster2-1.png
Public/static/image2/poster2-1.png
Public/static/image2/poster2-1.png
Public/static/image2/poster2-1.png
  • 2-up
  • Swipe
  • Onion skin

38 KB | W: | H:

91.1 KB | W: | H:

Public/static/image2/poster2-2.png
Public/static/image2/poster2-2.png
Public/static/image2/poster2-2.png
Public/static/image2/poster2-2.png
  • 2-up
  • Swipe
  • Onion skin

30 KB | W: | H:

5.77 KB | W: | H:

Public/static/image2/poster3-1.png
Public/static/image2/poster3-1.png
Public/static/image2/poster3-1.png
Public/static/image2/poster3-1.png
  • 2-up
  • Swipe
  • Onion skin

38.5 KB | W: | H:

82.8 KB | W: | H:

Public/static/image2/poster3-2.png
Public/static/image2/poster3-2.png
Public/static/image2/poster3-2.png
Public/static/image2/poster3-2.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -303,16 +303,19 @@ function createPoster() {
var posterTopObj = new Image();
posterTopObj.src = '/Public/static/image2/poster' + level + '-1.png?version=1.0.0';
var logoObj = new Image();
logoObj.src = '/Public/static/image2/logo.png?version=1.0.0';
posterTopObj.onload = function () {
txtDraw(posterCtx, username, '#fff', 598 * 2, 347 * 2, 45 * 2, 'bolder');
txtDraw(posterCtx, '中信保诚人寿', '#fff', 598 * 2, 381 * 2, 20 * 2);
txtDraw(posterCtx, company + '分公司', '#fff', 598 * 2, 407 * 2, 20 * 2);
txtDraw(posterCtx, username, '#fff', 135 * 2, 360 * 2, 45 * 2, 'bolder');
txtDraw(posterCtx, '中信保诚人寿', '#fff', 135 * 2, 390 * 2, 20 * 2);
txtDraw(posterCtx, company + '分公司', '#fff', 135 * 2, 413 * 2, 20 * 2);
setTimeout(function () {
posterCtx.drawImage(posterTopObj, 38 * 2, 0, 564 * 2, 153 * 2);
posterCtx.drawImage(logoObj, 0, 0, 640 * 2, 61 * 2);
posterCtx.drawImage(posterTopObj, 61 * 2, 144 * 2, 155 * 2, 151 * 2);
var posterBottomObj = new Image();
posterBottomObj.src = '/Public/static/image2/poster' + level + '-2.png?version=1.0.0';
posterBottomObj.onload = function () {
posterCtx.drawImage(posterBottomObj, 0, (canvasHeight - 281) * 2, posterCanvas.width, 281 * 2);
posterCtx.drawImage(posterBottomObj, 0, (canvasHeight - 405) * 2, posterCanvas.width, 405 * 2);
$('#notification_area').remove();
$('.upload-page').hide();
$('.poster-page').show();
......
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