From 31b5d6cea1cc0a89391debbb1a87f54972ccfb78 Mon Sep 17 00:00:00 2001 From: Cloud Zhang <941187371@qq.com> Date: 星期四, 16 五月 2024 14:22:33 +0800 Subject: [PATCH] 工单料站表 --- src/views/sys/login/Login.vue | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/sys/login/Login.vue b/src/views/sys/login/Login.vue index dd11c68..ca6e832 100644 --- a/src/views/sys/login/Login.vue +++ b/src/views/sys/login/Login.vue @@ -14,7 +14,7 @@ <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"> - <AppLogo class="-enter-x"/> + <AppLogo class="-enter-x" /> <div class="my-auto"> <!-- <img :alt="title" @@ -46,9 +46,8 @@ </div> </template> <script lang="ts" setup> - import { computed } from 'vue'; - import { AppLogo } from '/@/components/Application'; - import { AppLocalePicker } from '/@/components/Application'; + import { computed, getCurrentInstance } from 'vue'; + import { AppLogo, AppLocalePicker } from '/@/components/Application'; import LoginForm from './LoginForm.vue'; import ForgetPasswordForm from './ForgetPasswordForm.vue'; import { useGlobSetting } from '/@/hooks/setting'; @@ -61,13 +60,14 @@ type: Boolean, }, }); - + const { appContext } = getCurrentInstance(); const globSetting = useGlobSetting(); const { prefixCls } = useDesign('login'); const { t } = useI18n(); const localeStore = useLocaleStore(); const showLocale = localeStore.getShowPicker; const title = computed(() => globSetting?.title ?? ''); + const name = appContext.config.globalProperties.name; </script> <style lang="less"> @prefix-cls: ~'@{namespace}-login'; @@ -141,7 +141,7 @@ .@{logo-prefix-cls} { position: absolute; // top: 12px; - top:69px; + top: 69px; height: 30px; &__title { @@ -165,12 +165,12 @@ &__title { // font-size: 24px; // color: #fff; - color:red; + color: red; text-shadow: 1px 1px 1px #fff; } img { - width:280px; //48px; + width: 280px; //48px; } } } -- Gitblit v1.9.3