https://expert.baidu.com/zhuanjia/questionpc#/med/ask-doctor
function getQueryString(name) { var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)'); var search = window.location.href.split('?')[1]; if (search) { var r = search.match(reg); if (r !== null) { return decodeURIComponent(r[2]); } } return ''; }