fix: keep all home channels in scroll list

This commit is contained in:
hajimi
2026-08-02 00:35:05 +08:00
parent 9cbf5f6818
commit 07a366cf3a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
- 状态:代码已修改,待页面验证 - 时间:2026-08-02
完成内容:
- 首页频道栏改用 `scroll-view` 支持左右滑动,频道数量增加或窄屏显示时不会挤压“更多”入口。
- 首页频道栏改用 `scroll-view` 支持左右滑动,不再截断前 5 个频道,频道数量增加或窄屏显示时不会挤压“更多”入口。
- 频道项使用固定宽度并统一 `gap`,频道名称为一个、两个或三个字时仍保持一致的布局间距。
涉及模块:
-1
View File
@@ -182,7 +182,6 @@ const primaryChannels = computed(() => {
return allChannels.value
.map((item, index) => ({ ...item, index }))
.filter((item) => item.specialType !== 'mychannel')
.slice(0, 5)
})
const featuredArticle = computed(() => {