给table加上table-layout: fixed;给每个th设置宽度百分比; 最后给需要的td加上overflow:hidden; text-overflow:ellipsis; white-space:nowrap;