891df849 by renchao@pashanhoo.com

style:证书预览模块样式修改

1 parent b31a0bfb
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-29 13:11:05
* @LastEditTime: 2023-08-30 10:11:42
-->
<template>
<div>
......@@ -252,11 +252,11 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 129, 490 + (28 * (i - 1)) + 5 * num + (index * 14)); // 调整行高
context.fillText(line, 129, 485 + (26 * (i - 1)) + 5 * num + (index * 14)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 129, 490 + (28 * (i - 1)) + (index * 14)); // 调整行高
context.fillText(line, 129, 485 + (26 * (i - 1)) + (index * 14)); // 调整行高
})
}
} else {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-29 13:10:53
* @LastEditTime: 2023-08-30 10:10:45
-->
<template>
<div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
......@@ -223,11 +223,11 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 129, 485 + (28 * (i - 1)) + 5 * num + (index * 14)); // 调整行高
context.fillText(line, 129, 485 + (26 * (i - 1)) + 5 * num + (index * 14)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 129, 485 + (28 * (i - 1)) + (index * 14)); // 调整行高
context.fillText(line, 129, 485 + (26 * (i - 1)) + (index * 14)); // 调整行高
})
}
} else {
......