WIP Исправлены inputs в SectionAddress
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<template lang="pug">
|
||||
.flex.flex-col.gap-y-2
|
||||
.label.font-semibold.text-sm.opacity-40(v-if="label") {{ label }}
|
||||
.font-semibold.text-sm.opacity-40(
|
||||
v-if="label",
|
||||
:class="labelClass"
|
||||
) {{ label }}
|
||||
.base-select.flex.justify-between.items-center.py-9px.px-4.gap-4.cursor-pointer.relative(
|
||||
ref="select",
|
||||
@click="open = !open",
|
||||
@@ -46,6 +49,7 @@ export default {
|
||||
center: Boolean,
|
||||
label: String,
|
||||
textStyle: String,
|
||||
labelStyle: String,
|
||||
},
|
||||
emits: ["update:modelValue"],
|
||||
data() {
|
||||
@@ -71,6 +75,15 @@ export default {
|
||||
"text-base": true,
|
||||
};
|
||||
},
|
||||
labelClass() {
|
||||
return this.labelStyle
|
||||
? {
|
||||
[this.labelStyle]: true,
|
||||
}
|
||||
: {
|
||||
"text-sm": true,
|
||||
};
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
clickItem(id, label) {
|
||||
|
||||
Reference in New Issue
Block a user