d4a4e1ac by renchao@pashanhoo.com

style:证书证明预览

1 parent 028a8633
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-31 09:48:52 4 * @LastEditTime: 2023-09-06 15:30:05
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;">
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
143 const image = new Image(); 143 const image = new Image();
144 image.onload = () => { 144 image.onload = () => {
145 context.drawImage(image, 0, 0); 145 context.drawImage(image, 0, 0);
146 context.font = '16px 楷体'; 146 context.font = '18px 楷体';
147 context.fillStyle = '#000000'; 147 context.fillStyle = '#000000';
148 context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); 148 context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56);
149 context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); 149 context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56);
...@@ -374,7 +374,7 @@ ...@@ -374,7 +374,7 @@
374 const image = new Image(); 374 const image = new Image();
375 image.onload = () => { 375 image.onload = () => {
376 context.drawImage(image, 0, 0); 376 context.drawImage(image, 0, 0);
377 context.font = '16px 楷体'; 377 context.font = '18px 楷体';
378 context.fillStyle = '#000000'; 378 context.fillStyle = '#000000';
379 // ysxlh 379 // ysxlh
380 context.fillText(this.bdcqz.ysxlh ? this.bdcqz.ysxlh : '', 280, 712); 380 context.fillText(this.bdcqz.ysxlh ? this.bdcqz.ysxlh : '', 280, 712);
...@@ -472,7 +472,7 @@ ...@@ -472,7 +472,7 @@
472 }) 472 })
473 } 473 }
474 } else { 474 } else {
475 context.fillText(lines[i] ? lines[i] : '', 770, 440 + 4 * num + (22 * (i - 1))); 475 context.fillText(lines[i] ? lines[i] : '', 770, 440 + 5 * num + (22 * (i - 1)));
476 // if (i > 0) { 476 // if (i > 0) {
477 // context.fillText(lines[i] ? lines[i] : '', 770, 440 + 5 * num + (23 * (i - 1))); 477 // context.fillText(lines[i] ? lines[i] : '', 770, 440 + 5 * num + (23 * (i - 1)));
478 // } else { 478 // } else {
......