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
whb
2016-01-05 18:50:41 +0800
Commit
ea1a084b4e99b18a35756d27370d56d1ac1ff63f
1 parent
12140787
首页
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
1 deletions
template/www.yohobuy.com/actions/index/index/index.phtml
yohobuy/www.yohobuy.com/application/controllers/Index.php
template/www.yohobuy.com/actions/index/index/index.phtml
0 → 100644
View file @
ea1a084
{
{>
layout/header
}
}
<div
class=
"home-page yoho-page boys"
data-page=
"boys"
>
{
{#
boys
}
}
{
{!
头部banner
}
}
{
{#
slide
}
}
{
{>index/slide-banner
}
}
{
{/
slide
}
}
{
{!
新品速报
}
}
{
{#
newReport
}
}
<div
class=
"new-report clearfix"
>
{
{>
index/floor-header
}
}
<ul
class=
"report-list clearfix"
>
{
{#
list
}
}
{
{#unless
@last
}
}
<li>
<a
href=
"{{href}}"
>
<img
class=
"lazy"
data-original=
"{{img}}"
alt=
""
>
</a>
</li>
{
{/unless
}
}
{
{/
list
}
}
</ul>
{
{#
list
}
}
{
{#if
@last
}
}
<div
class=
"last-item"
>
<a
href=
"{{href}}"
>
<img
class=
"lazy"
data-original=
"{{img}}"
alt=
""
>
</a>
</div>
{
{/if
}
}
{
{/
list
}
}
</div>
{
{/
newReport
}
}
{
{!
优选品牌
}
}
{
{#
preferenceBrands
}
}
<div
class=
"preference-brand"
>
{
{>
index/floor-header
}
}
<div
class=
"img-brand"
>
<ul
class=
"img-list clearfix"
>
{
{#
imgBrand
}
}
<li
class=
"img-item"
>
<a
href=
"{{href}}"
>
<img
src=
"{{img}}"
alt=
""
>
</a>
</li>
{
{/
imgBrand
}
}
</ul>
<div
class=
"img-brand-switch"
>
<a
class=
"prev"
href=
"javascript:;"
>
<span
class=
"iconfont"
>
60
c;</span>
</a>
<a
class=
"next"
href=
"javascript:;"
>
<span
class=
"iconfont"
>
60
b;</span>
</a>
</div>
</div>
<div
class=
"logo-brand"
data-url=
"{{brandUrl}}"
></div>
</div>
{
{/
preferenceBrands
}
}
{
{!
单品/广告
}
}
{
{#
singlehot
}
}
{
{>
index/boy-singlehot
}
}
{
{/
singlehot
}
}
{
{!
广告
}
}
{
{#
adbanner
}
}
<div
class=
"floor-ad"
>
<a
href=
"{{url}}"
><img
class=
"lazy"
data-original=
"{{img}}"
/></a>
</div>
{
{/
adbanner
}
}
{
{!
品类推荐
}
}
{
{#
recommend
}
}
{
{>
index/boy-recommend
}
}
{
{/
recommend
}
}
{
{!
新品上架
}
}
{
{#
newArrivls
}
}
{
{>
index/commodity
}
}
{
{/
newArrivls
}
}
{
{/
boys
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
yohobuy/www.yohobuy.com/application/controllers/Index.php
View file @
ea1a084
...
...
@@ -27,7 +27,7 @@ class IndexController extends WebAction
'boysHomePage'
=>
true
,
'boys'
=>
\Index\HomeModel
::
getChannelResource
(
\Index\HomeModel
::
COOKIE_NAME_BOYS
,
\Index\HomeModel
::
CODE_BOYS_CHANNEL
)
);
$this
->
_view
->
display
(
'
../boys/
index'
,
$data
);
$this
->
_view
->
display
(
'index'
,
$data
);
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment