2
0

fix:登录框架修改

This commit is contained in:
zhongzm
2024-11-29 09:02:09 +08:00
parent 52699c74d2
commit a3a6aeb40e

View File

@@ -11,14 +11,14 @@ import ResetPwd from './modules/reset-pwd.vue';
import BindWechat from './modules/bind-wechat.vue'; import BindWechat from './modules/bind-wechat.vue';
import { WifiOutlined } from '@ant-design/icons-vue'; import { WifiOutlined } from '@ant-design/icons-vue';
import {useI18n} from "vue-i18n"; import {useI18n} from "vue-i18n";
//import { $t } from '@/locales';
interface Props { interface Props {
/** The login module */ /** The login module */
module?: UnionKey.LoginModule; module?: UnionKey.LoginModule;
} }
const props = defineProps<Props>(); const props = defineProps<Props>();
const { t } = useI18n(); const {t} = useI18n();
const themeStore = useThemeStore(); const themeStore = useThemeStore();
interface LoginModule { interface LoginModule {
@@ -55,11 +55,11 @@ const bgColor = computed(() => {
<ACard class="relative z-4"> <ACard class="relative z-4">
<div class="w-400px lt-sm:w-300px"> <div class="w-400px lt-sm:w-300px">
<header class="flex-y-center justify-between"> <header class="flex-y-center justify-between">
<WifiOutlined class="text-64px text-primary lt-sm:text-48px" /> <WifiOutlined class="text-64px text-primary lt-sm:text-48px" style="margin-left: 9px"/>
<h3 class="text-28px text-primary font-500 lt-sm:text-22px">{{ "WANFi" }}</h3> <h3 class="text-18px text-primary font-medium">{{ t(activeModule.label) }}</h3>
</header> </header>
<main > <main >
<h3 class="text-18px text-primary font-medium">{{ t('activeModule.label') }}</h3> <h3 class="text-28px text-primary font-500 lt-sm:text-22px">{{ "WANFi" }}</h3>
<div class="animation-slide-in-left "> <div class="animation-slide-in-left ">
<Transition :name="themeStore.page.animateMode" mode="out-in" appear> <Transition :name="themeStore.page.animateMode" mode="out-in" appear>
<component :is="activeModule.component" /> <component :is="activeModule.component" />