style:证书预览
Showing
1 changed file
with
8 additions
and
9 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-11 11:29:36 | 4 | * @LastEditTime: 2023-09-19 14:04:13 |
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;"> |
... | @@ -204,7 +204,6 @@ | ... | @@ -204,7 +204,6 @@ |
204 | }) | 204 | }) |
205 | }) | 205 | }) |
206 | } | 206 | } |
207 | // context.fillText(this.bdcqz.syqx ? this.bdcqz.syqx : '', 129, 429); | ||
208 | // 权利其他状态 | 207 | // 权利其他状态 |
209 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | 208 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; |
210 | for (let i = 0; i < lines.length; i++) { | 209 | for (let i = 0; i < lines.length; i++) { |
... | @@ -225,18 +224,18 @@ | ... | @@ -225,18 +224,18 @@ |
225 | arr.push(currentLine); | 224 | arr.push(currentLine); |
226 | if (i > 0) { | 225 | if (i > 0) { |
227 | arr.forEach((line, index) => { | 226 | arr.forEach((line, index) => { |
228 | context.fillText(line, 129, 480 + (26 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 | 227 | context.fillText(line, 129, 490 + (26 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 |
229 | }) | 228 | }) |
230 | } else { | 229 | } else { |
231 | arr.forEach((line, index) => { | 230 | arr.forEach((line, index) => { |
232 | context.fillText(line, 129, 490 + (26 * (i - 1)) + (index * 14)); // 调整行高 | 231 | context.fillText(line, 129, 500 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
233 | }) | 232 | }) |
234 | } | 233 | } |
235 | } else { | 234 | } else { |
236 | if (i > 0) { | 235 | if (i > 0) { |
237 | context.fillText(lines[i] ? lines[i] : '', 129, 490 + 4 * num + (24 * (i - 1))); | 236 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (24 * (i - 1))); |
238 | } else { | 237 | } else { |
239 | context.fillText(lines[i] ? lines[i] : '', 129, 495 + (24 * (i - 1))); | 238 | context.fillText(lines[i] ? lines[i] : '', 129, 505 + (24 * (i - 1))); |
240 | } | 239 | } |
241 | } | 240 | } |
242 | } | 241 | } |
... | @@ -518,9 +517,9 @@ | ... | @@ -518,9 +517,9 @@ |
518 | image.src = this.bdczmSrc; | 517 | image.src = this.bdczmSrc; |
519 | } | 518 | } |
520 | }, | 519 | }, |
521 | computed:{ | 520 | computed: { |
522 | hdiffHeight(){ | 521 | hdiffHeight () { |
523 | return this.headTabBdcqz.length > 1 ? 54 :0 | 522 | return this.headTabBdcqz.length > 1 ? 54 : 0 |
524 | } | 523 | } |
525 | } | 524 | } |
526 | } | 525 | } | ... | ... |
-
Please register or sign in to post a comment