通过getComputedStyle 可以获取 style 中的样式
例如
var obj =document.getElementByid('id');
getComputedStyle(obj,"style").backgroundImage;
通过getComputedStyle 可以获取 style 中的样式
例如
var obj =document.getElementByid('id');
getComputedStyle(obj,"style").backgroundImage;