add: new price card
Added new price card design, wip
This commit is contained in:
parent
9d686e2af2
commit
7aa21c1c19
7 changed files with 194 additions and 139 deletions
|
@ -3,7 +3,7 @@
|
|||
<input
|
||||
v-model="text"
|
||||
:type="type"
|
||||
:id="makeId()"
|
||||
:id="id"
|
||||
:step="step"
|
||||
:min="min"
|
||||
:max="max"
|
||||
|
@ -11,7 +11,7 @@
|
|||
placeholder=" "
|
||||
@blur="emit('blur')"
|
||||
/>
|
||||
<label :for="makeId()">{{ label }}</label>
|
||||
<label :for="id">{{ label }}</label>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -24,7 +24,6 @@ type Props = {
|
|||
required ?: boolean
|
||||
label : string
|
||||
id : string
|
||||
uid : string
|
||||
}
|
||||
|
||||
const {
|
||||
|
@ -35,12 +34,9 @@ const {
|
|||
max,
|
||||
label,
|
||||
id,
|
||||
uid,
|
||||
} = defineProps<Props>()
|
||||
|
||||
const emit = defineEmits(['blur'])
|
||||
|
||||
const text = defineModel()
|
||||
|
||||
const makeId = () => `${id}_${uid}`
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue