var name = window.location.search.substr(4,30);
//name = decodeURI(name);
//使用示例
document.getElementById('username').innerHTML = decodeURI(name);
var name = window.location.search.substr(4,30);
//name = decodeURI(name);
//使用示例
document.getElementById('username').innerHTML = decodeURI(name);