From c339422a27e0ac5be87cfaf63a4840dfd448179c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Wed, 13 Nov 2024 11:08:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A1=A8=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/manage/model/model.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ruoyi-manage/src/main/resources/templates/manage/model/model.html b/ruoyi-manage/src/main/resources/templates/manage/model/model.html index 4980834..806525b 100644 --- a/ruoyi-manage/src/main/resources/templates/manage/model/model.html +++ b/ruoyi-manage/src/main/resources/templates/manage/model/model.html @@ -93,6 +93,7 @@ } .threeLabelContent { + display: none; /*width: 200px;*/ height: auto; @@ -104,6 +105,8 @@ right: 0; top: 50%; transform: translateY(-50%); + overflow: auto; + max-height: 90vh; } @@ -152,6 +155,16 @@ font-size: 2vw; color: #fff; } + .rightTH{ + display: inline-block; + width: 33%; + } + .rightTable{ + width: 20vw; + position: sticky; + top: 0; + background-color: rgba(23, 48, 97); + } @@ -362,7 +375,7 @@ $.post(ctx + 'api/getCountNumberById', {id: id.toString()}, (e) => { $("#threeLabelContent").css('display', 'block') - $("#threeLabelContent").html(e.data.map(v => `

名称:${v.areaName} 编号:${v.locationCode} 数量: ${v.countNumber}

`).join('
')) + $("#threeLabelContent").html(`
机坪名称
机位编码
轮挡数量
${e.data.map(v => `
${v.areaName}
${v.locationCode}
${v.countNumber}
`).join('
')}`) // new tween.Tween(camera.position).to(new THREE.Vector3(383, 439, 3553), 500).start() // camera.position.set(383, 439, 3553)