style:证书预览模块样式修改
Showing
2 changed files
with
6 additions
and
6 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-29 13:11:05 | 4 | * @LastEditTime: 2023-08-30 10:11:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -252,11 +252,11 @@ | ... | @@ -252,11 +252,11 @@ |
252 | arr.push(currentLine); | 252 | arr.push(currentLine); |
253 | if (i > 0) { | 253 | if (i > 0) { |
254 | arr.forEach((line, index) => { | 254 | arr.forEach((line, index) => { |
255 | context.fillText(line, 129, 490 + (28 * (i - 1)) + 5 * num + (index * 14)); // 调整行高 | 255 | context.fillText(line, 129, 485 + (26 * (i - 1)) + 5 * num + (index * 14)); // 调整行高 |
256 | }) | 256 | }) |
257 | } else { | 257 | } else { |
258 | arr.forEach((line, index) => { | 258 | arr.forEach((line, index) => { |
259 | context.fillText(line, 129, 490 + (28 * (i - 1)) + (index * 14)); // 调整行高 | 259 | context.fillText(line, 129, 485 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
260 | }) | 260 | }) |
261 | } | 261 | } |
262 | } else { | 262 | } else { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-29 13:10:53 | 4 | * @LastEditTime: 2023-08-30 10:10: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;"> |
... | @@ -223,11 +223,11 @@ | ... | @@ -223,11 +223,11 @@ |
223 | arr.push(currentLine); | 223 | arr.push(currentLine); |
224 | if (i > 0) { | 224 | if (i > 0) { |
225 | arr.forEach((line, index) => { | 225 | arr.forEach((line, index) => { |
226 | context.fillText(line, 129, 485 + (28 * (i - 1)) + 5 * num + (index * 14)); // 调整行高 | 226 | context.fillText(line, 129, 485 + (26 * (i - 1)) + 5 * num + (index * 14)); // 调整行高 |
227 | }) | 227 | }) |
228 | } else { | 228 | } else { |
229 | arr.forEach((line, index) => { | 229 | arr.forEach((line, index) => { |
230 | context.fillText(line, 129, 485 + (28 * (i - 1)) + (index * 14)); // 调整行高 | 230 | context.fillText(line, 129, 485 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
231 | }) | 231 | }) |
232 | } | 232 | } |
233 | } else { | 233 | } else { | ... | ... |
-
Please register or sign in to post a comment