sync: soul-admin 页面 | 原因: 前端页面修改

This commit is contained in:
卡若
2026-03-09 04:53:44 +08:00
parent 2137852785
commit a4a07cff4d

View File

@@ -1440,6 +1440,41 @@ export function ContentPage() {
</label>
</div>
</div>
<div className="space-y-2">
<Label className="text-gray-300"></Label>
<div className="flex items-center h-10">
<label className="flex items-center cursor-pointer">
<input
type="checkbox"
checked={editingSection.isPinned ?? false}
onChange={(e) =>
setEditingSection({
...editingSection,
isPinned: e.target.checked,
})
}
className="w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"
/>
<span className="ml-2 text-gray-400 text-sm"></span>
</label>
</div>
</div>
<div className="space-y-2">
<Label className="text-gray-300"></Label>
<Input
type="number"
step="0.1"
min="0"
className="bg-[#0a1628] border-gray-700 text-white"
value={editingSection.hotScore ?? 0}
onChange={(e) =>
setEditingSection({
...editingSection,
hotScore: Math.max(0, parseFloat(e.target.value) || 0),
})
}
/>
</div>
</div>
<div className="space-y-2">
<Label className="text-gray-300"></Label>