Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张泽世
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to dashboard
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
王水玲
2016-05-12 12:01:25 +0800
Commit
5bcf315f4c84bcfd67b11721478d9aac5aba8c44
1 parent
aea97e7a
首页资源位模板跳转
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
38 additions
and
30 deletions
apps/channel/views/partial/channel/banner-top.hbs
apps/channel/views/partial/channel/banner.hbs
apps/channel/views/partial/channel/content.hbs
apps/channel/views/partial/channel/creative-life.hbs
apps/channel/views/partial/channel/goods-category.hbs
apps/channel/views/partial/channel/hot-brands-list.hbs
apps/channel/views/partial/channel/hot-category.hbs
apps/channel/views/partial/channel/icons-enter.hbs
apps/channel/views/partial/channel/notice.hbs
apps/channel/views/partial/channel/banner-top.hbs
View file @
5bcf315
<div
class=
"banner-top"
>
<div
class=
"banner-swiper swiper-container"
>
<ul
class=
"swiper-wrapper"
>
{{#
each
focus
}}
{{#
each
data
}}
{{#if
@first
}}
<li
class=
"swiper-slide"
>
<a
href=
"
{{
url
}}
"
>
...
...
apps/channel/views/partial/channel/banner.hbs
View file @
5bcf315
<div
class=
"banner-center"
>
{{#
data
}}
<div
class=
"banner-center"
>
<a
href=
"
{{
url
}}
"
>
<img
class=
"lazy"
data-original=
"
{{
image
src
640
200
}}
"
alt=
""
>
</a>
</div>
\ No newline at end of file
</div>
{{/
data
}}
\ No newline at end of file
...
...
apps/channel/views/partial/channel/content.hbs
View file @
5bcf315
...
...
@@ -8,9 +8,9 @@
{{>
channel
/
icons-enter
}}
{{/if}}
{{! 首页公告}}
{{
#
notice
}}
{{
!-- {{#announcement
}}
{{> channel/notice}}
{{/
notice
}}
{{/
announcement}} --
}}
{{! 中间banner}}
{{#
singleImage
}}
{{>
channel
/
banner
}}
...
...
apps/channel/views/partial/channel/creative-life.hbs
View file @
5bcf315
{{>
channel
/
floor-header-more
}}
<div
class=
"creative-life"
>
{{#
big_image
}}
{{#
data
}}
{{>
channel
/
floor-header-more
}}
<div
class=
"creative-life"
>
{{#
bigImage
}}
<a
class=
"banner"
href=
"
{{
url
}}
"
>
<img
class=
"lazy"
data-original=
"
{{
image
src
640
403
}}
"
>
</a>
{{/
big_i
mage
}}
{{/
bigI
mage
}}
<ul
class=
"classify-list clearfix"
>
{{#
list
}}
<li
class=
"classify"
>
...
...
@@ -17,4 +18,5 @@
</li>
{{/
list
}}
</ul>
</div>
\ No newline at end of file
</div>
{{/
data
}}
\ No newline at end of file
...
...
apps/channel/views/partial/channel/goods-category.hbs
View file @
5bcf315
{{>
channel
/
floor-header-more
}}
<div
class=
"goods-category"
>
{{#
big_image
}}
{{#if
big_list
}}
{{#
data
}}
{{>
channel
/
floor-header-more
}}
<div
class=
"goods-category"
>
{{#
bigImage
}}
{{#if
bigList
}}
<div
class=
"category-swiper"
>
<ul
class=
"swiper-wrapper"
>
{{#
big_l
ist
}}
{{#
bigL
ist
}}
<li
class=
"swiper-slide"
>
<a
href=
"
{{
url
}}
"
>
<img
class=
"lazy"
data-original=
"
{{
image
src
640
403
}}
"
alt=
"
{{
title
}}
"
>
</a>
</li>
{{/
big_l
ist
}}
{{/
bigL
ist
}}
</ul>
<div
class=
"swiper-pagination"
>
<div
class=
"pagination-inner clearfix"
>
...
...
@@ -24,7 +25,7 @@
</a>
</div>
{{/if}}
{{/
big_i
mage
}}
{{/
bigI
mage
}}
<ul
class=
"category-list clearfix"
>
{{#
list
}}
<li>
...
...
@@ -41,4 +42,5 @@
</li>
{{/
list
}}
</ul>
</div>
\ No newline at end of file
</div>
{{/
data
}}
\ No newline at end of file
...
...
apps/channel/views/partial/channel/hot-brands-list.hbs
View file @
5bcf315
<ul
class=
"hot-brands clearfix"
>
{{>
channel
/
floor-header
}}
{{#
data
}}
<ul
class=
"hot-brands clearfix"
>
{{>
channel
/
floor-header
}}
{{#
list
}}
<li
class=
"brand"
>
<a
href=
"
{{
url
}}
"
>
...
...
@@ -13,4 +14,5 @@
<li
class=
"more"
>
<a
href=
"
{{
more
}}
"
></a>
</li>
</ul>
\ No newline at end of file
</ul>
{{/
data
}}
\ No newline at end of file
...
...
apps/channel/views/partial/channel/hot-category.hbs
View file @
5bcf315
<div
class=
"hot-category"
>
{{#
data
}}
<div
class=
"hot-category"
>
{{>
channel
/
floor-header
}}
{{#
banner
}}
...
...
@@ -17,4 +18,5 @@
</li>
{{/
list
}}
</ul>
</div>
\ No newline at end of file
</div>
{{/
data
}}
\ No newline at end of file
...
...
apps/channel/views/partial/channel/icons-enter.hbs
View file @
5bcf315
<div
class=
"icons-wrapper"
>
<ul
class=
"icons-list clearfix"
>
{{#
appIconList
}}
{{#
data
}}
<li
class=
"icons-item"
><a
href=
"
{{
url
}}
"
class=
"imagebar"
><img
src=
"
{{
image
src
98
98
}}
"
alt=
""
></a><a
href=
"
{{
url
}}
"
class=
"linkbar"
>
{{
title
}}
</a></li>
{{/
appIconList
}}
{{/
data
}}
</ul>
</div>
...
...
apps/channel/views/partial/channel/notice.hbs
View file @
5bcf315
{{#if
notice
.
open
}}
<div
class=
"notice-wrap clearfix"
>
<div
class=
"trend"
>
</div>
<div
class=
"notice"
data-time=
"
{{
notice
.
time
}}
"
>
{{#
notice
.
list
}}
<div
class=
"notice"
data-time=
"
{{
time
}}
"
>
{{#
data
}}
<a
class=
"notice-item item-
{{
@index
}}
"
href=
"
{{
url
}}
"
>
<span
class=
"notice-icon"
></span>
{{
title
}}
</a>
{{/
notice
.
list
}}
{{/
data
}}
</div>
</div>
{{/if}}
...
...
Please
register
or
login
to post a comment