cadfcb73 by renchao@pashanhoo.com

style:证书预览

1 parent cc616e46
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-25 12:21:10 4 * @LastEditTime: 2023-08-25 13:19:14
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;">
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
22 <script> 22 <script>
23 import { datas } from "../../javascript/zsyl.js"; 23 import { datas } from "../../javascript/zsyl.js";
24 import { getSlsqBdcqzList } from "@/api/bdcqz.js" 24 import { getSlsqBdcqzList } from "@/api/bdcqz.js"
25 import { log } from 'bpmn-js-token-simulation';
26 export default { 25 export default {
27 name: "zsyl", 26 name: "zsyl",
28 props: { 27 props: {
...@@ -240,10 +239,10 @@ ...@@ -240,10 +239,10 @@
240 } 239 }
241 arr.push(currentLine); 240 arr.push(currentLine);
242 arr.forEach((line, index) => { 241 arr.forEach((line, index) => {
243 context.fillText(line, 129, 490 + (28 * (i - 1)) + (index * 14)); // 调整行高 242 context.fillText(line, 129, 485 + (28 * (i - 1)) + (index * 14)); // 调整行高
244 }) 243 })
245 } else { 244 } else {
246 context.fillText(lines[i] ? lines[i] : '', 129, 495 + (30 * (i - 1))); 245 context.fillText(lines[i] ? lines[i] : '', 129, 495 + (25 * (i - 1)));
247 } 246 }
248 } 247 }
249 248
......