var errTxt = getUrlQuery('error') || '无法访问';
var errDom = document.getElementById('error_text');
errDom.innerHTML = errTxt;
function getUrlQuery(name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
console.log(reg)
var r = window.location.search.substr(1).match(reg);
console.log(r)
if (r != null) {
return unescape(r[2]);
}
return null;
}
09-11
5611
11-15
2万+
08-29
1万+
10-26
5542