b0a0c3bd by renchao@pashanhoo.com

style:证书预览功能的完善

1 parent ec72973f
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-29 16:31:57 4 * @LastEditTime: 2023-06-30 10:41:06
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;">
...@@ -158,6 +158,15 @@ ...@@ -158,6 +158,15 @@
158 context.drawImage(image, 0, 0); 158 context.drawImage(image, 0, 0);
159 context.font = '18px 楷体'; 159 context.font = '18px 楷体';
160 context.fillStyle = '#000000'; 160 context.fillStyle = '#000000';
161 // ysxlh
162 context.fillText(this.bdcqz.ysxlh ? this.bdcqz.ysxlh : '', 280, 712);
163 // djsj
164 let djsjList = this.bdcqz.djsj.split(' ')[0].split('/')
165
166 context.fillText(djsjList[0] ? djsjList[0] : '', 327, 580);
167 context.fillText(djsjList[1] ? djsjList[1] : '', 393, 580);
168 context.fillText(djsjList[2] ? djsjList[2] : '', 443, 580);
169
161 context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125); 170 context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125);
162 context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125); 171 context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125);
163 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 750, 125); 172 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 750, 125);
...@@ -192,7 +201,7 @@ ...@@ -192,7 +201,7 @@
192 }); 201 });
193 }); 202 });
194 // fj 203 // fj
195 context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 775, 650); 204 context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 775, 600);
196 }; 205 };
197 206
198 image.src = this.bdczmSrc; 207 image.src = this.bdczmSrc;
......