Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ued
/
yohogirls_mustache
·
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
happyhour7
2015-04-24 11:13:53 +0800
Commit
c74144653485dac3e6c158441404263e18fbcadd
1 parent
c52bf9a7
banner多张图、但张图适配
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
partials/default/channel_banner.html
partials/default/channel_banner.html
View file @
c741446
{{# banner}}
<div
class=
"scrollPic-content"
>
<a
class=
"arrow arrow-left"
href=
"javascript:;"
></a>
<a
class=
"arrow arrow-right"
href=
"javascript:;"
></a>
<div
class=
"swiper-container"
style=
"cursor: -webkit-grab;"
>
<div
class=
"swiper-container
-banner {{# bannerLength}}swiper-container{{/ bannerLength}}
"
style=
"cursor: -webkit-grab;"
>
<div
class=
"swiper-wrapper"
style=
"width: 1080px; height: 507px;background-color: rgb(255, 255, 255);"
>
{{#
banner
}}
{{#
data
}}
<div
class=
"swiper-slide"
style=
"width: 992px; height: 504px; background: url(http://cmsres.test.yoho.cn/res/new/boys/images/loading.gif) 50% 50% no-repeat;"
>
<a
href=
"{{link}}"
target=
"_blank"
title=
"''"
>
<img
src=
"{{img}}"
alt=
"{{alt}}"
>
</a>
</div>
{{/
banner
}}
{{/
data
}}
</div>
</div>
<div
class=
"pagination pagination-banner {{# channel}}pagination-big-banner-{{.}}{{/ channel}}"
>
{{#
banner
}}
{{#
data
}}
<span
class=
" swiper-pagination swiper-pagination-switch swiper-pagination {{# isChoosen}} swiper-visible-switch{{/isChoosen}}"
></span>
{{/
banner
}}
{{/
data
}}
</div>
</div>
\ No newline at end of file
</div>
{{/ banner}}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment