<table class="table_main1">
<tr *ngFor="let col of dataList1 ">
<td title="{{col.InfoTitle}}" (click)="onTile(col)" class="table_tl">
<a href="javascript:void(0);">
{{col.InfoTitle}}
</a>
</td>
<td class="table_time">{{col.InfoTime}}</td>
</tr>
</table>
//加 td样式 即可实现效果
.table_tl{
white-space:nowrap;//截断
overflow:hidden;//隐藏滚动条
text-overflow:ellipsis;//显示小点...
cursor:pointer;//鼠标小手
}
//如果td样式加上 不管用 则table 加上此样式
.table_main1{
table-layout: fixed;
}
div 同理