css 文本溢出时显示省略号时间:2023-03-09 07:13:38 .text-ellipsis { width:100px; height:60px; overflow: hidden;//隐藏滚动条 text-overflow:ellipsis; white-space: nowrap; } .span-text { display: block; }