text-overflow: ellipsis; overflow: hidden; 不过需设置宽高 转载于:https://www.cnblogs.com/init-007/p/10942516.html