Commit 287b1b24 by 施宇

1111

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