sync: soul-admin 页面 | 原因: 前端页面修改
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user