.p-overflow { width: 260px; //固定宽度 overflow: hidden; //超过隐藏 text-overflow: ellipsis;//省略号 white-space: nowrap; //不换行 }