Css实现字符串超出部分变为点
.context>div>.divRight>label{
overflow:hidden;
text-align: center;
display: inline-block;
width: 70px;
white-space:nowrap;
text-overflow:ellipsis;
}
注: overflow:hidden; 必写
宽度(width)必写
white-space:nowrap; //不换行
text-overflow:ellipsis;//超出部分变为点