fix: 未授权页面增加两种进入方式说明
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
kkfluous
2026-04-02 18:19:18 +08:00
parent 39f89c30a2
commit e7efe179b7

View File

@@ -1,4 +1,4 @@
import { ShieldX } from 'lucide-react'; import { ShieldX, Monitor, Smartphone } from 'lucide-react';
export default function UnauthorizedPage({ message }: { message?: string }) { export default function UnauthorizedPage({ message }: { message?: string }) {
return ( return (
@@ -8,12 +8,29 @@ export default function UnauthorizedPage({ message }: { message?: string }) {
<ShieldX size={36} className="text-slate-400" /> <ShieldX size={36} className="text-slate-400" />
</div> </div>
<h1 className="text-lg font-black text-slate-800 mb-2">访</h1> <h1 className="text-lg font-black text-slate-800 mb-2">访</h1>
<p className="text-xs text-slate-400 mb-1"> <p className="text-xs text-slate-400 mb-4">
{message || '获取用户认证信息失败,可能是跳转令牌已过期或无效'} {message || '获取用户认证信息失败,可能是跳转令牌已过期或无效'}
</p> </p>
<p className="text-xs text-slate-300">
<div className="bg-white rounded-2xl border border-slate-100 p-4 text-left space-y-3">
</p> <p className="text-[10px] font-bold text-slate-400 uppercase tracking-wider text-center"></p>
<div className="flex items-start gap-3 p-2.5 rounded-xl bg-slate-50">
<Monitor size={16} className="text-blue-500 flex-shrink-0 mt-0.5" />
<div>
<p className="text-xs font-bold text-slate-700">PC端</p>
<p className="text-[10px] text-slate-400 mt-0.5">BI BI</p>
</div>
</div>
<div className="flex items-start gap-3 p-2.5 rounded-xl bg-slate-50">
<Smartphone size={16} className="text-green-500 flex-shrink-0 mt-0.5" />
<div>
<p className="text-xs font-bold text-slate-700"></p>
<p className="text-[10px] text-slate-400 mt-0.5">BI BI</p>
</div>
</div>
</div>
</div> </div>
</div> </div>
); );