code: function(url) {
  		url = url || location.search;
  		var splitIndex = url.indexOf('?');
  		var queryString = url.substr(splitIndex + 1);
  		var paramArray = queryString.split('&');
  		var result = {};
  		for (var i in paramArray) {
  			var params = paramArray[i].split('=');
  			result[params[0]] = params[1];
  		}
  		return result;
  	}
docs: 获取 QueryString