This commit is contained in:
1 parent
f202cb895e
commit
8ee8656c35
3 files changed
+10
-6
No files matched your search
@@ -79,7 +79,7 @@
|
|||||||
</th>
|
</th>
|
||||||
<th>ID</th>
|
<th>ID</th>
|
||||||
<th>标题</th>
|
<th>标题</th>
|
||||||
<th>分类</th>
|
<th>{$page.data.aliases?.category || '分类'}</th>
|
||||||
<th>{$page.data.aliases?.series || '系列'}</th>
|
<th>{$page.data.aliases?.series || '系列'}</th>
|
||||||
<th>别名</th>
|
<th>别名</th>
|
||||||
<th>发布时间</th>
|
<th>发布时间</th>
|
||||||
@@ -105,7 +105,11 @@
|
|||||||
<ExternalLink size={16} aria-hidden="true" />
|
<ExternalLink size={16} aria-hidden="true" />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td><span class="badge">{post.category || '未分类'}</span></td>
|
<td
|
||||||
|
><span class="badge"
|
||||||
|
>{post.category || `未${$page.data.aliases?.category || '分类'}`}</span
|
||||||
|
></td
|
||||||
|
>
|
||||||
<td>{post.series || '—'}</td>
|
<td>{post.series || '—'}</td>
|
||||||
<td><SlugBadge slug={post.slug} /></td>
|
<td><SlugBadge slug={post.slug} /></td>
|
||||||
<td>{post.dateStr}</td>
|
<td>{post.dateStr}</td>
|
||||||
|
|||||||
@@ -207,10 +207,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sidebar-box">
|
<div class="sidebar-box">
|
||||||
<h3>分类</h3>
|
<h3>{$page.data.aliases?.category || '分类'}</h3>
|
||||||
<SelectDropdown
|
<SelectDropdown
|
||||||
name="category_id"
|
name="category_id"
|
||||||
label="分类"
|
label={$page.data.aliases?.category || '分类'}
|
||||||
options={data.categories.map((category) => ({
|
options={data.categories.map((category) => ({
|
||||||
value: category.id,
|
value: category.id,
|
||||||
label: category.name
|
label: category.name
|
||||||
|
|||||||
@@ -238,10 +238,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sidebar-box">
|
<div class="sidebar-box">
|
||||||
<h3>分类</h3>
|
<h3>{$page.data.aliases?.category || '分类'}</h3>
|
||||||
<SelectDropdown
|
<SelectDropdown
|
||||||
name="category_id"
|
name="category_id"
|
||||||
label="分类"
|
label={$page.data.aliases?.category || '分类'}
|
||||||
options={data.categories.map((category) => ({
|
options={data.categories.map((category) => ({
|
||||||
value: category.id,
|
value: category.id,
|
||||||
label: category.name
|
label: category.name
|
||||||
|
|||||||
Reference in new issue
Block a user