style: Auth 视图硬编码蓝改国聘红
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e6d0b0bfc9
commit
355d8af37c
|
|
@ -62,7 +62,7 @@
|
||||||
登录
|
登录
|
||||||
</el-button>
|
</el-button>
|
||||||
<div style="text-align: right; margin-top: 8px;">
|
<div style="text-align: right; margin-top: 8px;">
|
||||||
<router-link to="/forgot-password" style="color: #909399; font-size: 12px; text-decoration: none;">
|
<router-link to="/forgot-password" style="color: var(--text-muted); font-size: 12px; text-decoration: none;">
|
||||||
忘记密码?
|
忘记密码?
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -152,7 +152,7 @@
|
||||||
|
|
||||||
<div style="margin-top: 12px; text-align: center; font-size: 12px;">
|
<div style="margin-top: 12px; text-align: center; font-size: 12px;">
|
||||||
<span v-if="role === 'seeker'">
|
<span v-if="role === 'seeker'">
|
||||||
没有账号?<router-link to="/register" style="color: #409eff; text-decoration: none;">立即注册</router-link>
|
没有账号?<router-link to="/register" style="color: var(--brand-red); text-decoration: none;">立即注册</router-link>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
@ -299,7 +299,7 @@ async function handleAdminLogin() {
|
||||||
ElMessage.success('登录成功')
|
ElMessage.success('登录成功')
|
||||||
const redirect = route.query.redirect
|
const redirect = route.query.redirect
|
||||||
if (redirect) return router.push(redirect)
|
if (redirect) return router.push(redirect)
|
||||||
router.push('/admin/jobs')
|
router.push('/admin/dashboard')
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
ElMessage.error(err.response?.data?.detail || '用户名或密码错误')
|
ElMessage.error(err.response?.data?.detail || '用户名或密码错误')
|
||||||
} finally {
|
} finally {
|
||||||
|
|
@ -354,7 +354,7 @@ h2 {
|
||||||
|
|
||||||
.role-tab.active {
|
.role-tab.active {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #409eff;
|
color: var(--brand-red);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||||
}
|
}
|
||||||
|
|
@ -386,7 +386,7 @@ h2 {
|
||||||
|
|
||||||
.method-tab.active {
|
.method-tab.active {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #409eff;
|
color: var(--brand-red);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div style="margin-top: 12px; text-align: center; font-size: 12px;">
|
<div style="margin-top: 12px; text-align: center; font-size: 12px;">
|
||||||
已有账号?<router-link to="/login" style="color: #409eff; text-decoration: none;">立即登录</router-link>
|
已有账号?<router-link to="/login" style="color: var(--brand-red); text-decoration: none;">立即登录</router-link>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div style="margin-top: 12px; text-align: center; font-size: 12px;">
|
<div style="margin-top: 12px; text-align: center; font-size: 12px;">
|
||||||
<router-link to="/login" style="color: #409eff; text-decoration: none;">返回登录</router-link>
|
<router-link to="/login" style="color: var(--brand-red); text-decoration: none;">返回登录</router-link>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue