Commit 287b1b24 by 施宇

1111

parent 433ea15a
......@@ -15,6 +15,7 @@ class BaseController extends Controller
}
$getInfo = I();
// var_dump($getInfo);die;
$this->assign('get_url_info',$getInfo);
}
......
<foreach name="get_utl_info" item="v" >
<foreach name="get_url_info" item="v" >
<input type="hidden" id="{$key}" value="{$v}">
</foreach>
<div class="index_header">
......
$(function () {
var indexSearch = {
key: Util.getRequest('key') || "",
type: Util.getRequest('type') || "",
time: Util.getRequest('time') || "",
key: $('#key').val() || '',
type: $('#type').val() || '' || "",
time: $('#time').val() || '' || "",
init: function () {
this.bindFun();
this.renderPage()
......@@ -81,8 +81,8 @@ $(function () {
} else if (val.length < 3) {
layer.msg('搜索内容太短')
} else {
console.log(self.type,self.time)
window.location.replace("/" +decodeURIComponent(val)+ '_' + self.type + '_' + self.time);
console.log(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