WIP Исправлены найденные baseInputs
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
<template lang="pug">
|
||||
.flex.box-border.px-4.items-center.w-full.text-sm(:style="{ minWidth : width + 'px', maxWidth : width + 'px' }")
|
||||
.flex.box-border.px-4.items-center.w-full.text-sm(:style="{ width : width + 'px' }")
|
||||
span.text-sm(
|
||||
v-if="!isOpenChange"
|
||||
) {{value.phone.username.replace(/\+7(\d{3})(\d{3})(\d{2})(\d{2})/, '+7 ($1) $2-$3-$4')}}
|
||||
base-input(
|
||||
v-if="isOpenChange",
|
||||
@click.stop,
|
||||
:width-input="154",
|
||||
v-model:value="value.phone.username",
|
||||
:placeholder="value.phone.username",
|
||||
v-mask="'+7 (###) ###-##-##'"
|
||||
)
|
||||
.phone(v-if="isOpenChange")
|
||||
base-input(
|
||||
@click.stop,
|
||||
v-model="value.phone.username",
|
||||
:placeholder="value.phone.username",
|
||||
v-mask="'+7 (###) ###-##-##'"
|
||||
)
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -27,3 +26,8 @@ export default {
|
||||
directives: { mask },
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="sass" scoped>
|
||||
.phone
|
||||
width: 158px
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user