Authored by zhangxiaoru

search

... ... @@ -11,8 +11,7 @@ var $ = require('yoho-jquery'),
var bannerSwiper;
var C_ID,
getChannel;
var C_ID;
// 获取url中的参数
function getUrlParam(name) {
... ...
... ... @@ -202,7 +202,7 @@ $search.on('touchend', function() {
*/
function getQueryString(name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
var r = window.location.search.substr(1).match(reg);
var r = decodeURI(window.location.search).substr(1).match(reg);
if (r !== null) {
return window.unescape(r[2]);
... ...