移除分类排序按钮,默认按分类排序展示

- 删除 index.html 中的 shelfSortBtn 按钮
- shelfSortMode 默认改为 category,始终按分类排序
- 删除 toggleShelfSort 函数和 .shelf-sort-btn CSS 样式
- 书架列表默认以分类分组渲染
This commit is contained in:
admin committed 2026-07-17 12:29:01 +08:00
1 parent e578a90543
commit 8b24052ab6
4 files changed
+44 -34

No files matched your search

-25
View File
@@ -447,31 +447,6 @@ body {
color: #fff;
}
/* 分类排序按钮 */
.shelf-sort-btn {
padding: 5px 14px;
border: 1px solid var(--border);
border-radius: 20px;
font-size: 13px;
color: var(--text-secondary);
background: var(--bg-card);
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
}
.shelf-sort-btn:hover {
border-color: var(--accent);
color: var(--accent);
}
.shelf-sort-btn.active {
border-color: var(--accent);
color: #fff;
background: var(--accent);
font-weight: 500;
}
/* 分类分组标题 */
.shelf-group-header {
font-size: 15px;