Commit 3e1a11ac authored by wangqinghua's avatar wangqinghua

样式调试

parent 78df88dd
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<ng-container *ngFor="let item of newList"> <ng-container *ngFor="let item of newList">
<div class="search-item" (click)="goToDetail(item)"> <div class="search-item" (click)="goToDetail(item)">
<p class="item-info"> <p class="item-info">
<span>{{item.source}}</span> <span class="item-source">{{item.source}}</span>
<span>{{item.publishTime | date:'yyyy-MM-dd'}}</span> <span>{{item.publishTime | date:'yyyy-MM-dd'}}</span>
</p> </p>
<div class="item-news"> <div class="item-news">
......
...@@ -53,6 +53,15 @@ page-search-new { ...@@ -53,6 +53,15 @@ page-search-new {
padding: 0 1rem; padding: 0 1rem;
.search-item{ .search-item{
padding: .8rem 0; padding: .8rem 0;
.item-info{
margin: .8rem 0;
color: #989898;
.item-source{
color: #d88f27;
font-weight: 500;
margin-right: 1rem;
}
}
.news-left{ .news-left{
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
......
...@@ -70,6 +70,7 @@ page-discover { ...@@ -70,6 +70,7 @@ page-discover {
padding: .8rem 0; padding: .8rem 0;
.item-info{ .item-info{
margin: .8rem 0; margin: .8rem 0;
color: #989898;
.item-source{ .item-source{
color: #d88f27; color: #d88f27;
font-weight: 500; 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