Commit 0d82f3aa by kubisk

dos

parent b5e26d65
...@@ -322,9 +322,12 @@ function createPoster() { ...@@ -322,9 +322,12 @@ function createPoster() {
txtDraw(posterCtx, company, '#464646', 520 * 2, 365 * 2, 20 * 2); txtDraw(posterCtx, company, '#464646', 520 * 2, 365 * 2, 20 * 2);
// txtDraw(posterCtx, company + '分公司', '#464646', 520 * 2, 365 * 2, 20 * 2); // txtDraw(posterCtx, company + '分公司', '#464646', 520 * 2, 365 * 2, 20 * 2);
var titleObj = new Image(); var titleObj = new Image();
titleObj.src = '/Public/static/image2/exce-' + jobTitle + '.png'; var jobTitle = level
titleObj.onload = function () { if (jobTitle) {
posterCtx.drawImage(titleObj, 425 * 2, 43 * 2, 183 * 2, 175 * 2); titleObj.src = '/Public/static/image2/exce-' + jobTitle + '.png';
titleObj.onload = function () {
posterCtx.drawImage(titleObj, 425 * 2, 43 * 2, 183 * 2, 175 * 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