This commit is contained in:
toom1996
2025-07-29 11:31:11 +08:00
parent 5c06985647
commit 66b8fe65c0
7 changed files with 25 additions and 80 deletions

View File

@ -236,12 +236,13 @@ const { code, data } = await newsIndex(config.id, 3, 1);
<div class="blog__meta">
<span>{item.created_at}</span>
<div>
<h3 class="title">
<h2 class="title">
{item.title}
</h3>
</h2>
</div>
</div>
<a title={`${item.column_tag}`} href={item.column_tag_url}><span class="label label-success">{item.column_tag}</span></a>
<a title={`${item.second_column_tag}`} href={item.second_column_tag_url}><span class="label label-info">{item.second_column_tag}</span></a>
</a>
</div>
</div>
@ -266,6 +267,15 @@ const { code, data } = await newsIndex(config.id, 3, 1);
.news {
margin-bottom: 2rem;
h2 {
font-family: var(--primary-font);
color: #2b3a66;
margin: 0;
}
.blog__meta {
margin-top: .5rem;
}
}
@media screen and (max-width: 768px) {