style:证书预览
Showing
3 changed files
with
12 additions
and
12 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-02 16:22:48 | 4 | * @LastEditTime: 2023-11-07 08:47:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -302,18 +302,18 @@ | ... | @@ -302,18 +302,18 @@ |
302 | arr.push(currentLine); | 302 | arr.push(currentLine); |
303 | if (i > 0) { | 303 | if (i > 0) { |
304 | arr.forEach((line, index) => { | 304 | arr.forEach((line, index) => { |
305 | context.fillText(line, 129, 490 + (29 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 | 305 | context.fillText(line, 129, 495 + (29 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 |
306 | }) | 306 | }) |
307 | } else { | 307 | } else { |
308 | arr.forEach((line, index) => { | 308 | arr.forEach((line, index) => { |
309 | context.fillText(line, 129, 488 + (26 * (i - 1)) + (index * 14)); // 调整行高 | 309 | context.fillText(line, 129, 493 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
310 | }) | 310 | }) |
311 | } | 311 | } |
312 | } else { | 312 | } else { |
313 | if (i > 0) { | 313 | if (i > 0) { |
314 | context.fillText(lines[i] ? lines[i] : '', 129, 495 + 4 * num + (29 * (i - 1))); | 314 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (29 * (i - 1))); |
315 | } else { | 315 | } else { |
316 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + (27 * (i - 1))); | 316 | context.fillText(lines[i] ? lines[i] : '', 129, 505 + (27 * (i - 1))); |
317 | } | 317 | } |
318 | } | 318 | } |
319 | } | 319 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-26 15:54:17 | 4 | * @LastEditTime: 2023-11-07 08:46:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> | 7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-02 16:21:04 | 4 | * @LastEditTime: 2023-11-07 08:46:45 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
... | @@ -224,18 +224,18 @@ | ... | @@ -224,18 +224,18 @@ |
224 | arr.push(currentLine); | 224 | arr.push(currentLine); |
225 | if (i > 0) { | 225 | if (i > 0) { |
226 | arr.forEach((line, index) => { | 226 | arr.forEach((line, index) => { |
227 | context.fillText(line, 129, 490 + (29 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 | 227 | context.fillText(line, 129, 495 + (29 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 |
228 | }) | 228 | }) |
229 | } else { | 229 | } else { |
230 | arr.forEach((line, index) => { | 230 | arr.forEach((line, index) => { |
231 | context.fillText(line, 129, 488 + (26 * (i - 1)) + (index * 14)); // 调整行高 | 231 | context.fillText(line, 129, 493 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
232 | }) | 232 | }) |
233 | } | 233 | } |
234 | } else { | 234 | } else { |
235 | if (i > 0) { | 235 | if (i > 0) { |
236 | context.fillText(lines[i] ? lines[i] : '', 129, 495 + 4 * num + (29 * (i - 1))); | 236 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (29 * (i - 1))); |
237 | } else { | 237 | } else { |
238 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + (27 * (i - 1))); | 238 | context.fillText(lines[i] ? lines[i] : '', 129, 505 + (27 * (i - 1))); |
239 | } | 239 | } |
240 | } | 240 | } |
241 | } | 241 | } | ... | ... |
-
Please register or sign in to post a comment