Просмотр исходного кода

style(admin): remove technical login copy

彭峰 4 недель назад
Родитель
Сommit
810a96144a

+ 0 - 2
projects/xiaoshu-admin/src/app/pages/admin-login.component.html

@@ -5,7 +5,6 @@
       <p class="eyebrow">XIAOSHU PRACTICE</p>
       <h1>让每一次管理,<br />都服务于真实成长。</h1>
       <p class="story-copy">统一管理用户、陪练与代理关系、课程绑定、预约排课、上课记录和学习数据。所有业务操作均通过云函数执行,并遵循帐套隔离。</p>
-      <div class="security-note"><lucide-icon [img]="icons.ShieldCheck" [size]="21" /><span>Parse 会话认证 · 云函数权限校验 · 多租户数据隔离</span></div>
     </div>
   </section>
 
@@ -31,7 +30,6 @@
         @if (loading()) { <lucide-icon class="spin" [img]="icons.LoaderCircle" [size]="19" /> }
         {{ loading() ? '正在验证权限…' : '登录管理后台' }}
       </button>
-      <p class="help">旧系统迁移账号如被标记为“需重置密码”,须先完成 Parse 密码重置。</p>
     </form>
   </section>
 </main>

+ 0 - 2
projects/xiaoshu-admin/src/app/pages/admin-login.component.scss

@@ -10,7 +10,6 @@
 .eyebrow { margin: 72px 0 15px; color: #7ed8b5; font-size: 12px; font-weight: 800; letter-spacing: .22em; }
 h1 { margin: 0; font-size: clamp(38px, 4.3vw, 64px); line-height: 1.16; letter-spacing: -.035em; }
 .story-copy { max-width: 520px; margin: 28px 0; color: #c8d9e5; font-size: 16px; line-height: 1.9; }
-.security-note { display: flex; align-items: center; gap: 10px; margin-top: 50px; color: #b8d7cd; font-size: 13px; }
 .login-panel { display: grid; place-items: center; padding: 48px; }
 form { width: min(100%, 420px); }
 .mobile-brand { display: none; }
@@ -26,7 +25,6 @@ input { min-width: 0; flex: 1; border: 0; outline: 0; color: #172033; background
 .submit:disabled { opacity: .65; cursor: wait; }
 .error { margin: -4px 0 14px; color: #c23d45; font-size: 13px; }
 .notice { margin: -4px 0 14px; padding: 10px 12px; border-radius: 8px; color: #237454; background: #eaf7f1; font-size: 12px; line-height: 1.5; }
-.help { margin: 22px 0 0; color: #8b96a5; font-size: 12px; line-height: 1.7; text-align: center; }
 .spin { animation: spin .8s linear infinite; }
 @keyframes spin { to { transform: rotate(360deg); } }
 @media (max-width: 860px) {

+ 2 - 2
projects/xiaoshu-admin/src/app/pages/admin-login.component.ts

@@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common';
 import { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';
 import { FormsModule } from '@angular/forms';
 import { ActivatedRoute, Router } from '@angular/router';
-import { Eye, EyeOff, LoaderCircle, LockKeyhole, LucideAngularModule, ShieldCheck, UserRound } from 'lucide-angular';
+import { Eye, EyeOff, LoaderCircle, LockKeyhole, LucideAngularModule, UserRound } from 'lucide-angular';
 import { AdminSessionService } from '../admin-session.service';
 import { CloudFunctionsService } from '../cloud-functions.service';
 import { AdminIdentity } from '../admin.models';
@@ -22,7 +22,7 @@ export class AdminLoginComponent {
   readonly loading = signal(false);
   readonly error = signal('');
   readonly notice = signal('');
-  readonly icons = { Eye, EyeOff, LoaderCircle, LockKeyhole, ShieldCheck, UserRound };
+  readonly icons = { Eye, EyeOff, LoaderCircle, LockKeyhole, UserRound };
 
   private readonly sessions = inject(AdminSessionService);
   private readonly functions = inject(CloudFunctionsService);