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",