css中設置爲:
.bulletin-wrapper
position: relative
height: 28px
line-height: 28px
padding: 0 20px 0 12px
white-space: nowrap // 下面3行代碼實現...效果
overflow: hidden
text-overflow: ellipsis
background-color: rgba(7, 17, 27, 0.2)