修改列表card样式
parent
97c1367453
commit
c1e5c396da
|
|
@ -27,7 +27,7 @@
|
||||||
<img :src="item.cover" :alt="item.title">
|
<img :src="item.cover" :alt="item.title">
|
||||||
</div>
|
</div>
|
||||||
<div class="rTitle">
|
<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>
|
||||||
<div class="desc">{{ item.description }}</div>
|
<div class="desc">{{ item.description }}</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -253,9 +253,9 @@ const goDetail = (id) => {
|
||||||
.rTitle{
|
.rTitle{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 20px 10px;
|
padding: 20px 10px;
|
||||||
display: flex;
|
// display: flex;
|
||||||
justify-content: space-between;
|
// justify-content: space-between;
|
||||||
align-items: center;
|
// align-items: center;
|
||||||
h2{
|
h2{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
|
|
|
||||||
|
|
@ -144,9 +144,9 @@ const goDetail = (id) => {
|
||||||
// height: 80px;
|
// height: 80px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 20px 10px;
|
padding: 20px 10px;
|
||||||
display: flex;
|
// display: flex;
|
||||||
justify-content: space-between;
|
// justify-content: space-between;
|
||||||
align-items: center;
|
// align-items: center;
|
||||||
h2{
|
h2{
|
||||||
// height: 40px;
|
// height: 40px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue