Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
e434a6b9dd08bdfc09b362b6920c2dd585e701ce
1 parent
608cfc63
hbs url=>this.url
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
apps/channel/views/partial/ad-banner.hbs
apps/channel/views/partial/brand-img-box.hbs
apps/channel/views/partial/brand-text-box.hbs
apps/channel/views/partial/editorial.hbs
apps/channel/views/partial/new-arrival.hbs
apps/channel/views/partial/slider.hbs
apps/channel/views/partial/ad-banner.hbs
View file @
e434a6b
<div
class=
"ad-banner"
>
{{#
adBanner
}}
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
<img
class=
"lazy-img"
data-original=
"
{{
image
img
1150
160
}}
"
alt=
""
>
</a>
{{/
adBanner
}}
...
...
apps/channel/views/partial/brand-img-box.hbs
View file @
e434a6b
{{#
classicBrands
}}
<div
class=
"brand-img-box
{{#if
right
}}
right
{{/if}}
{{#if
bottomSpace
}}
mb10
{{/if}}
"
>
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
{{#
big
}}
<img
class=
"big-img lazy-img"
data-original=
"
{{
image
src
556
333
}}
"
alt=
"big-img"
>
{{/
big
}}
...
...
apps/channel/views/partial/brand-text-box.hbs
View file @
e434a6b
<div
class=
"brand-text-box"
>
<h4>
{{
productName
}}
</h4>
<p>
{{
productDesc
}}
</p>
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
<button>
{{
btnText
}}
</button>
</a>
</div>
...
...
apps/channel/views/partial/editorial.hbs
View file @
e434a6b
...
...
@@ -4,14 +4,14 @@
{{#
editorial
}}
<div
class=
"news left"
>
{{#
big
}}
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
<img
class=
"lazy-img"
data-original=
"
{{
image
src
395
495
}}
"
alt=
""
>
</a>
{{/
big
}}
</div>
<div
class=
"news right"
>
{{#
small
}}
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
<img
class=
"lazy-img
{{#if
bottomSpace
}}
bottom-space
{{/if}}
{{#if
rightSpace
}}
right-space
{{/if}}
"
data-original=
"
{{
image
src
360
240
}}
"
alt=
""
>
</a>
{{/
small
}}
...
...
apps/channel/views/partial/new-arrival.hbs
View file @
e434a6b
...
...
@@ -4,21 +4,21 @@
{{#
newArrivals
}}
<div
class=
"arrival-item
{{#if
smallImg
}}
small-img
{{/if}}
{{#if
@last
}}
last
{{^}}
normal
{{/if}}
"
>
{{#if
even
}}
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
<img
class=
"lazy-img"
data-original=
"
{{#if
smallImg
}}{{
image
src
223
490
}}{{^}}{{
image
src
325
490
}}{{/if}}
"
alt=
""
>
</a>
<div
class=
"brand-name"
>
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
<span
class=
"bottom"
>
{{
name
}}
</span>
</a>
</div>
{{^}}
<div
class=
"brand-name"
>
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
<span
class=
"top"
>
{{
name
}}
</span>
</a>
</div>
<a
href=
"
{{
url
}}
"
>
<a
href=
"
{{
this
.
url
}}
"
>
<img
class=
"lazy-img"
data-original=
"
{{#if
smallImg
}}{{
image
src
223
490
}}{{^}}{{
image
src
325
490
}}{{/if}}
"
alt=
""
>
</a>
{{/if}}
...
...
apps/channel/views/partial/slider.hbs
View file @
e434a6b
...
...
@@ -3,7 +3,7 @@
<ul>
{{#
slider
}}
<li
style=
"
{{#if
bgColor
}}
background:
{{
bgColor
}}{{/if}}
"
>
<a
href=
"
{{
url
}}
"
target=
"_blank"
>
<a
href=
"
{{
this
.
url
}}
"
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"
{{
image
src
1920
645
}}
"
alt=
""
>
</a>
{{#
tips
}}
...
...
@@ -22,7 +22,7 @@
<ul
class=
"clearfix"
>
{{#
pagination
}}
<li>
<a
href=
"
{{
url
}}
"
target=
"_blank"
></a>
<a
href=
"
{{
this
.
url
}}
"
target=
"_blank"
></a>
<img
src=
"
{{
image
src
138
54
}}
"
alt=
""
>
</li>
{{/
pagination
}}
...
...
Please
register
or
login
to post a comment