<div nz-row class="mb-sm">
<nz-card class="news-card">
<h3 class="font-weight-bold msg-text">最新消息:</h3>
<div class="scroll-box" [class.scroll-top]="flag">
<div nz-row *ngFor="let item of newsList">
<div nz-col nzSpan="18" >
<span>{
{item.text}}</span>
</div>
<div nz-col nzSpan="6" class="text-right">{
{item.time | date:'yyyy-MM-dd HH:mm:ss'}}</div>
</div>
</div>
</nz-card>
</div>
// 消息滚动
.news-card{
width:100%;
height:60px;
position:relative;
overflow:hidden;
margin:0;
}
.msg-text{
margin:0;
height:18px;
line-height: 1;
color:#F32C3B!important;
width:96px;
height:100%;
l