f1796538 by renchao@pashanhoo.com

style:证书

1 parent 8cf9a8dc
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-19 14:04:13
* @LastEditTime: 2023-09-22 10:09:05
-->
<template>
<div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
......@@ -224,18 +224,18 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 129, 490 + (26 * (i - 1)) + 4 * num + (index * 14)); // 调整行高
context.fillText(line, 129, 485 + (24 * (i - 1)) + 4 * num + (index * 14)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 129, 500 + (26 * (i - 1)) + (index * 14)); // 调整行高
context.fillText(line, 129, 495 + (26 * (i - 1)) + (index * 14)); // 调整行高
})
}
} else {
if (i > 0) {
context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (24 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 129, 495 + 4 * num + (24 * (i - 1)));
} else {
context.fillText(lines[i] ? lines[i] : '', 129, 505 + (24 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 129, 500 + (24 * (i - 1)));
}
}
}
......