bx-935-calc #1

Merged
ksenia_mikhailova merged 15 commits from bx-935-calc into main 2024-07-03 14:57:08 +03:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit 08a0691a23 - Show all commits

View File

@ -104,7 +104,6 @@ watch([section_count, extra_section], () => {
<ModelParametric />
</Suspense>
</TresGroup>
<TresMesh receive-shadow :position-y="-3.65" name="ground">
<TresCircleGeometry :args="[50, 32]" :rotate-x="-Math.PI * 0.5" />
<TresShadowMaterial :opacity="0.2" />

View File

@ -19,6 +19,7 @@ const total_length = useState('total_length')
const remove_pillar = useState<boolean>('remove_pillar')
const toggleModal = () => {
modal_data.email = undefined
modal_data.phone = undefined
modal_data.name = undefined
modal_state.show_form = false
@ -74,6 +75,7 @@ const submit = (e: any) => {
body: JSON.stringify({
name: modal_data.name || `ref from site ${new Date}`,
phone: modal_data.phone,
email: modal_data.email,
fence_info: [
...Object.values(total_txt.value).map(el => el.join('\n')),
total_colors.value.join('\n')
@ -82,7 +84,7 @@ const submit = (e: any) => {
})
modal_data.phone = undefined
modal_data.name = undefined
isModalOpen.value = false
toggleModal()
}
const roubleSign = new Intl.NumberFormat('ru-RU', {
style: 'currency',