|
|
@@ -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";
|
|
|
|
|
|
@@ -230,7 +230,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
|
|
|
@@ -242,14 +245,19 @@ onMounted(() => {
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="login-container">
|
|
|
- <div class="img">
|
|
|
+ <div class="img" />
|
|
|
+ <!-- <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>
|
|
|
+ <h2 class="outline-hidden">惠融|{{ title }}</h2>
|
|
|
+ </Motion>
|
|
|
+
|
|
|
+ <Motion :delay="50">
|
|
|
+ <h4 class="outline-hidden">账号密码登录</h4>
|
|
|
</Motion>
|
|
|
|
|
|
<el-form
|
|
|
@@ -289,6 +297,7 @@ onMounted(() => {
|
|
|
<el-input
|
|
|
v-model="ruleForm.code"
|
|
|
clearable
|
|
|
+ placeholder="安全验证"
|
|
|
:prefix-icon="
|
|
|
useRenderIcon(
|
|
|
MaterialSymbolsLightDomainVerificationRounded
|