From 0439e38306ed3ef9f2206e2b7d765a7ee6935f88 Mon Sep 17 00:00:00 2001 From: megavrilinvv Date: Tue, 1 Nov 2022 15:33:27 +0300 Subject: [PATCH] =?UTF-8?q?[WIP]=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B8=D0=BD=D0=BF=D1=83=D1=82=D1=8B,=20=D0=BA=D0=BD?= =?UTF-8?q?=D0=BE=D0=BF=D0=BA=D1=83=20=D0=B8=20=D1=87=D0=B5=D0=BA=D0=B1?= =?UTF-8?q?=D0=BE=D0=BA=D1=81=20=D0=BD=D0=B0=20LoginPage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/eye.svg | 3 +++ src/assets/icons/openEye.svg | 4 ++++ src/pages/login/TheLogin.vue | 41 +++++++++++++++++++++++++++++++----- tailwind.config.js | 1 + 4 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 src/assets/icons/eye.svg create mode 100644 src/assets/icons/openEye.svg diff --git a/src/assets/icons/eye.svg b/src/assets/icons/eye.svg new file mode 100644 index 0000000..b70023e --- /dev/null +++ b/src/assets/icons/eye.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/openEye.svg b/src/assets/icons/openEye.svg new file mode 100644 index 0000000..9a6e20e --- /dev/null +++ b/src/assets/icons/openEye.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/pages/login/TheLogin.vue b/src/pages/login/TheLogin.vue index 4c0afd0..8fca138 100644 --- a/src/pages/login/TheLogin.vue +++ b/src/pages/login/TheLogin.vue @@ -11,14 +11,15 @@ .flex.flex-col.gap-y-5 .flex.flex-col.gap-y-6px .flex Логин - base-input(placeholder="Введите ваш логин") - .flex.flex-col.gap-y-6px + base-input.h-12(v-model:value="user.login" type="text" placeholder="Введите ваш логин") + .flex.flex-col.gap-y-6px.relative .flex Пароль - base-input(type="password" placeholder="Введите ваш пароль") + base-input.h-12(v-model:value="user.password" :type="changeType" placeholder="Введите ваш пароль") + img.absolute.z-10.right-4.bottom-14px.cursor-pointer(:src="changeIcon" alt="eyePassword" @click="changeView") .flex.items-center.gap-x-11px - input.w-4.h-4.checkbox.cursor-pointer(type="checkbox" @change="(e) => check(e)") + input.w-4.h-4.checkbox.cursor-pointer(@click="persist" type="checkbox") .flex Запомнить меня - base-button.font-semibold(:size="48") Войти в аккаунт + base-button.font-semibold(:disabled="disabledButton" :size="48") Войти в аккаунт .absolute.left-12.bottom-12 2022 © Астра .right-col.flex.items-center.justify-center.relative img.logo-img.absolute.z-10(src="@/assets/images/bigLogo.svg" alt="bigLogo") @@ -30,14 +31,44 @@ diff --git a/tailwind.config.js b/tailwind.config.js index 236fe3e..ab42283 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -33,6 +33,7 @@ module.exports = { "6px": "6px", "10px": "10px", "13px": "13px", + "14px": "14px", "15px": "15px", "19px": "19px", "23px": "23px",