摘要:
/** * @description get the param form browser * @author xf.radish * @param {String} key the param your want to get * @return {String} */ getUrlParam:function(key){ var reg = new RegExp("(^|&)" + key+ "=([^&]*)(&|$)", "i"), r = window.location.search.substr(1 阅读全文