生产管理系统前端 - 瓦力0.73原型图提交

This commit is contained in:
2025-10-28 19:51:17 +08:00
parent 58f5ca7f22
commit e3829d2fcc
154 changed files with 24913 additions and 9377 deletions

View File

@@ -182,7 +182,7 @@ export function Login({ onRegisterClick }: LoginProps) {
{/* Logo和标题 */}
<div className="text-center mb-8">
<div className="inline-flex items-center justify-center w-16 h-16 bg-white/90 backdrop-blur-sm rounded-2xl mb-4 shadow-lg">
<Shield className="w-8 h-8 text-green-600" />
<Shield className="w-8 h-8 text-success" />
</div>
<h1 className="text-white mb-2 drop-shadow-lg"></h1>
<p className="text-sm text-white/90 drop-shadow-md"></p>
@@ -202,9 +202,9 @@ export function Login({ onRegisterClick }: LoginProps) {
</TabsList>
{error && (
<Alert className="mb-4 bg-red-50 border-red-200">
<AlertCircle className="w-4 h-4 text-red-600" />
<AlertDescription className="text-red-700">{error}</AlertDescription>
<Alert className="mb-4 bg-error-muted border-error">
<AlertCircle className="w-4 h-4 text-error" />
<AlertDescription className="text-error-muted-foreground">{error}</AlertDescription>
</Alert>
)}
@@ -257,7 +257,7 @@ export function Login({ onRegisterClick }: LoginProps) {
/>
</div>
<Button type="submit" className="w-full bg-green-600 hover:bg-green-700" disabled={loading}>
<Button type="submit" className="w-full bg-success hover:bg-success/90" disabled={loading}>
{loading ? (
<>
<Loader2 className="w-4 h-4 mr-2 animate-spin" />
@@ -340,7 +340,7 @@ export function Login({ onRegisterClick }: LoginProps) {
/>
</div>
<Button type="submit" className="w-full bg-green-600 hover:bg-green-700" disabled={loading}>
<Button type="submit" className="w-full bg-success hover:bg-success/90" disabled={loading}>
{loading ? (
<>
<Loader2 className="w-4 h-4 mr-2 animate-spin" />
@@ -369,7 +369,7 @@ export function Login({ onRegisterClick }: LoginProps) {
{' '}
<button
onClick={onRegisterClick}
className="text-green-600 hover:text-green-700 hover:underline"
className="text-success hover:text-success/90 hover:underline"
>
</button>
@@ -377,10 +377,10 @@ export function Login({ onRegisterClick }: LoginProps) {
</div>
{/* 安全提示 */}
<div className="mt-4 p-3 bg-blue-50 rounded-lg">
<div className="mt-4 p-3 bg-info-muted rounded-lg">
<div className="flex items-start gap-2">
<Shield className="w-4 h-4 text-blue-600 flex-shrink-0 mt-0.5" />
<div className="text-xs text-blue-900">
<Shield className="w-4 h-4 text-info flex-shrink-0 mt-0.5" />
<div className="text-xs text-info-muted-foreground">
<p className="mb-1"></p>
<ul className="space-y-0.5">
<li> </li>