dfe3546b by renchao@pashanhoo.com

style:证书预览

1 parent a7e8b377
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-22 10:09:05 4 * @LastEditTime: 2023-10-19 10:00:27
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;">
...@@ -394,7 +394,7 @@ ...@@ -394,7 +394,7 @@
394 // context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325); 394 // context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325);
395 395
396 let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; 396 let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : [];
397 if (getByteLen(this.bdcqz.zl) > 41) { 397 if (getByteLen(this.bdcqz.zl) >= 39) {
398 lines2.forEach((line, index) => { 398 lines2.forEach((line, index) => {
399 const y = 315 + (index * 20); // 每行文本的垂直位置 399 const y = 315 + (index * 20); // 每行文本的垂直位置
400 let currentLine = ''; 400 let currentLine = '';
......