mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-04 08:57:34 +08:00
feat: update header
This commit is contained in:
@@ -19,6 +19,24 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="article-container">
|
<div class="article-container">
|
||||||
|
<div class="header-container">
|
||||||
|
<div class="header-item main">
|
||||||
|
话题
|
||||||
|
</div>
|
||||||
|
<div class="header-item avatars">
|
||||||
|
参与人员
|
||||||
|
</div>
|
||||||
|
<div class="header-item comments">
|
||||||
|
回复
|
||||||
|
</div>
|
||||||
|
<div class="header-item views">
|
||||||
|
浏览
|
||||||
|
</div>
|
||||||
|
<div class="header-item activity">
|
||||||
|
活动
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="article-item" v-for="article in articles" :key="article.id">
|
<div class="article-item" v-for="article in articles" :key="article.id">
|
||||||
<div class="article-main-container">
|
<div class="article-main-container">
|
||||||
<router-link class="article-item-title" :to="`/posts/${article.id}`">
|
<router-link class="article-item-title" :to="`/posts/${article.id}`">
|
||||||
@@ -254,6 +272,14 @@ L 站的愿景是成为新的**理想型社区**,让每一个一身疲惫的
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
.article-item {
|
.article-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@@ -263,6 +289,15 @@ L 站的愿景是成为新的**理想型社区**,让每一个一身疲惫的
|
|||||||
border-bottom: 1px solid lightgray;
|
border-bottom: 1px solid lightgray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-item {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-item.main {
|
||||||
|
width: 60%;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.article-main-container {
|
.article-main-container {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
@@ -351,4 +386,20 @@ L 站的愿景是成为新的**理想型社区**,让每一个一身疲惫的
|
|||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-item.avatars {
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-item.comments {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-item.views {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-item.activity {
|
||||||
|
margin-left: 20px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user