先定义一个表格的默认宽度if(body宽度小于600){ 表格的父类设置css属性overflow-x,值为auto; 表格宽度赋值为设定好的宽度}else{还原}
width:100%; min-width:600px