修改列表card样式

master
fuxiaochun 2023-08-22 14:55:25 +08:00
parent 97c1367453
commit c1e5c396da
2 changed files with 7 additions and 7 deletions

View File

@ -27,7 +27,7 @@
<img :src="item.cover" :alt="item.title">
</div>
<div class="rTitle">
<h2>[{{ DateFormat(new Date(item.published_at * 1000), 'yyyy.MM.dd') }}]{{ item.title }}</h2>
<h2><span>[{{ DateFormat(new Date(item.published_at * 1000), 'yyyy.MM.dd') }}]</span> {{ item.title }}</h2>
</div>
<div class="desc">{{ item.description }}</div>
</li>
@ -253,9 +253,9 @@ const goDetail = (id) => {
.rTitle{
width: 100%;
padding: 20px 10px;
display: flex;
justify-content: space-between;
align-items: center;
// display: flex;
// justify-content: space-between;
// align-items: center;
h2{
font-weight: bold;
font-size: 28px;

View File

@ -144,9 +144,9 @@ const goDetail = (id) => {
// height: 80px;
width: 100%;
padding: 20px 10px;
display: flex;
justify-content: space-between;
align-items: center;
// display: flex;
// justify-content: space-between;
// align-items: center;
h2{
// height: 40px;
font-weight: bold;