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
Plain Diff
Browse Files
Authored by
周奇琪
9 years ago
Commit
0dadf7db5731418efee00c78b141a06bd16359af
2 parents
ed177cbf
60b70334
Merge branch 'develop' of git.yoho.cn:fe/yoho-blk into develop
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
apps/channel/models/index.js
apps/channel/views/partial/slider.hbs
apps/channel/models/index.js
View file @
0dadf7d
...
...
@@ -5,7 +5,11 @@ const getContent = () => {
{
slider
:
[
{
img
:
'//img10.static.yhbimg.com/yhb-img01/2016/06/28/11/015a86ade17dc6213bab85b2162adebcd6.jpg?imageView2/2/w/1150/h/450'
,
img
:
'//placehold.it/{width}x{height}'
,
link
:
'/'
},
{
img
:
'//img10.static.yhbimg.com/yhb-img01/2016/06/28/11/015a86ade17dc6213bab85b2162adebcd6.jpg?imageView2/2/w/1920/h/650'
,
link
:
'/'
},
{
...
...
apps/channel/views/partial/slider.hbs
View file @
0dadf7d
...
...
@@ -4,11 +4,7 @@
{{#
slider
}}
<li
style=
"
{{#if
bgColor
}}
background:
{{
bgColor
}}{{/if}}
"
>
<a
href=
"
{{
url
}}
"
target=
"_blank"
>
{{#if
@first
}}
<img
src=
"
{{
image
img
1920
645
}}
"
>
{{^}}
<img
class=
"lazy"
data-original=
"
{{
image
img
1920
645
}}
"
alt=
""
>
{{/if}}
</a>
{{#
tips
}}
<div
class=
"slide-tips"
>
...
...
Please
register
or
login
to post a comment