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
3d18c2a60f6fa3688cdcfb10ba9096e0e5faab5b
1 parent
a5905ec8
code review by fei.hong: do merge new sale list and search codes
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
16 deletions
compile/www.yohobuy.com/0.0.13/c786c9077b5d2036c1c29ae8372fb979.php
template/www.yohobuy.com/partials/product/list.phtml
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php
compile/www.yohobuy.com/0.0.13/c786c9077b5d2036c1c29ae8372fb979.php
View file @
3d18c2a
...
...
@@ -461,16 +461,14 @@
</p>
</div>
</div>
'
;})
.
'
<div class="center-content clearfix">
'
;})
.
' <div class="center-content clearfix">
'
.
''
.
Plugin\LCRun3
::
debug
(
'if [pathNav]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[pathNav]'
,
'v'
,
$cx
,
$in
,
array
(
'pathNav'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <p class="path-nav">
'
.
Plugin\LCRun3
::
debug
(
'each [pathNav]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[pathNav]'
,
'v'
,
$cx
,
$in
,
array
(
'pathNav'
)),
$in
,
true
,
function
(
$cx
,
$in
)
{
return
''
.
Plugin\LCRun3
::
debug
(
'if [href]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <a '
.
Plugin\LCRun3
::
debug
(
'if @[last]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'@[last]'
,
'v'
,
$cx
,
$cx
[
'sp_vars'
],
array
(
'last'
)),
$in
,
function
(
$cx
,
$in
)
{
return
'class="last"'
;})
.
' href="'
.
Plugin\LCRun3
::
debug
(
'[href]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[href]'
,
'v'
,
$cx
,
$in
,
array
(
'href'
)))
.
'" title="'
.
Plugin\LCRun3
::
debug
(
'[pathTitle]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[pathTitle]'
,
'v'
,
$cx
,
$in
,
array
(
'pathTitle'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'raw'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</a>
'
;},
function
(
$cx
,
$in
)
{
return
' <span '
.
Plugin\LCRun3
::
debug
(
'if @[last]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'@[last]'
,
'v'
,
$cx
,
$cx
[
'sp_vars'
],
array
(
'last'
)),
$in
,
function
(
$cx
,
$in
)
{
return
'class="last"'
;})
.
' title="'
.
Plugin\LCRun3
::
debug
(
'[pathTitle]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[pathTitle]'
,
'v'
,
$cx
,
$in
,
array
(
'pathTitle'
)))
.
'">'
.
Plugin\LCRun3
::
debug
(
'[name]'
,
'raw'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[name]'
,
'v'
,
$cx
,
$in
,
array
(
'name'
)))
.
'</span>
'
;})
.
'
'
.
Plugin\LCRun3
::
debug
(
'unless @[last]'
,
'unl'
,
$cx
,
Plugin\LCRun3
::
debug
(
'@[last]'
,
'v'
,
$cx
,
$cx
[
'sp_vars'
],
array
(
'last'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <span class="iconfont"></span>
'
;})
.
''
;})
.
' </p>
'
;})
.
''
.
'
'
.
Plugin\LCRun3
::
debug
(
'if [brandAbout]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[brandAbout]'
,
'v'
,
$cx
,
$in
,
array
(
'brandAbout'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <div class="brand-about">
'
;})
.
''
.
''
.
Plugin\LCRun3
::
debug
(
'if [brandAbout]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[brandAbout]'
,
'v'
,
$cx
,
$in
,
array
(
'brandAbout'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <div class="brand-about">
'
.
Plugin\LCRun3
::
debug
(
'[brandAbout]'
,
'raw'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[brandAbout]'
,
'v'
,
$cx
,
$in
,
array
(
'brandAbout'
)))
.
'
</div>
'
;},
function
(
$cx
,
$in
)
{
return
' <div class="list-left pull-left">
...
...
@@ -570,8 +568,7 @@
</div>
<img class="pull-right img" src="'
.
Plugin\LCRun3
::
debug
(
'[img]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[img]'
,
'v'
,
$cx
,
$in
,
array
(
'img'
)))
.
'">
</div>
'
;})
.
'
'
.
''
.
Plugin\LCRun3
::
debug
(
'[shopEntry]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[shopEntry]'
,
'v'
,
$cx
,
$in
,
array
(
'shopEntry'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <div class="shop-entry clearfix">
'
;})
.
''
.
''
.
Plugin\LCRun3
::
debug
(
'[shopEntry]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[shopEntry]'
,
'v'
,
$cx
,
$in
,
array
(
'shopEntry'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <div class="shop-entry clearfix">
<a class="pull-left" href="'
.
Plugin\LCRun3
::
debug
(
'[home]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[home]'
,
'v'
,
$cx
,
$in
,
array
(
'home'
)))
.
'">
<img class="logo" src="'
.
Plugin\LCRun3
::
debug
(
'[logo]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[logo]'
,
'v'
,
$cx
,
$in
,
array
(
'logo'
)))
.
'">
</a>
...
...
@@ -590,8 +587,7 @@
<span class="iconfont"></span>
</a>
</div>
'
;})
.
''
.
'
'
.
''
.
Plugin\LCRun3
::
debug
(
'[filters]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[filters]'
,
'v'
,
$cx
,
$in
,
array
(
'filters'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
''
.
' <div class="filter-box">
'
;})
.
''
.
''
.
''
.
Plugin\LCRun3
::
debug
(
'[filters]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[filters]'
,
'v'
,
$cx
,
$in
,
array
(
'filters'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
''
.
' <div class="filter-box">
'
.
Plugin\LCRun3
::
debug
(
'[checkedConditions]'
,
'sec'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[checkedConditions]'
,
'v'
,
$cx
,
$in
,
array
(
'checkedConditions'
)),
$in
,
false
,
function
(
$cx
,
$in
)
{
return
' <div class="checked-conditions section">
<span class="title">已选条件:</span>
...
...
@@ -905,8 +901,7 @@
</div>
<p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p>
</div>
'
.
''
;})
.
''
.
'
'
.
''
.
Plugin\LCRun3
::
debug
(
'if [latestWalk]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[latestWalk]'
,
'v'
,
$cx
,
$in
,
array
(
'latestWalk'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <input id="latest-walk-count" type="hidden" value="'
.
Plugin\LCRun3
::
debug
(
'[latestWalk]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[latestWalk]'
,
'v'
,
$cx
,
$in
,
array
(
'latestWalk'
)))
.
'">
'
.
''
;})
.
''
.
''
.
''
.
Plugin\LCRun3
::
debug
(
'if [latestWalk]'
,
'ifv'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[latestWalk]'
,
'v'
,
$cx
,
$in
,
array
(
'latestWalk'
)),
$in
,
function
(
$cx
,
$in
)
{
return
' <input id="latest-walk-count" type="hidden" value="'
.
Plugin\LCRun3
::
debug
(
'[latestWalk]'
,
'encq'
,
$cx
,
Plugin\LCRun3
::
debug
(
'[latestWalk]'
,
'v'
,
$cx
,
$in
,
array
(
'latestWalk'
)))
.
'">
<div class="latest-walk">
<h2>最近浏览的商品</h2>
<div id="latest-walk-goods" class="goods clearfix"></div>
...
...
template/www.yohobuy.com/partials/product/list.phtml
View file @
3d18c2a
...
...
@@ -21,10 +21,8 @@
</div>
</div>
{
{/
brandBanner
}
}
<div
class=
"center-content clearfix"
>
{
{>
layout/path-nav
}
}
{
{#if
brandAbout
}
}
<div
class=
"brand-about"
>
{
{{brandAbout
}
}}
...
...
@@ -49,11 +47,8 @@
<img
class=
"pull-right img"
src=
"{{img}}"
>
</div>
{
{/
sortIntro
}
}
{
{>
product/shop-entry
}
}
{
{>
product/standard-content
}
}
{
{>
product/latest-walk
}
}
</div>
{
{/if
}
}
...
...
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
3d18c2a
...
...
@@ -17,7 +17,7 @@ class IndexController extends WebAction
public
function
brandAction
()
{
//品牌域名,没有获取到品牌域名的跳转首页
$domain
=
$this
->
param
(
'named'
);
$domain
=
$this
->
param
(
'named'
,
'adidas'
);
if
(
empty
(
$domain
))
{
$this
->
go
(
SITE_MAIN
);
}
...
...
Please
register
or
login
to post a comment