Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
287b1b24
authored
Aug 14, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1111
parent
433ea15a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
Application/Common/Controller/BaseController.class.php
Application/Common/View/public/indexheader.html
dist/js/index/search.js
Application/Common/Controller/BaseController.class.php
View file @
287b1b24
...
...
@@ -15,6 +15,7 @@ class BaseController extends Controller
}
$getInfo
=
I
();
// var_dump($getInfo);die;
$this
->
assign
(
'get_url_info'
,
$getInfo
);
}
...
...
Application/Common/View/public/indexheader.html
View file @
287b1b24
<foreach
name=
"get_u
t
l_info"
item=
"v"
>
<foreach
name=
"get_u
r
l_info"
item=
"v"
>
<input
type=
"hidden"
id=
"{$key}"
value=
"{$v}"
>
</foreach>
<div
class=
"index_header"
>
...
...
dist/js/index/search.js
View file @
287b1b24
$
(
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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment