WIP Исправлены найденные baseInputs

This commit is contained in:
Daria Golova
2022-12-29 15:21:21 +03:00
parent c664f11bfb
commit e138bedfac
31 changed files with 200 additions and 228 deletions

View File

@@ -1,19 +1,17 @@
<template lang="pug">
.flex.box-border.px-4.items-center.gap-x-3.w-full.text-sm(
:style="{ minWidth : width + 'px', maxWidth : width + 'px' }",
:style="{ width : width + 'px'}",
)
base-avatar(:size="36", :color="avatarColor", v-if="!photo") {{avatar}}
base-avatar(:size="36", v-else)
img.h-full.object-cover(:src="url + photo")
span.font-semibold(v-if="!isOpenChange") {{value.fullName}}
base-input(
v-if="isOpenChange",
@click.stop,
type="text",
v-model:value="value.fullName",
:width-input="300",
placeholder="Фамилия Имя Отчество"
)
.name(v-if="isOpenChange")
base-input(
@click.stop,
v-model="value.fullName",
placeholder="Фамилия Имя Отчество"
)
</template>
<script>
@@ -41,4 +39,6 @@ export default {
border-radius: 50%
background-color: var(--font-grey-color)
color: var(--font-dark-blue-color)
.name
width: 300px
</style>