解决办法 :table 添加属性
table-layout:fixed;
table { border-collapse: collapse; margin: 0 auto; text-align: center; width: 100%; table-layout:fixed; } table td, table th { border: 1px solid #cad9ea; color: #666; height: 20px; // width: 30px; } table thead th { background-color: #CCE8EB; width: 100px; } table tr:nth-child(odd) { // background: #fff; background: #fff; } table tr:nth-child(even) { // background: #F5FAFA; background: #fff; }