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
xuqi
2016-01-13 13:27:05 +0800
Commit
78f45e927b9478b3e1ae06ad86a40aaa4665fe01
1 parent
58d4d312
list & new-sale template.
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
116 additions
and
241 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 @
78f45e9
{
{>
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 @
78f45e9
{
{>
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 @
78f45e9
{
{>
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 @
78f45e9
{
{>
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 @
78f45e9
{
{>
layout/header
}
}
<div
class=
"product-search-page product-page yoho-page center-content"
>
{
{#
search
}
}
{
{>
layout/path-nav
}
}
{
{>
layout/path-nav
}
}
{
{>
product/shop-entry
}
}
{
{>
product/shop-entry
}
}
{
{>
product/standard-content
}
}
{
{>
product/standard-content
}
}
{
{>
product/latest-walk
}
}
{
{>
product/latest-walk
}
}
{
{/
search
}
}
</div>
{
{>
layout/footer
}
}
...
...
template/www.yohobuy.com/partials/product/list.phtml
0 → 100644
View file @
78f45e9
{
{>
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 @
78f45e9
{
{>
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 @
78f45e9
...
...
@@ -84,11 +84,11 @@
{
{>
product/good
}
}
{
{/each
}
}
{
{#
hasNextPage
}
}
<div
class=
"block-next-page"
>
<a
href=
"{{href}}"
>
<img
src=
"{{src}}"
alt=
""
/>
</a>
</div>
<div
class=
"block-next-page"
>
<a
href=
"{{href}}"
>
<img
src=
"{{src}}"
alt=
""
/>
</a>
</div>
{
{/
hasNextPage
}
}
<div
class=
"good-item-wrapper"
>
<div
class=
"good-info-main"
></div>
...
...
Please
register
or
login
to post a comment