Commit 7d38e708 by 施宇

111

parent 6f0ad156
......@@ -274,8 +274,7 @@
if (token) {
window.location.href = home_url + '/search?key=' + val + '&type=1&time=1';
} else {
window.location.href = search_url + '/indexsearch?key=' + val + '&type=1&time=1';
window.location.href = search_url + '/indexsearch/'+decodeURIComponent(val)+'_1_1';
}
}
......
......@@ -81,7 +81,7 @@ $(function () {
} else if (val.length < 3) {
layer.msg('搜索内容太短')
} else {
window.location.replace("/indexsearch?key=" + val + '&type=' + self.type + '&time=' + self.time);
window.location.replace("/indexsearch/" +decodeURIComponent(val)+ '_' + self.type + '_' + self.time);
}
});
$('.zz').on('click', '.fl', function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment