remove pillar
This commit is contained in:
parent
c48decce3b
commit
6818f29a6f
|
@ -4,7 +4,7 @@ import type { ralTypes } from '@/components/ral'
|
||||||
|
|
||||||
const lamelles_count = useState('lamelles_count', () => 8)
|
const lamelles_count = useState('lamelles_count', () => 8)
|
||||||
const fence_section = useState<number>('fence_section', () => 2000 * 0.001)
|
const fence_section = useState<number>('fence_section', () => 2000 * 0.001)
|
||||||
const remove_pillar = useState<boolean>('pillar_color', () => false)
|
const remove_pillar = useState<boolean>('remove_pillar', () => false)
|
||||||
const pillar_color = useState<ralTypes>('pillar_color', () => '3009')
|
const pillar_color = useState<ralTypes>('pillar_color', () => '3009')
|
||||||
const lamelle_color = useState<ralTypes>('lamelle_color', () => '3004')
|
const lamelle_color = useState<ralTypes>('lamelle_color', () => '3004')
|
||||||
const section_count = useState('section_count', () => 1)
|
const section_count = useState('section_count', () => 1)
|
||||||
|
@ -191,21 +191,21 @@ const plurals = {
|
||||||
Забор общей длиной {{ form_state.total_length }}{{ '\xa0' }}м,
|
Забор общей длиной {{ form_state.total_length }}{{ '\xa0' }}м,
|
||||||
{{ section_count }}
|
{{ section_count }}
|
||||||
<Plural :n="section_count" :forms="plurals.section" /> по
|
<Plural :n="section_count" :forms="plurals.section" /> по
|
||||||
{{ form_state.length }}{{ '\xa0' }}мм<span class="contents" v-if="form_state.extra_section">
|
{{ form_state.length }}{{ '\xa0' }}мм<template v-if="form_state.extra_section">
|
||||||
и 1 дополнительная секция длиной {{ form_state.extra_section }}{{ '\xa0' }}мм</span>.
|
и 1 дополнительная секция длиной {{ form_state.extra_section }}{{ '\xa0' }}мм</template>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Всего {{ section_count + ~~(!!form_state.extra_section) + 1 }}
|
Всего <template v-if="!form_state.remove_pillar">
|
||||||
<Plural :forms="plurals.fence" :n="section_count + ~~(!!form_state.extra_section) + 1" />,
|
{{ section_count + ~~(!!form_state.extra_section) + 1 }}
|
||||||
|
<Plural :forms="plurals.fence" :n="section_count + ~~(!!form_state.extra_section) + 1" />,
|
||||||
|
</template>
|
||||||
{{ section_count * lamelles_count }}
|
{{ section_count * lamelles_count }}
|
||||||
<Plural :n="section_count * lamelles_count" :forms="plurals.lamelle" />
|
<Plural :n="section_count * lamelles_count" :forms="plurals.lamelle" />
|
||||||
длиной {{ form_state.length }}{{ '\xa0' }}мм
|
{{ `длиной ${form_state.length}\xa0мм` }}<template v-if="form_state.extra_section">и
|
||||||
<span class="contents" v-if="form_state.extra_section">
|
{{ ~~(!!form_state.extra_section) * lamelles_count }}
|
||||||
и {{ ~~(!!form_state.extra_section) * lamelles_count }}
|
|
||||||
<Plural :n="~~(!!form_state.extra_section) * lamelles_count" :forms="plurals.lamelle" />
|
<Plural :n="~~(!!form_state.extra_section) * lamelles_count" :forms="plurals.lamelle" />
|
||||||
длиной {{
|
{{ `длиной ${form_state.extra_section}\xa0мм` }}
|
||||||
form_state.extra_section }}{{ '\xa0' }}мм
|
</template>.
|
||||||
</span>.
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Все элементы окрашиваются порошковым методом: <br />
|
Все элементы окрашиваются порошковым методом: <br />
|
||||||
|
|
Loading…
Reference in New Issue