Commit 9989aca7 by doszhang

dos

parent d4039633
......@@ -338,13 +338,13 @@ function drawUserInfo(name, business, fontsize, fontweight) {
let idObj = new Image();
idObj.src = '/Public/static/image2/id.png';
idObj.onload = function () {
posterCtx.drawImage(idObj, idX, 497 * 2, idInfo.width * 2, idInfo.height * 2);
txtDraw(posterCtx, name, '#fff', nameX, 512 * 2);
posterCtx.drawImage(idObj, idX, 500 * 2, idInfo.width * 2, idInfo.height * 2);
txtDraw(posterCtx, name, '#fff', nameX, 515 * 2);
let noObj = new Image();
noObj.src = '/Public/static/image2/no.png';
noObj.onload = function () {
posterCtx.drawImage(noObj, noX, 499 * 2, noInfo.width * 2, noInfo.height * 2);
txtDraw(posterCtx, business, '#fff', businessX, 512 * 2);
posterCtx.drawImage(noObj, noX, 502 * 2, noInfo.width * 2, noInfo.height * 2);
txtDraw(posterCtx, business, '#fff', businessX, 515 * 2);
};
};
}
......
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