Commit b5e26d65 by kubisk

dos

parent 0828b7ba
...@@ -322,12 +322,9 @@ function createPoster() { ...@@ -322,12 +322,9 @@ 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();
var jobTitle = (level == 1 || level == 2 || level == 3) ? level : false; titleObj.src = '/Public/static/image2/exce-' + jobTitle + '.png';
if (jobTitle) { titleObj.onload = function () {
titleObj.src = '/Public/static/image2/exce-' + jobTitle + '.png'; posterCtx.drawImage(titleObj, 425 * 2, 43 * 2, 183 * 2, 175 * 2);
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