Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
zzzzzzz
2016-11-08 17:53:48 +0800
Commit
f93a37eb70757a5c0ba3be53428c1e12fa6c1946
1 parent
de27e07f
sale新品首发
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
32 deletions
apps/channel/views/partial/channel/content.hbs
doraemon/views/partial/resources/new-first.hbs
doraemon/views/partial/resources/sale-floor.hbs
apps/channel/views/partial/channel/content.hbs
View file @
f93a37e
...
...
@@ -88,10 +88,12 @@
{{#if
popularSingleProduct
}}
{{>
resources
/
hot-single
}}
{{/if}}
{{! SALE}}
{{#if
sale1T1L4R
}}
{{>
resources
/
sale-floor
}}
{{/if}}
{{! 新品首发楼层}}
{{#if
newProductFloor
}}
{{>
resources
/
new-first
}}
{{/if}}
{{/
content
}}
{{! 新品首发楼层}}
{{>
resources
/
new-first
}}
{{! SALE}}
{{>
resources
/
sale-floor
}}
...
...
doraemon/views/partial/resources/new-first.hbs
View file @
f93a37e
{{#
data
}}
<div
class=
"new-first clearfix"
>
{{! title不传不显示}}
{{>
common
/
floor-header-more
}}
<a
href=
""
class=
"float-container"
>
<img
src=
""
alt=
"left"
class=
"left"
/>
{{#
list
.[
0
]
}}
<a
href=
"
{{
url
}}
"
class=
"float-container"
>
<img
src=
"
{{
image
src
268
360
}}
"
alt=
"left"
class=
"left"
/>
</a>
<a
href=
""
class=
"float-container"
>
<img
src=
""
alt=
"right1"
class=
"right"
/>
{{/
list
.[
0
]
}}
{{#
list
.[
1
]
}}
<a
href=
"
{{
url
}}
"
class=
"float-container"
>
<img
src=
"
{{
image
src
186
180
}}
"
alt=
"right1"
class=
"right"
/>
</a>
<a
href=
""
class=
"float-container"
>
<img
src=
""
alt=
"right2"
class=
"right"
/>
{{/
list
.[
1
]
}}
{{#
list
.[
2
]
}}
<a
href=
"
{{
url
}}
"
class=
"float-container"
>
<img
src=
"
{{
image
src
186
180
}}
"
alt=
"right2"
class=
"right"
/>
</a>
<a
href=
""
class=
"float-container"
>
<img
src=
""
alt=
"right3"
class=
"right"
/>
{{/
liet
.[
2
]
}}
{{#
list
.[
3
]
}}
<a
href=
"
{{
url
}}
"
class=
"float-container"
>
<img
src=
"
{{
image
src
186
180
}}
"
alt=
"right3"
class=
"right"
/>
</a>
<a
href=
""
class=
"float-container"
>
<img
src=
""
alt=
"right4"
class=
"right"
/>
{{/
list
.[
3
]
}}
{{#
list
.[
4
]
}}
<a
href=
"
{{
url
}}
"
class=
"float-container"
>
<img
src=
"
{{
image
src
186
180
}}
"
alt=
"right4"
class=
"right"
/>
</a>
</div>
\ No newline at end of file
{{/
list
.[
4
]
}}
</div>
{{/
data
}}
\ No newline at end of file
...
...
doraemon/views/partial/resources/sale-floor.hbs
View file @
f93a37e
{{#
data
}}
<div
class=
"sale-floor clearfix"
>
{{>
common
/
floor-header-more
}}
<a
href=
""
>
<img
src=
""
alt=
"sale-banner"
class=
"sale-floor-banner"
/>
{{#
big_image
}}
<a
href=
"
{{
url
}}
"
>
<img
src=
"
{{
image
src
640
200
}}
"
alt=
"sale-banner"
class=
"sale-floor-banner"
/>
</a>
<a
href=
""
class=
"float-container time-floor"
>
<img
src=
""
alt=
"sale-limit"
class=
"sale-floor-limit"
>
<div
class=
"sale-floor-time"
>
{{/
big_image
}}
{{#
list
.[
0
]
}}
<a
href=
"
{{
url
}}
"
class=
"float-container time-floor"
>
<img
src=
"
{{
image
src
269
360
}}
"
alt=
"sale-limit"
class=
"sale-floor-limit"
>
<div
class=
"sale-floor-time"
data-time=
{{
end_seconds
}}
>
<p
class=
"limit-title"
><i
class=
"icon"
></i>
限时特卖
</p>
<span
class=
"hour"
>
00
</span>
:
<span
class=
"minute"
>
00
</span>
:
<span
class=
"second"
>
00
</span>
</div>
</a>
{{/
list
.[
0
]
}}
<a
href=
""
class=
"float-container"
>
<img
src=
""
alt=
"sale-break"
class=
"sale-floor-break"
>
{{#
list
.[
1
]
}}
<a
href=
"
{{
url
}}
"
class=
"float-container"
>
<img
src=
"
{{
image
src
284
180
}}
"
alt=
"sale-break"
class=
"sale-floor-break"
>
</a>
<a
href=
""
class=
"sale-floor-entry"
>
{{/
list
.[
1
]
}}
{{#
list
.[
2
]
}}
<a
href=
"
{{
url
}}
"
class=
"sale-floor-entry"
>
<h3
class=
"title"
>
断码区
</h3>
<p
class=
"entry"
>
点击进入
</p>
</a>
<a
href=
""
class=
"float-container"
>
<img
src=
""
alt=
"sale-discount"
class=
"sale-floor-discount"
>
{{/
list
.[
2
]
}}
{{#
list
.[
3
]
}}
<a
href=
"
{{
url
}}
"
class=
"float-container"
>
<img
src=
"
{{
image
src
284
180
}}
"
alt=
"sale-discount"
class=
"sale-floor-discount"
>
</a>
{{/
list
.[
3
]
}}
{{#
list
.[
4
]
}}
<a
href=
""
class=
"sale-floor-entry"
>
<h3
class=
"title"
>
折扣专区
</h3>
<p
class=
"entry"
>
点击进入
</p>
</a>
</div>
\ No newline at end of file
{{/
list
.[
4
]
}}
</div>
{{/
data
}}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment