Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
f8573c8b245ec7d3105a9a9d9d277df59ca69b57
1 parent
558f5b75
shop query key
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
template/www.yohobuy.com/actions/product/index/shop-index.phtml
template/www.yohobuy.com/actions/product/index/shop-list.phtml
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php
template/www.yohobuy.com/actions/product/index/shop-index.phtml
View file @
f8573c8
...
...
@@ -10,7 +10,7 @@
<form
action=
"/shoplist"
method=
"get"
id=
"shop-search-form"
>
<span>
<input
type=
"hidden"
name=
"shopId"
value=
"{{shopId}}"
>
<input
id=
"shop-query-key"
type=
"text"
name=
"query"
class=
"shop-query-key"
autocomplete=
"off"
x-webkit-speech=
""
lang=
"zh-CN"
placeholder=
"关键词搜索"
>
<input
id=
"shop-query-key"
type=
"text"
name=
"query"
class=
"shop-query-key"
autocomplete=
"off"
x-webkit-speech=
""
lang=
"zh-CN"
placeholder=
"关键词搜索"
{
{#
shopQueryKey
}
}value=
"{{.}}"
{
{/
shopQueryKey
}
}
>
</span>
<span
class=
"iconfont shop-query-submit"
>
611
;</span>
</form>
...
...
template/www.yohobuy.com/actions/product/index/shop-list.phtml
View file @
f8573c8
...
...
@@ -10,7 +10,7 @@
<form
action=
"/shoplist"
method=
"get"
id=
"shop-search-form"
>
<span>
<input
type=
"hidden"
name=
"shopId"
value=
"{{shopId}}"
>
<input
id=
"shop-query-key"
type=
"text"
name=
"query"
class=
"shop-query-key"
autocomplete=
"off"
x-webkit-speech=
""
lang=
"zh-CN"
placeholder=
"关键词搜索"
>
<input
id=
"shop-query-key"
type=
"text"
name=
"query"
class=
"shop-query-key"
autocomplete=
"off"
x-webkit-speech=
""
lang=
"zh-CN"
placeholder=
"关键词搜索"
{
{#
shopQueryKey
}
}value=
"{{.}}"
{
{/
shopQueryKey
}
}
>
</span>
<span
class=
"iconfont shop-query-submit"
>
611
;</span>
</form>
...
...
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
f8573c8
...
...
@@ -489,8 +489,9 @@ class IndexController extends WebAction
$data
=
array_merge
(
array
(
'shopId'
=>
$shopId
,
'shopIndexPage'
=>
true
,
'shopId'
=>
$shopId
,
'shopQueryKey'
=>
$this
->
get
(
'query'
,
''
),
'pathNav'
=>
false
,
// pathNav数据结构同其他页面
'coupon'
=>
false
,
// 先不做
'trendInfo'
=>
ShopModel
::
getArticle
(
$shopId
),
...
...
@@ -542,6 +543,7 @@ class IndexController extends WebAction
array
(
'shopIndexPage'
=>
true
,
'shopId'
=>
$shopId
,
'shopQueryKey'
=>
$this
->
get
(
'query'
,
''
),
'pathNav'
=>
false
,
// pathNav数据结构同其他页面
'coupon'
=>
false
,
// 先不做
),
...
...
Please
register
or
login
to post a comment