|
|
@@ -13,7 +13,7 @@ import { ElMessage } from "element-plus";
|
|
|
import { useLayout } from "@/layout/hooks/useLayout";
|
|
|
import { useUserStoreHook } from "@/store/modules/user";
|
|
|
import { addPathMatch, getTopMenu, initRouter } from "@/router/utils";
|
|
|
-import { avatar, bg, illustration } from "./utils/static";
|
|
|
+import { avatar, bg, logo, illustration } from "./utils/static";
|
|
|
import { useRenderIcon } from "@/components/ReIcon/src/hooks";
|
|
|
import { useDataThemeChange } from "@/layout/hooks/useDataThemeChange";
|
|
|
|
|
|
@@ -231,7 +231,10 @@ onMounted(() => {
|
|
|
|
|
|
<template>
|
|
|
<div class="select-none">
|
|
|
- <img :src="bg" class="wave" />
|
|
|
+ <img :src="bg" class="wave" alt="" />
|
|
|
+ <div class="flex-c absolute left-5 top-3">
|
|
|
+ <img :src="logo" alt="" />
|
|
|
+ </div>
|
|
|
<div class="flex-c absolute right-5 top-3">
|
|
|
<!-- 主题 -->
|
|
|
<el-switch
|
|
|
@@ -243,12 +246,13 @@ onMounted(() => {
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="login-container">
|
|
|
- <div class="img">
|
|
|
+ <div />
|
|
|
+ <!-- <div class="img">
|
|
|
<component :is="toRaw(illustration)" />
|
|
|
- </div>
|
|
|
+ </div>-->
|
|
|
<div class="login-box">
|
|
|
<div class="login-form">
|
|
|
- <avatar class="avatar" />
|
|
|
+ <!-- <avatar class="avatar" />-->
|
|
|
<Motion>
|
|
|
<h2 class="outline-hidden">{{ title }}</h2>
|
|
|
</Motion>
|
|
|
@@ -290,6 +294,7 @@ onMounted(() => {
|
|
|
<el-input
|
|
|
v-model="ruleForm.code"
|
|
|
clearable
|
|
|
+ placeholder="安全验证"
|
|
|
:prefix-icon="
|
|
|
useRenderIcon(
|
|
|
MaterialSymbolsLightDomainVerificationRounded
|