调整密码
This commit is contained in:
parent
249e73d252
commit
483740f10b
@ -17,31 +17,16 @@
|
||||
|
||||
<!-- 开发环境快捷切换 -->
|
||||
<div v-if="isDev" class="tenant-tabs">
|
||||
<div
|
||||
v-for="tab in tenantTabs"
|
||||
:key="tab.code"
|
||||
:class="['tenant-tab', { active: activeTab === tab.code }]"
|
||||
@click="switchTab(tab.code)"
|
||||
>
|
||||
<div v-for="tab in tenantTabs" :key="tab.code" :class="['tenant-tab', { active: activeTab === tab.code }]"
|
||||
@click="switchTab(tab.code)">
|
||||
<component :is="tab.icon" />
|
||||
<span>{{ tab.name }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a-form
|
||||
:model="form"
|
||||
:rules="rules"
|
||||
@finish="handleSubmit"
|
||||
class="login-form"
|
||||
layout="vertical"
|
||||
>
|
||||
<a-form :model="form" :rules="rules" @finish="handleSubmit" class="login-form" layout="vertical">
|
||||
<a-form-item name="username" label="用户名">
|
||||
<a-input
|
||||
v-model:value="form.username"
|
||||
size="large"
|
||||
placeholder="请输入用户名"
|
||||
class="custom-input"
|
||||
>
|
||||
<a-input v-model:value="form.username" size="large" placeholder="请输入用户名" class="custom-input">
|
||||
<template #prefix>
|
||||
<UserOutlined class="input-icon" />
|
||||
</template>
|
||||
@ -49,12 +34,7 @@
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item name="password" label="密码">
|
||||
<a-input-password
|
||||
v-model:value="form.password"
|
||||
size="large"
|
||||
placeholder="请输入密码"
|
||||
class="custom-input"
|
||||
>
|
||||
<a-input-password v-model:value="form.password" size="large" placeholder="请输入密码" class="custom-input">
|
||||
<template #prefix>
|
||||
<LockOutlined class="input-icon" />
|
||||
</template>
|
||||
@ -66,14 +46,7 @@
|
||||
</div>
|
||||
|
||||
<a-form-item>
|
||||
<a-button
|
||||
type="primary"
|
||||
html-type="submit"
|
||||
size="large"
|
||||
:loading="loading"
|
||||
block
|
||||
class="login-btn"
|
||||
>
|
||||
<a-button type="primary" html-type="submit" size="large" :loading="loading" block class="login-btn">
|
||||
登录
|
||||
</a-button>
|
||||
</a-form-item>
|
||||
@ -118,9 +91,9 @@ const isDev = import.meta.env.DEV
|
||||
|
||||
// 开发环境快捷切换 — 按新架构设计
|
||||
const tenantTabs = [
|
||||
{ code: "super", name: "平台超管", icon: SafetyOutlined, username: "admin", password: "admin@super" },
|
||||
{ code: "super", name: "平台超管", icon: SafetyOutlined, username: "admin", password: "admin123" },
|
||||
{ code: "gdlib", name: "广东省图", icon: BankOutlined, username: "admin", password: "admin123" },
|
||||
{ code: "judge", name: "评委端", icon: TrophyOutlined, username: "admin", password: "admin@judge" },
|
||||
{ code: "judge", name: "评委端", icon: TrophyOutlined, username: "admin", password: "admin123" },
|
||||
]
|
||||
|
||||
const activeTab = ref("")
|
||||
@ -302,15 +275,20 @@ $teal: #14b8a6;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%, 100% {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
transform: translate(0, 0) scale(1);
|
||||
}
|
||||
|
||||
25% {
|
||||
transform: translate(25px, -25px) scale(1.04);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: translate(-15px, 15px) scale(0.96);
|
||||
}
|
||||
|
||||
75% {
|
||||
transform: translate(-25px, -15px) scale(1.02);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user