修改列表card样式
parent
97c1367453
commit
c1e5c396da
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue