D
Size: a a a
D
Ж
ИД
ИД
Ж
Ж
Ж
Ж
SV
Ж
Ж
Ж
TK
Ж
Ж
Ж
return h(
'div',
{
class: 'filters',
},
[
h('div', { class: 'filters__heading' }, [
'Фильтры',
h(BaseIcon, {
class: 'filters__close-icon',
props: {
viewBox: '0 0 14 14',
xlink: 'close-medium',
},
on: {
'click-action': () => this.$emit('close'),
},
}),
]),
h('div', { class: 'filters__wrapper' }, [
h('div', { class: 'filters__filter-wrapper' }, [
h('div', { class: 'filters__filter-cap' }, [
h('span', this.socials.label),
]),
h('div', { class: 'filters__filter-socials' }, [
this.socials.links.map((social, index) =>
h('div', { class: 'filters__socials-item', key: index }, [
h(SocialLink, {
props: {
to: social.link,
active: social.link === this.value,
icon: social.icon,
},
}),
])
),
]),
]),
this.filtersData.map((filter) =>
h(
'div',
{
key: filter.id,
class: 'filters__filter-wrapper',
},
[
h('div', { class: 'filters__filter-cap' }, [
h('span', [filter.label]),
filter.withReset &&
h(BaseReset, {
on: {
'click-action': () => this[filter.withReset](filter),
},
}),
]),
h(findFilterComponent(filter.component), {
props: {
value: filter.value,
options: filter.options,
},
on: {
input: (value) => {
filter.value = value
},
},
}),
]
)
),
]),
h('div', { class: 'filters__btn' }, [
h(
BaseBtn,
{
on: {
'click-action': this.applyFilters,
},
},
'Фильтровать'
),
]),
]
)
Ж
Ж
Ж
{Если знаете буду очень блогодарен за инфу)
methods: {
reset(){}
}
}
DS