master
zhaoqiang 2024-07-17 15:03:33 +08:00
parent d382501003
commit a84c96f9dd
3 changed files with 28 additions and 23 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 KiB

After

Width:  |  Height:  |  Size: 282 KiB

File diff suppressed because one or more lines are too long

View File

@ -1765,8 +1765,8 @@ let handleAnimate = async (result: any) => {
let data = Lineitem let data = Lineitem
let x = (Number(polyineArray[polyineArray.length - 1][0]) + Number(polyineArray[0][0])) / 2 let x = (Number(polyineArray[polyineArray.length - 1][0]) + Number(polyineArray[0][0])) / 2
let y = (Number(polyineArray[polyineArray.length - 1][1]) + Number(polyineArray[0][1])) / 2 let y = (Number(polyineArray[polyineArray.length - 1][1]) + Number(polyineArray[0][1])) / 2
let line = '' let line
let text = '' let text
//线sec_id 线 p q v i //线sec_id 线 p q v i
if (data['sec_id']) { if (data['sec_id']) {
// 线 // 线
@ -1787,10 +1787,12 @@ let handleAnimate = async (result: any) => {
y: y + 5, y: y + 5,
id: 'load_text' + data.psrId, id: 'load_text' + data.psrId,
'font-size': '1', 'font-size': '1',
leading: '0.1',
}) })
.fill('green') .fill('green')
console.log(text, 'texttexttext') text.node.children[0].setAttribute('dy', '1')
text.node.children[1].setAttribute('dy', '1')
text.node.children[2].setAttribute('dy', '1')
text.node.children[3].setAttribute('dy', '1')
} }
lineDom.add(line) lineDom.add(line)
@ -2766,7 +2768,8 @@ const styleVar = computed(() => {
// background: url("@/assets/images/osPage/xixiaozhantp.png") no-repeat; // background: url("@/assets/images/osPage/xixiaozhantp.png") no-repeat;
// background: url("@/assets/images/osPage/xuetp.png") no-repeat; // background: url("@/assets/images/osPage/xuetp.png") no-repeat;
background: url('@/assets/images/osPage/svgB.png') no-repeat; background: url('@/assets/images/osPage/svgB.png') no-repeat;
background-size: 100% 100%; background-size: 80% 100%;
background-position-x: 50%;
// background-image: url(".png"); // background-image: url(".png");
} }
.box { .box {