This commit is contained in:
lzp
2026-04-14 14:33:00 +08:00
parent 482e7c77a1
commit f0932c68db
3 changed files with 24 additions and 18 deletions

View File

@@ -28,21 +28,13 @@ const {} = toRefs(data);
</script>
<template>
<div class="modalDetail">
<div class="title">
Properties Information
</div>
<div class="title">{{ $t('threeModel.propertiesInformation') }}</div>
<div class="detail">
<div class="name">
<div class="title fs18">
3D Asset
</div>
<div class="fs14 c66">
File Format:glb.
</div>
</div>
<div class="fs14 c18">
Transform
<div class="title fs18">{{ $t('threeModel._3DAsset') }}</div>
<div class="fs14 c66">{{ $t('threeModel.fileFormat') }}</div>
</div>
<div class="fs14 c18">{{ $t('threeModel.transform') }}</div>
<div class="flex">
<div>
<div class="fs14 c18">X</div>
@@ -57,20 +49,18 @@ const {} = toRefs(data);
<div class="fs12 c66">{{ config?.glbInfoObj?.centroid?.[2].toFixed(2) || 0 }}</div>
</div>
</div>
<div class="fs14 c18">
Dimensions
</div>
<div class="fs14 c18">{{ $t('threeModel.dimensions') }}</div>
<div class="flex">
<div>
<div class="fs14 c18">Height</div>
<div class="fs14 c18">{{ $t('threeModel.height') }}</div>
<div class="fs12 c66">{{ config?.glbInfoObj?.size?.[0].toFixed(2) || 0 }}</div>
</div>
<div>
<div class="fs14 c18">Width</div>
<div class="fs14 c18">{{ $t('threeModel.width') }}</div>
<div class="fs12 c66">{{ config?.glbInfoObj?.size?.[1].toFixed(2) || 0 }}</div>
</div>
<div>
<div class="fs14 c18">Depth</div>
<div class="fs14 c18">{{ $t('threeModel.depth') }}</div>
<div class="fs12 c66">{{ config?.glbInfoObj?.size?.[2].toFixed(2) || 0 }}</div>
</div>
</div>

View File

@@ -304,6 +304,14 @@ export default {
loading: 'Loading',
download: 'Download',
captureView: 'Capture View',
propertiesInformation: 'Properties Information',
_3DAsset: '3D Asset',
fileFormat: 'File Format:glb.',
transform: 'Transform',
dimensions: 'Dimensions',
width: 'Width',
height: 'Height',
depth: 'Depth',
},
DepthCanvas: {
layer: 'Layer',

View File

@@ -299,6 +299,14 @@ export default {
loading: '加载中',
download: '下载',
captureView: '捕获视图',
propertiesInformation: '属性信息',
_3DAsset: '3D资产',
fileFormat: '文件格式glb',
transform: '变换',
dimensions: '尺寸',
width: '宽度',
height: '高度',
depth: '深度',
},
DepthCanvas: {
layer: '图层',