div 显示文字,超出部分点号代替。大概的css如下:
.tb-item-name {
position: absolute;
max-width: 4.58666667rem;
max-height: .74666667rem;
top: .16rem;
left: 2.26666667rem;
color: #A5A5A5;
font-size: .37333333rem;
line-height: .37333333rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;