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)