[WIP] Заменил инпуты с датой на baseInput, исправил стили, фикс станицы логина

This commit is contained in:
megavrilinvv
2023-01-17 16:01:41 +03:00
parent e667365f2d
commit 9d2dfbffa3
20 changed files with 86 additions and 107 deletions

View File

@@ -3,24 +3,25 @@
.flex.flex-col.gap-y-6.px-4
span.title-info.text-base.font-bold Паспортные данные
.grid.grid-cols-2.gap-x-4.gap-y-6
base-input.input-info(
base-input(
mask="#### ######",
v-model="identityDocument.pass.series_number",
placeholder="0000 000000",
label="Серия и номер"
)
base-input.input-info(
base-input(
v-model="identityDocument.pass.issued_by_org",
placeholder="Точно как в паспорте",
label="Кем выдан"
)
base-input.input-info(
base-input(
mask="###-###",
v-model="identityDocument.pass.issued_by_org_code",
placeholder="000000",
label="Код подразделения"
)
base-input-date.input-info.h-10(
base-input(
type="date"
v-model="identityDocument.pass.issued_by_date",
placeholder="Дата",
label="Дата выдачи"
@@ -28,7 +29,7 @@
.flex.flex-col.gap-y-6.px-4
span.title-info.text-base.font-bold СНИЛС и ИНН
.grid.grid-cols-2.gap-x-4.gap-y-6
base-input.input-info(
base-input(
disabled,
filled,
mask="###-###-### ##",
@@ -36,7 +37,7 @@
placeholder="000000000 00",
label="Номер СНИЛС"
)
base-input.input-info(
base-input(
disabled,
filled,
mask="############",
@@ -52,11 +53,10 @@
<script>
import BaseButton from "@/components/base/BaseButton";
import BaseInput from "@/components/base/BaseInput";
import BaseInputDate from "@/components/base/BaseInputDate";
export default {
name: "FormCreateIdentityDocuments",
components: { BaseInput, BaseInputDate, BaseButton },
components: { BaseInput, BaseButton },
props: {
identityDocument: Object,
saveClient: Function,
@@ -78,10 +78,10 @@ export default {
&::-webkit-scrollbar-thumb
border-radius: 8px
background-color: var(--btn-blue-color)
.input-info
color: var(--font-dark-blue-color)
.title-info
color: var(--font-dark-blue-color)
.input-date
border: 1.5px solid var(--border-light-grey-color)
</style>