$(function () {
window.utils = window.utils || {};
utils.getparams = function(){
var data = {};
var str = location.search;
if (str) {
str = str.slice(1);
dataArr = str.split('&');
for (var i = 0; i < dataArr.length; i++) {
var _dataArr = dataArr[i].split('=');
data[_dataArr[0]] = _dataArr[1];
}
}
return data;
}
})
慕工程0101907
相关分类