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> </script>
<template> <template>
<div class="modalDetail"> <div class="modalDetail">
<div class="title"> <div class="title">{{ $t('threeModel.propertiesInformation') }}</div>
Properties Information
</div>
<div class="detail"> <div class="detail">
<div class="name"> <div class="name">
<div class="title fs18"> <div class="title fs18">{{ $t('threeModel._3DAsset') }}</div>
3D Asset <div class="fs14 c66">{{ $t('threeModel.fileFormat') }}</div>
</div>
<div class="fs14 c66">
File Format:glb.
</div>
</div>
<div class="fs14 c18">
Transform
</div> </div>
<div class="fs14 c18">{{ $t('threeModel.transform') }}</div>
<div class="flex"> <div class="flex">
<div> <div>
<div class="fs14 c18">X</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 class="fs12 c66">{{ config?.glbInfoObj?.centroid?.[2].toFixed(2) || 0 }}</div>
</div> </div>
</div> </div>
<div class="fs14 c18"> <div class="fs14 c18">{{ $t('threeModel.dimensions') }}</div>
Dimensions
</div>
<div class="flex"> <div class="flex">
<div> <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 class="fs12 c66">{{ config?.glbInfoObj?.size?.[0].toFixed(2) || 0 }}</div>
</div> </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 class="fs12 c66">{{ config?.glbInfoObj?.size?.[1].toFixed(2) || 0 }}</div>
</div> </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 class="fs12 c66">{{ config?.glbInfoObj?.size?.[2].toFixed(2) || 0 }}</div>
</div> </div>
</div> </div>

View File

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

View File

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