Commit 0983372a by kubisk

Merge branch 'master' into release

parents 12a51321 d3627310
...@@ -137,7 +137,7 @@ input[name=job-number] { ...@@ -137,7 +137,7 @@ input[name=job-number] {
.username { .username {
font-size: 45px; font-size: 45px;
line-height: 45px; line-height: 45px;
color: #464646; color: #ffffff;
text-align: right; text-align: right;
font-weight: bolder; font-weight: bolder;
} }
...@@ -148,7 +148,7 @@ input[name=job-number] { ...@@ -148,7 +148,7 @@ input[name=job-number] {
} }
.company { .company {
color: #464646; color: #ffffff;
text-align: right; text-align: right;
font-size: 20px; font-size: 20px;
} }
......
...@@ -323,9 +323,12 @@ function createPoster() { ...@@ -323,9 +323,12 @@ function createPoster() {
var logoObj = new Image(); var logoObj = new Image();
logoObj.src = '/Public/static/image2/logo.png?version=1.0.0'; logoObj.src = '/Public/static/image2/logo.png?version=1.0.0';
posterTopObj.onload = function () { posterTopObj.onload = function () {
txtDraw(posterCtx, username, '#464646', 215 * 2, 360 * 2, 45 * 2, 'bolder'); // txtDraw(posterCtx, username, '#464646', 215 * 2, 360 * 2, 45 * 2, 'bolder');
txtDraw(posterCtx, '中信保诚人寿', '#464646', 215 * 2, 390 * 2, 20 * 2); // txtDraw(posterCtx, '中信保诚人寿', '#464646', 215 * 2, 390 * 2, 20 * 2);
txtDraw(posterCtx, company + '', '#464646', 215 * 2, 413 * 2, 20 * 2); // txtDraw(posterCtx, company + '', '#464646', 215 * 2, 413 * 2, 20 * 2);
txtDraw(posterCtx, username, '#ffffff', 215 * 2, 360 * 2, 45 * 2, 'bolder');
txtDraw(posterCtx, '中信保诚人寿', '#ffffff', 215 * 2, 390 * 2, 20 * 2);
txtDraw(posterCtx, company + '', '#ffffff', 215 * 2, 413 * 2, 20 * 2);
setTimeout(function () { setTimeout(function () {
......
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