css实现截取文本 .ellipsis{ max- 260px; // 自定义 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }