如何覆盖jquery默认的element.style 添加一个类,如 .ui-my-class { width: 90% ! important ; } 重点是 ! important 在后面加了这个,会覆盖这个过元素其它地方width属性。