sync: soul-admin 组件 | 原因: 前端组件修改

This commit is contained in:
卡若
2026-03-08 08:58:42 +08:00
parent 7057b3485f
commit 5835fd9a32

View File

@@ -761,33 +761,57 @@ export function UserDetailModal({
</div>
</TabsContent>
{/* ===== 神射手 ===== */}
{/* ===== 用户资料完善 ===== */}
<TabsContent value="shensheshou" className="flex-1 overflow-auto space-y-4">
<div className="p-4 bg-[#0a1628] rounded-lg">
<div className="flex items-center gap-2 mb-3">
<Zap className="w-5 h-5 text-[#38bdac]" />
<span className="text-white font-medium"></span>
<span className="text-gray-500 text-xs"> / OpenID </span>
<span className="text-white font-medium"></span>
<span className="text-gray-500 text-xs"></span>
</div>
<div className="flex gap-2 mb-4">
<Input
className="bg-[#162840] border-gray-700 text-white flex-1"
placeholder="手机号(自动填入已绑定手机)"
value={sssQueryPhone}
onChange={(e) => setSssQueryPhone(e.target.value)}
/>
<Button
onClick={handleSSSQuery}
disabled={sssLoading}
className="bg-[#38bdac] hover:bg-[#2da396] text-white"
>
{sssLoading ? (
<><RefreshCw className="w-4 h-4 mr-1 animate-spin" /> </>
) : (
<><Search className="w-4 h-4 mr-1" /> </>
)}
</Button>
{/* 多维度查询输入 */}
<div className="grid grid-cols-2 gap-2 mb-3">
<div>
<Label className="text-gray-500 text-xs mb-1 block"></Label>
<Input
className="bg-[#162840] border-gray-700 text-white"
placeholder="11位手机号"
value={sssQueryPhone}
onChange={(e) => setSssQueryPhone(e.target.value)}
/>
</div>
<div>
<Label className="text-gray-500 text-xs mb-1 block"></Label>
<Input
className="bg-[#162840] border-gray-700 text-white"
placeholder="微信 ID"
value={sssQueryWechatId}
onChange={(e) => setSssQueryWechatId(e.target.value)}
/>
</div>
<div className="col-span-2">
<Label className="text-gray-500 text-xs mb-1 block"> OpenID</Label>
<Input
className="bg-[#162840] border-gray-700 text-white"
placeholder="openid_xxxx自动填入"
value={sssQueryOpenId}
onChange={(e) => setSssQueryOpenId(e.target.value)}
/>
</div>
</div>
<Button
onClick={handleSSSQuery}
disabled={sssLoading}
className="w-full bg-[#38bdac] hover:bg-[#2da396] text-white"
>
{sssLoading ? (
<><RefreshCw className="w-4 h-4 mr-1 animate-spin" /> ...</>
) : (
<><Search className="w-4 h-4 mr-1" /> </>
)}
</Button>
<p className="text-gray-600 text-xs mt-2"></p>
</div>
{sssError && (
<div className="p-3 bg-red-500/10 border border-red-500/30 rounded-lg text-red-400 text-sm mb-3">
{sssError}