function getPX(str){
return str.substring(0,str.indexOf('px'));
}
转载于:https://www.cnblogs.com/SATinnovation/p/6026232.html
function getPX(str){
return str.substring(0,str.indexOf('px'));
}
转载于:https://www.cnblogs.com/SATinnovation/p/6026232.html