From d4cc54e761c9cc8ad770fd7d0a1de85e8e796ef8 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Tue, 2 Jul 2024 16:57:55 +0300 Subject: [PATCH] min height fix --- components/calcValues.vue | 4 ++-- components/modal.vue | 10 ++++++---- components/model/fence.vue | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/components/calcValues.vue b/components/calcValues.vue index fe81b6a..fbcb133 100644 --- a/components/calcValues.vue +++ b/components/calcValues.vue @@ -27,8 +27,8 @@ const parametric = reactive({ step: 0.5, }, height: { - min: 675, - max: 2500, + min: 20 + lamelle_height.value * 1000 * 5, + max: 20 + lamelle_height.value * 1000 * 20, step: lamelle_height.value * 1000, } }) diff --git a/components/modal.vue b/components/modal.vue index 85ea090..94eb129 100644 --- a/components/modal.vue +++ b/components/modal.vue @@ -27,8 +27,10 @@ const toggleModal = () => { type modalDataType = { phone?: string name?: string + email?: string } const modal_data = reactive({ + email: undefined, phone: undefined, name: undefined }) @@ -120,7 +122,7 @@ const total_txt = computed(() => { lam_quad_regular: discountValue * lamelles_block * lam_count * lamelle_height.value * length_m, lam_quad_extra: discountValue * lamelles_block * lam_count * lamelle_height.value * extra_m, } -console.log(prices) + // console.log(prices) const extra = { pillar: !remove_pillar.value && { txt: `Дополнительная секция, столб, 1 шт`, @@ -167,10 +169,10 @@ console.log(prices)

Оставьте контакты для связи

- - + {{ total_txt && total_txt.total[0] }}
diff --git a/components/model/fence.vue b/components/model/fence.vue index 638f691..8a13fce 100644 --- a/components/model/fence.vue +++ b/components/model/fence.vue @@ -13,7 +13,7 @@ const max_size = use_max_size() const lSize = lamelle_height.value const bSize = 0.0235 -const pillar_size = 80 * 0.001 +const pillar_size = 104 * 0.001 const pillar_one_pos = ref(fence_section.value * -0.5 - 0.015) const pillar_two_pos = ref(fence_section.value * 0.5 + pillar_size + bSize - 0.01)