|
|
|
@ -22,35 +22,35 @@ const title = computed(() => globSetting?.title ?? '')
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<div :class="prefixCls" class="relative w-full h-full px-4"> |
|
|
|
|
<div class="flex items-center absolute right-4 top-4"> |
|
|
|
|
<div :class="prefixCls" class="relative h-full w-full px-4"> |
|
|
|
|
<div class="absolute right-4 top-4 flex items-center"> |
|
|
|
|
<AppDarkModeToggle v-if="!sessionTimeout" class="enter-x mr-2" /> |
|
|
|
|
<AppLocalePicker v-if="!sessionTimeout && showLocale" class="text-white enter-x xl:text-gray-600" :show-text="false" /> |
|
|
|
|
<AppLocalePicker v-if="!sessionTimeout && showLocale" class="enter-x text-white xl:text-gray-600" :show-text="false" /> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<span class="-enter-x xl:hidden"> |
|
|
|
|
<AppLogo :always-show-title="true" /> |
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
<div class="container relative h-full py-2 mx-auto sm:px-10"> |
|
|
|
|
<div class="flex h-full"> |
|
|
|
|
<div class="hidden min-h-full pl-4 mr-4 xl:flex xl:flex-col xl:w-6/12"> |
|
|
|
|
<div class="relative mx-auto h-full py-2 container sm:px-10"> |
|
|
|
|
<div class="h-full flex"> |
|
|
|
|
<div class="mr-4 hidden min-h-full pl-4 xl:w-6/12 xl:flex xl:flex-col"> |
|
|
|
|
<AppLogo class="-enter-x" /> |
|
|
|
|
<div class="my-auto"> |
|
|
|
|
<img :alt="title" src="@/assets/svg/login-box-bg.svg" class="w-1/2 -mt-16 -enter-x"> |
|
|
|
|
<div class="mt-10 font-medium text-white -enter-x"> |
|
|
|
|
<span class="inline-block mt-4 text-3xl"> {{ t('sys.login.signInTitle') }}</span> |
|
|
|
|
<img :alt="title" src="@/assets/svg/login-box-bg.svg" class="-enter-x w-1/2 -mt-16"> |
|
|
|
|
<div class="-enter-x mt-10 font-medium text-white"> |
|
|
|
|
<span class="mt-4 inline-block text-3xl"> {{ t('sys.login.signInTitle') }}</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="mt-5 font-normal text-white dark:text-gray-500 -enter-x"> |
|
|
|
|
<div class="-enter-x mt-5 font-normal text-white dark:text-gray-500"> |
|
|
|
|
{{ t('sys.login.signInDesc') }} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="flex w-full h-full py-5 xl:h-auto xl:py-0 xl:my-0 xl:w-6/12"> |
|
|
|
|
<div class="h-full w-full flex py-5 xl:my-0 xl:h-auto xl:w-6/12 xl:py-0"> |
|
|
|
|
<!-- eslint-disable max-len --> |
|
|
|
|
<div |
|
|
|
|
:class="`${prefixCls}-form`" |
|
|
|
|
class="relative w-full px-5 py-8 mx-auto my-auto rounded-md shadow-md xl:ml-16 xl:bg-transparent sm:px-8 xl:p-4 xl:shadow-none sm:w-3/4 lg:w-2/4 xl:w-auto enter-x" |
|
|
|
|
class="enter-x relative mx-auto my-auto w-full rounded-md px-5 py-8 shadow-md xl:ml-16 lg:w-2/4 sm:w-3/4 xl:w-auto xl:bg-transparent xl:p-4 sm:px-8 xl:shadow-none" |
|
|
|
|
> |
|
|
|
|
<SSOForm /> |
|
|
|
|
</div> |
|
|
|
|