style:不动产证明
Showing
2 changed files
with
17 additions
and
3 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 10:13:32 | 4 | * @LastEditTime: 2024-01-17 10:33:10 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -644,7 +644,14 @@ | ... | @@ -644,7 +644,14 @@ |
644 | // bdcdyh | 644 | // bdcdyh |
645 | this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' + | 645 | this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' + |
646 | this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length) | 646 | this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length) |
647 | // 保存当前字体设置 | ||
648 | const originalFont = context.font; | ||
649 | // 设置新的字体大小 | ||
650 | context.font = '16px 楷体'; // 替换为你想要的字体和大小 | ||
651 | // 绘制 bdcdyh | ||
647 | context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373); | 652 | context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373); |
653 | // 恢复原始字体设置 | ||
654 | context.font = originalFont; | ||
648 | // qlqtzk | 655 | // qlqtzk |
649 | const maxWidth = 290; // 最大宽度限制 | 656 | const maxWidth = 290; // 最大宽度限制 |
650 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n').filter(i => i && i.trim()) : []; | 657 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n').filter(i => i && i.trim()) : []; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-17 10:17:29 | 4 | * @LastEditTime: 2024-01-17 10:32:29 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> |
... | @@ -568,11 +568,18 @@ | ... | @@ -568,11 +568,18 @@ |
568 | }) | 568 | }) |
569 | } | 569 | } |
570 | 570 | ||
571 | |||
572 | // bdcdyh | 571 | // bdcdyh |
573 | this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' + | 572 | this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' + |
574 | this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length) | 573 | this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length) |
574 | // context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373); | ||
575 | // 保存当前字体设置 | ||
576 | const originalFont = context.font; | ||
577 | // 设置新的字体大小 | ||
578 | context.font = '16px 楷体'; // 替换为你想要的字体和大小 | ||
579 | // 绘制 bdcdyh | ||
575 | context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373); | 580 | context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373); |
581 | // 恢复原始字体设置 | ||
582 | context.font = originalFont; | ||
576 | // qlqtzk | 583 | // qlqtzk |
577 | const maxWidth = 295; // 最大宽度限制 | 584 | const maxWidth = 295; // 最大宽度限制 |
578 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n').filter(i => i && i.trim()) : []; | 585 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n').filter(i => i && i.trim()) : []; | ... | ... |
-
Please register or sign in to post a comment