生产管理系统前端 - 瓦力0.73原型图提交
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user