Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
7f27a6c71623190f0a8d9dfbf3b9ec57dcb3e9ad
1 parent
9974bc13
fixes bug to search page show header
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
20 deletions
assets/search.html
yohobuy/m.yohobuy.com/application/controllers/Search.php
assets/search.html
View file @
7f27a6c
...
...
@@ -25,9 +25,14 @@
<link
rel=
"stylesheet"
href=
"http://static.buy.test.yoho.cn/dist/myohobuy/0.0.6/index.css"
>
</head>
<body
>
<div
class=
"search-page yoho-page"
>
<header
class=
"yoho-header boys"
>
<a
href=
"javascript:history.go(-1);"
class=
"nav-back"
></a>
<a
href=
"http://buy.test.yoho.cn?go=1"
class=
"nav-home"
></a>
<p
class=
"nav-title"
>
搜索
</p>
</header>
<div
class=
"search-page yoho-page"
>
<div
id=
"search-input"
class=
"search-input"
>
<form
id=
"search-form"
action=
"http://search.test.yoho.cn"
method=
"get"
>
<form
id=
"search-form"
action=
http://search.dev.yohobuy.com
method=
"get"
>
<i
class=
"search-icon iconfont"
>

</i>
<input
type=
"text"
placeholder=
"搜索商品"
name=
"query"
>
<i
class=
"clear-input iconfont hide"
>

</i>
...
...
@@ -72,29 +77,14 @@
立即下载
</a>
</div>
<script
src=
"http://static.buy.test.yoho.cn/dist/myohobuy/0.0.6/lib.js"
></script>
<script
src=
"http://static.buy.test.yoho.cn/dist/myohobuy/0.0.6/index.js"
></script>
<script
src=
"http://static.buy.test.yoho.cn/dist/myohobuy/0.0.1/lib.js"
></script>
<script
src=
"http://static.buy.test.yoho.cn/dist/myohobuy/0.0.1/index.js"
></script>
<script>
seajs
.
use
(
'js/common'
);
</script>
<script>
seajs
.
use
(
'js/index/search'
);
seajs
.
use
(
'js/index/footer'
);
</script>
</body>
</html>
\ No newline at end of file
...
...
yohobuy/m.yohobuy.com/application/controllers/Search.php
View file @
7f27a6c
...
...
@@ -16,6 +16,8 @@ class SearchController extends AbstractAction
*/
public
function
indexAction
()
{
$this
->
setNavHeader
(
'搜索'
,
true
,
SITE_MAIN
);
$this
->
_view
->
html
(
'search'
);
$this
->
_view
->
display
(
'index'
,
array
(
'search'
=>
array
(
'url'
=>
Helpers
::
url
(
''
,
null
,
'search'
)),
...
...
Please
register
or
login
to post a comment