溢出文字省略号显示: 1:先强制一行内显示文本: white-space: nowrap; 2:超出部分隐藏: overflow: hidden; 3:文字用省略号替代超出的部分: text-overflow: ellipsis;