效果 代码 .item-content { width: 120rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } 宽度需要设定;