Commit 30aad146 by 施宇

11

parent aaa2370b
......@@ -274,7 +274,7 @@
if (token) {
window.location.href = home_url + '/search?key=' + val + '&type=1&time=1';
} else {
window.location.href = search_url + '/indexsearch/' + decodeURIComponent(val) + '_1_1';
window.location.href = search_url + '/' + decodeURIComponent(val) + '_1_1';
}
}
......
......@@ -81,7 +81,7 @@ $(function () {
} else if (val.length < 3) {
layer.msg('搜索内容太短')
} else {
window.location.replace("/indexsearch/" +decodeURIComponent(val)+ '_' + self.type + '_' + self.time);
window.location.replace("/" +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