dev #60
|
@ -238,7 +238,7 @@ const policy = () => {
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<h2>данные расчета</h2>
|
<h2>данные расчета</h2>
|
||||||
<div class="flex gap-4 flex-col mb-4 modal-content">
|
<div class="flex gap-4 flex-col mb-4 modal-content">
|
||||||
<p>Общая длина: {{ total_length }}<br />
|
<p>Общая длина: {{ total_length }} м<br />
|
||||||
Цвет столба: {{ getColorNameFromRal(pillar_color) }}<br />
|
Цвет столба: {{ getColorNameFromRal(pillar_color) }}<br />
|
||||||
Цвет ламелей: {{ getColorNameFromRal(lamelle_color) }}
|
Цвет ламелей: {{ getColorNameFromRal(lamelle_color) }}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -62,15 +62,17 @@ watch(props, () => {
|
||||||
}, { deep: true })
|
}, { deep: true })
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<TresGroup ref="model" :name="scene.children[0].name">
|
<template v-if="scene.children[0]">
|
||||||
<Suspense>
|
<TresGroup ref="model" :name="scene.children[0].name">
|
||||||
<primitive :object="scene.children[0]" :position="(props.position || [0, 0, 0])" />
|
<Suspense>
|
||||||
</Suspense>
|
<primitive :object="scene.children[0]" :position="(props.position || [0, 0, 0])" />
|
||||||
<Suspense v-if="false">
|
</Suspense>
|
||||||
<Text3D :text="scene.children[0].name"
|
<Suspense v-if="false">
|
||||||
font='https://raw.githubusercontent.com/Tresjs/assets/main/fonts/FiraCodeRegular.json'>
|
<Text3D :text="scene.children[0].name"
|
||||||
<TresMeshNormalMaterial color=red />
|
font='https://raw.githubusercontent.com/Tresjs/assets/main/fonts/FiraCodeRegular.json'>
|
||||||
</Text3D>
|
<TresMeshNormalMaterial color=red />
|
||||||
</Suspense>
|
</Text3D>
|
||||||
</TresGroup>
|
</Suspense>
|
||||||
|
</TresGroup>
|
||||||
|
</template>
|
||||||
</template>
|
</template>
|
Loading…
Reference in New Issue