fix: keep all home channels in scroll list
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@
|
||||
- 状态:代码已修改,待页面验证 - 时间:2026-08-02
|
||||
|
||||
完成内容:
|
||||
- 首页频道栏改用 `scroll-view` 支持左右滑动,频道数量增加或窄屏显示时不会挤压“更多”入口。
|
||||
- 首页频道栏改用 `scroll-view` 支持左右滑动,不再截断前 5 个频道,频道数量增加或窄屏显示时不会挤压“更多”入口。
|
||||
- 频道项使用固定宽度并统一 `gap`,频道名称为一个、两个或三个字时仍保持一致的布局间距。
|
||||
|
||||
涉及模块:
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user