fix(mp): 文章列表页对齐 mp-04 原型 — 分类Tab+卡片布局+字号
- 分类Tab: 选中态 pri 白字+阴影,未选中 surface-alt 圆角药丸 - 文章卡片: 80×80 缩略图+标题 16px serif+摘要 13px+元信息 12px - ContentCard padding=sm margin=none,PageShell padding=none - 缩略图 80×80(原型 80×80),封面 r-xs=8(原型 rXs=8)
This commit is contained in:
@@ -81,7 +81,7 @@ export default function ArticleList() {
|
||||
}
|
||||
|
||||
return (
|
||||
<PageShell safeBottom className={modeClass}>
|
||||
<PageShell safeBottom padding="none" className={modeClass}>
|
||||
{/* 分类筛选 */}
|
||||
{categories.length > 0 && (
|
||||
<ScrollView scrollX className='article-categories'>
|
||||
@@ -112,6 +112,8 @@ export default function ArticleList() {
|
||||
{articles.map((a) => (
|
||||
<ContentCard
|
||||
key={a.id}
|
||||
padding="sm"
|
||||
margin="none"
|
||||
onPress={() => goToDetail(a.id)}
|
||||
>
|
||||
<View className='article-card-body'>
|
||||
|
||||
Reference in New Issue
Block a user