44bfb0bf by renchao@pashanhoo.com

style:证书预览

1 parent 7b080944
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-11 11:29:36
* @LastEditTime: 2023-09-19 14:04:13
-->
<template>
<div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
......@@ -204,7 +204,6 @@
})
})
}
// context.fillText(this.bdcqz.syqx ? this.bdcqz.syqx : '', 129, 429);
// 权利其他状态
let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : [];
for (let i = 0; i < lines.length; i++) {
......@@ -225,18 +224,18 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 129, 480 + (26 * (i - 1)) + 4 * num + (index * 14)); // 调整行高
context.fillText(line, 129, 490 + (26 * (i - 1)) + 4 * num + (index * 14)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 129, 490 + (26 * (i - 1)) + (index * 14)); // 调整行高
context.fillText(line, 129, 500 + (26 * (i - 1)) + (index * 14)); // 调整行高
})
}
} else {
if (i > 0) {
context.fillText(lines[i] ? lines[i] : '', 129, 490 + 4 * num + (24 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (24 * (i - 1)));
} else {
context.fillText(lines[i] ? lines[i] : '', 129, 495 + (24 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 129, 505 + (24 * (i - 1)));
}
}
}
......@@ -518,9 +517,9 @@
image.src = this.bdczmSrc;
}
},
computed:{
hdiffHeight(){
return this.headTabBdcqz.length > 1 ? 54 :0
computed: {
hdiffHeight () {
return this.headTabBdcqz.length > 1 ? 54 : 0
}
}
}
......