mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
Merge branch 'main' into pages
This commit is contained in:
@@ -28,10 +28,11 @@ import { useDataThemeChange } from "@/layout/hooks/useDataThemeChange";
|
||||
import dayIcon from "@/assets/svg/day.svg?component";
|
||||
import darkIcon from "@/assets/svg/dark.svg?component";
|
||||
import globalization from "@/assets/svg/globalization.svg?component";
|
||||
import Lock from "@iconify-icons/ri/lock-fill";
|
||||
import Check from "@iconify-icons/ep/check";
|
||||
import User from "@iconify-icons/ri/user-3-fill";
|
||||
import Info from "@iconify-icons/ri/information-line";
|
||||
import Lock from "~icons/ri/lock-fill";
|
||||
import Check from "~icons/ep/check";
|
||||
import User from "~icons/ri/user-3-fill";
|
||||
import Info from "~icons/ri/information-line";
|
||||
import Keyhole from "~icons/ri/shield-keyhole-line";
|
||||
|
||||
defineOptions({
|
||||
name: "Login"
|
||||
@@ -134,13 +135,13 @@ watch(loginDay, value => {
|
||||
<!-- 国际化 -->
|
||||
<el-dropdown trigger="click">
|
||||
<globalization
|
||||
class="hover:text-primary hover:!bg-[transparent] w-[20px] h-[20px] ml-1.5 cursor-pointer outline-none duration-300"
|
||||
class="hover:text-primary hover:bg-[transparent]! w-[20px] h-[20px] ml-1.5 cursor-pointer outline-hidden duration-300"
|
||||
/>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu class="translation">
|
||||
<el-dropdown-item
|
||||
:style="getDropdownItemStyle(locale, 'zh')"
|
||||
:class="['dark:!text-white', getDropdownItemClass(locale, 'zh')]"
|
||||
:class="['dark:text-white!', getDropdownItemClass(locale, 'zh')]"
|
||||
@click="translationCh"
|
||||
>
|
||||
<IconifyIconOffline
|
||||
@@ -152,7 +153,7 @@ watch(loginDay, value => {
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
:style="getDropdownItemStyle(locale, 'en')"
|
||||
:class="['dark:!text-white', getDropdownItemClass(locale, 'en')]"
|
||||
:class="['dark:text-white!', getDropdownItemClass(locale, 'en')]"
|
||||
@click="translationEn"
|
||||
>
|
||||
<span v-show="locale === 'en'" class="check-en">
|
||||
@@ -172,7 +173,7 @@ watch(loginDay, value => {
|
||||
<div class="login-form">
|
||||
<avatar class="avatar" />
|
||||
<Motion>
|
||||
<h2 class="outline-none">
|
||||
<h2 class="outline-hidden">
|
||||
<TypeIt
|
||||
:options="{ strings: [title], cursor: false, speed: 100 }"
|
||||
/>
|
||||
@@ -224,7 +225,7 @@ watch(loginDay, value => {
|
||||
v-model="ruleForm.verifyCode"
|
||||
clearable
|
||||
:placeholder="t('login.pureVerifyCode')"
|
||||
:prefix-icon="useRenderIcon('ri:shield-keyhole-line')"
|
||||
:prefix-icon="useRenderIcon(Keyhole)"
|
||||
>
|
||||
<template v-slot:append>
|
||||
<ReImageVerify v-model:code="imgCode" />
|
||||
@@ -244,7 +245,8 @@ watch(loginDay, value => {
|
||||
width: loginDay < 10 ? '10px' : '16px',
|
||||
outline: 'none',
|
||||
background: 'none',
|
||||
appearance: 'none'
|
||||
appearance: 'none',
|
||||
border: 'none'
|
||||
}"
|
||||
>
|
||||
<option value="1">1</option>
|
||||
@@ -271,7 +273,7 @@ watch(loginDay, value => {
|
||||
</el-button>
|
||||
</div>
|
||||
<el-button
|
||||
class="w-full mt-4"
|
||||
class="w-full mt-4!"
|
||||
size="default"
|
||||
type="primary"
|
||||
:loading="loading"
|
||||
@@ -289,7 +291,7 @@ watch(loginDay, value => {
|
||||
<el-button
|
||||
v-for="(item, index) in operates"
|
||||
:key="index"
|
||||
class="w-full mt-4"
|
||||
class="w-full mt-4!"
|
||||
size="default"
|
||||
@click="useUserStoreHook().SET_CURRENTPAGE(index + 1)"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user