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
Plain Diff
Browse Files
Authored by
梁志锋
2016-01-13 13:33:19 +0800
Commit
289988d4abb6cbc90eb90cff81035866aa5dfc19
2 parents
310b8ff9
78f45e92
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
107 additions
and
232 deletions
template/www.yohobuy.com/actions/product/index/list.phtml
template/www.yohobuy.com/actions/product/list/list.phtml
template/www.yohobuy.com/actions/product/new/new-sale.phtml
template/www.yohobuy.com/actions/product/sale/new-sale.phtml
template/www.yohobuy.com/actions/product/search/search.phtml
template/www.yohobuy.com/partials/product/list.phtml
template/www.yohobuy.com/partials/product/new-sale.phtml
template/www.yohobuy.com/partials/product/standard-content.phtml
template/www.yohobuy.com/actions/product/index/list.phtml
View file @
289988d
{
{>
layout/header
}
}
<div
class=
"product-list-page product-page yoho-page"
>
{
{#
list
}
}
{
{#
brandBanner
}
}
<div
class=
"brand-banner"
>
<div
class=
"banner-img"
style=
"height: {{bannerHeight}}px;background: url({{banner}})"
></div>
<div
class=
"opt-wrap"
>
<p
class=
"opt center-content"
>
<a
href=
"{{brandHome}}"
>
<i
class=
"iconfont"
>
617
;</i>
品牌首页
</a>
<a
href=
"{{brandIntro}}"
>
<i
class=
"iconfont"
>
618
;</i>
品牌介绍
</a>
<span
id=
"brand-favor"
class=
"brand-favor"
>
<i
class=
"iconfont{{#if coled}} coled{{/if}}"
>
616
;</i>
</span>
</p>
</div>
</div>
{
{/
brandBanner
}
}
<div
class=
"center-content clearfix"
>
{
{>
layout/path-nav
}
}
{
{#
brandAbout
}
}
<div
class=
"brand-about"
>
{
{{brandIntro
}
}}
</div>
{
{^
}
}
<div
class=
"list-left pull-left"
>
{
{>
product/left-content
}
}
</div>
<div
class=
"list-right pull-right"
>
{
{#
shopEntry
}
}
<div
class=
"shop-entry clearfix"
>
<a
class=
"pull-left"
href=
"{{home}}"
>
<img
class=
"logo"
src=
"{{logo}}"
>
</a>
<div
class=
"name pull-left"
>
<a
class=
"shop-name"
href=
"{{home}}"
>
{
{shopName
}
}</a>
<p
class=
"sorts"
>
{
{#each
sort
}
}
<a
href=
"{{href}}"
>
{
{name
}
}</a>
{
{#unless
@last
}
}
/
{
{/unless
}
}
{
{/each
}
}
</p>
</div>
<a
class=
"entry-btn pull-right"
href=
"{{home}}"
>
进入品牌店铺
<span
class=
"iconfont"
>
601
;</span>
</a>
</div>
{
{/
shopEntry
}
}
{
{>
product/standard-content
}
}
{
{>
product/latest-walk
}
}
</div>
{
{/
brandAbout
}
}
</div>
{
{/
list
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
product/list
}
}
\ No newline at end of file
...
...
template/www.yohobuy.com/actions/product/list/list.phtml
View file @
289988d
{
{>
layout/header
}
}
<div
class=
"product-list-page product-page yoho-page"
>
{
{#
list
}
}
{
{#
brandBanner
}
}
<div
class=
"brand-banner"
>
<div
class=
"banner-img"
style=
"height: {{bannerHeight}}px;background: url({{banner}})"
></div>
<div
class=
"opt-wrap"
>
<p
class=
"opt center-content"
>
<a
href=
"{{brandHome}}"
>
<i
class=
"iconfont"
>
617
;</i>
品牌首页
</a>
<a
href=
"{{brandIntro}}"
>
<i
class=
"iconfont"
>
618
;</i>
品牌介绍
</a>
<span
id=
"brand-favor"
class=
"brand-favor"
>
<i
class=
"iconfont{{#if coled}} coled{{/if}}"
>
616
;</i>
</span>
</p>
</div>
</div>
{
{/
brandBanner
}
}
<div
class=
"center-content clearfix"
>
{
{>
layout/path-nav
}
}
{
{#
brandAbout
}
}
<div
class=
"brand-about"
>
{
{{brandIntro
}
}}
</div>
{
{^
}
}
<div
class=
"list-left pull-left"
>
{
{>
product/left-content
}
}
</div>
<div
class=
"list-right pull-right"
>
{
{>
product/standard-content
}
}
{
{>
product/latest-walk
}
}
</div>
{
{/
brandAbout
}
}
</div>
{
{/
list
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
product/list
}
}
\ No newline at end of file
...
...
template/www.yohobuy.com/actions/product/new/new-sale.phtml
View file @
289988d
{
{>
layout/header
}
}
<div
class=
"new-sale-page product-page yoho-page"
>
{
{#
newSale
}
}
{
{#
saleBanner
}
}
<div
class=
"banner-img"
style=
"height: {{bannerHeight}}px;background:url({{img}}) no-repeat top center;"
></div>
{
{/
saleBanner
}
}
<div
class=
"center-content clearfix"
>
{
{>
layout/path-nav
}
}
{
{#
saleTitle
}
}
<div
class=
"header-title"
>
{
{name
}
}
<p
class=
"line-through"
></p>
<p
class=
"count-wrap"
>
<span
class=
"count"
>共
{
{count
}
}个结果</span>
</p>
</div>
{
{/
saleTitle
}
}
<div
class=
"list-left pull-left"
>
{
{>
product/left-content
}
}
</div>
<div
class=
"list-right pull-right"
>
{
{#
newMain
}
}
<div
class=
"new-banner"
>
<a
href=
"{{bannerHref}}"
>
<img
src=
"{{banner}}"
>
</a>
</div>
<div
class=
"new-brands clearfix"
>
<span
class=
"iconfont pre"
>
607
;</span>
<div
class=
"brands-wrap"
>
<ul
class=
"brands"
>
{
{#
brands
}
}
<li>
<a
href=
"{{href}}"
>
<img
src=
"{{logo}}"
>
</a>
</li>
{
{/
brands
}
}
</ul>
</div>
<span
class=
"iconfont next"
>
608
;</span>
</div>
<div
class=
"new-floor-title"
>
<span
class=
"date"
>
{
{date
}
}</span>
<span
class=
"title"
>
{
{title
}
}</span>
</div>
{
{/
newMain
}
}
{
{>
product/standard-content
}
}
</div>
</div>
{
{/
newSale
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
product/new-sale
}
}
\ No newline at end of file
...
...
template/www.yohobuy.com/actions/product/sale/new-sale.phtml
View file @
289988d
{
{>
layout/header
}
}
<div
class=
"new-sale-page product-page yoho-page"
>
{
{#
newSale
}
}
{
{#
saleBanner
}
}
<div
class=
"banner-img"
style=
"height: {{bannerHeight}}px;background:url({{img}}) no-repeat top center;"
></div>
{
{/
saleBanner
}
}
<div
class=
"center-content clearfix"
>
{
{>
layout/path-nav
}
}
{
{#
saleTitle
}
}
<div
class=
"header-title"
>
{
{name
}
}
<p
class=
"line-through"
></p>
<p
class=
"count-wrap"
>
<span
class=
"count"
>共
{
{count
}
}个结果</span>
</p>
</div>
{
{/
saleTitle
}
}
<div
class=
"list-left pull-left"
>
{
{>
product/left-content
}
}
</div>
<div
class=
"list-right pull-right"
>
{
{#
newMain
}
}
<div
class=
"new-banner"
>
<a
href=
"{{bannerHref}}"
>
<img
src=
"{{banner}}"
>
</a>
</div>
<div
class=
"new-brands clearfix"
>
<span
class=
"iconfont pre"
>
607
;</span>
<div
class=
"brands-wrap"
>
<ul
class=
"brands"
>
{
{#
brands
}
}
<li>
<a
href=
"{{href}}"
>
<img
src=
"{{logo}}"
>
</a>
</li>
{
{/
brands
}
}
</ul>
</div>
<span
class=
"iconfont next"
>
608
;</span>
</div>
<div
class=
"new-floor-title"
>
<span
class=
"date"
>
{
{date
}
}</span>
<span
class=
"title"
>
{
{title
}
}</span>
</div>
{
{/
newMain
}
}
{
{>
product/standard-content
}
}
</div>
</div>
{
{/
newSale
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
product/new-sale
}
}
\ No newline at end of file
...
...
template/www.yohobuy.com/actions/product/search/search.phtml
View file @
289988d
template/www.yohobuy.com/partials/product/list.phtml
0 → 100644
View file @
289988d
{
{>
layout/header
}
}
<div
class=
"product-list-page product-page yoho-page"
>
{
{#
list
}
}
{
{#
brandBanner
}
}
<div
class=
"brand-banner"
>
<div
class=
"banner-img"
style=
"height: {{bannerHeight}}px;background: url({{banner}})"
></div>
<div
class=
"opt-wrap"
>
<p
class=
"opt center-content"
>
<a
href=
"{{brandHome}}"
>
<i
class=
"iconfont"
>
617
;</i>
品牌首页
</a>
<a
href=
"{{brandIntro}}"
>
<i
class=
"iconfont"
>
618
;</i>
品牌介绍
</a>
<span
id=
"brand-favor"
class=
"brand-favor"
>
<i
class=
"iconfont{{#if coled}} coled{{/if}}"
>
616
;</i>
</span>
</p>
</div>
</div>
{
{/
brandBanner
}
}
<div
class=
"center-content clearfix"
>
{
{>
layout/path-nav
}
}
{
{#
brandAbout
}
}
<div
class=
"brand-about"
>
{
{{brandIntro
}
}}
</div>
{
{^
}
}
<div
class=
"list-left pull-left"
>
{
{>
product/left-content
}
}
</div>
<div
class=
"list-right pull-right"
>
{
{>
product/standard-content
}
}
{
{>
product/latest-walk
}
}
</div>
{
{/
brandAbout
}
}
</div>
{
{/
list
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/www.yohobuy.com/partials/product/new-sale.phtml
0 → 100644
View file @
289988d
{
{>
layout/header
}
}
<div
class=
"new-sale-page product-page yoho-page"
>
{
{#
newSale
}
}
{
{#
saleBanner
}
}
<div
class=
"banner-img"
style=
"height: {{bannerHeight}}px;background:url({{img}}) no-repeat top center;"
></div>
{
{/
saleBanner
}
}
<div
class=
"center-content clearfix"
>
{
{>
layout/path-nav
}
}
{
{#
saleTitle
}
}
<div
class=
"header-title"
>
{
{name
}
}
<p
class=
"line-through"
></p>
<p
class=
"count-wrap"
>
<span
class=
"count"
>共
{
{count
}
}个结果</span>
</p>
</div>
{
{/
saleTitle
}
}
<div
class=
"list-left pull-left"
>
{
{>
product/left-content
}
}
</div>
<div
class=
"list-right pull-right"
>
{
{#
newMain
}
}
<div
class=
"new-banner"
>
<a
href=
"{{bannerHref}}"
>
<img
src=
"{{banner}}"
>
</a>
</div>
<div
class=
"new-brands clearfix"
>
<span
class=
"iconfont pre"
>
607
;</span>
<div
class=
"brands-wrap"
>
<ul
class=
"brands"
>
{
{#
brands
}
}
<li>
<a
href=
"{{href}}"
>
<img
src=
"{{logo}}"
>
</a>
</li>
{
{/
brands
}
}
</ul>
</div>
<span
class=
"iconfont next"
>
608
;</span>
</div>
<div
class=
"new-floor-title"
>
<span
class=
"date"
>
{
{date
}
}</span>
<span
class=
"title"
>
{
{title
}
}</span>
</div>
{
{/
newMain
}
}
{
{>
product/standard-content
}
}
</div>
</div>
{
{/
newSale
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/www.yohobuy.com/partials/product/standard-content.phtml
View file @
289988d
Please
register
or
login
to post a comment