Commit 3e1a11ac authored by wangqinghua's avatar wangqinghua

样式调试

parent 78df88dd
......@@ -34,7 +34,7 @@
<ng-container *ngFor="let item of newList">
<div class="search-item" (click)="goToDetail(item)">
<p class="item-info">
<span>{{item.source}}</span>
<span class="item-source">{{item.source}}</span>
<span>{{item.publishTime | date:'yyyy-MM-dd'}}</span>
</p>
<div class="item-news">
......
......@@ -53,6 +53,15 @@ page-search-new {
padding: 0 1rem;
.search-item{
padding: .8rem 0;
.item-info{
margin: .8rem 0;
color: #989898;
.item-source{
color: #d88f27;
font-weight: 500;
margin-right: 1rem;
}
}
.news-left{
display: flex;
flex-flow: row wrap;
......
......@@ -70,6 +70,7 @@ page-discover {
padding: .8rem 0;
.item-info{
margin: .8rem 0;
color: #989898;
.item-source{
color: #d88f27;
font-weight: 500;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment