fix(web): 条目详情恢复 24px 标题、179px 封面与左对齐正文
- 标题:level1 24/600(原来 level2 18/500) - 封面:portrait 179x269、square 96x96,margin 18/10,底色 primary-soft(原来 160 宽、灰底) - 标签:22 高、12px、2px 10px 内边距(原来 24 高 13px) - 正文段落:width 100%、14/1.7、次级色、左对齐(原来 16px 主色,flex 下收缩成内容宽而居中) - 引用:引号 32/700 红色 35%(原来 18px 主色)
This commit is contained in:
@@ -41,7 +41,7 @@ export function ItemDetailView({
|
||||
</Card>
|
||||
|
||||
<Card padding="none" className="item-card">
|
||||
<Title level={2} className="item-title">
|
||||
<Title level={1} as="h2" weight="semibold" className="item-title">
|
||||
{model.title}
|
||||
<button type="button" className="item-edit" disabled title="编辑功能待接入">
|
||||
[编辑]
|
||||
@@ -59,7 +59,7 @@ export function ItemDetailView({
|
||||
{model.tags.length > 0 && (
|
||||
<Space gap="sm" wrap>
|
||||
{model.tags.map((tag) => (
|
||||
<Tag key={tag} tone="primary">
|
||||
<Tag key={tag} tone="primary" className="item-tag">
|
||||
{tag}
|
||||
</Tag>
|
||||
))}
|
||||
@@ -76,7 +76,12 @@ export function ItemDetailView({
|
||||
)}
|
||||
|
||||
{model.paragraphs.map((paragraph, index) => (
|
||||
<Paragraph key={`${index}-${paragraph.slice(0, 8)}`} tone="main">
|
||||
<Paragraph
|
||||
key={`${index}-${paragraph.slice(0, 8)}`}
|
||||
tone="sub"
|
||||
size="md"
|
||||
className="item-desc"
|
||||
>
|
||||
{paragraph}
|
||||
</Paragraph>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user