from server afisha
This commit is contained in:
parent
db900931e1
commit
dacdc1a9f9
|
|
@ -76,12 +76,49 @@ function onStart(){
|
|||
<div class="affiche-item-item">
|
||||
<div class="affiche-item-top">
|
||||
|
||||
<div class="affiche-item-img">
|
||||
{% if post.featured_image %}
|
||||
<img src="{{post.featured_image|media}}" alt="{{post.title}}" />
|
||||
|
||||
<div class="affiche-swiper-wrapper">
|
||||
<div class="swiper afficheSwiper">
|
||||
<div class="swiper-wrapper">
|
||||
|
||||
|
||||
{% if post.more_photo|length > 0 %}
|
||||
|
||||
{% for img in post.more_photo %}
|
||||
|
||||
<div class="swiper-slide">
|
||||
<div class="affiche-item-img">
|
||||
<img src="{{img.photoq|media}}" alt="{{post.title}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
{% else %}
|
||||
|
||||
<div class="swiper-slide">
|
||||
<div class="affiche-item-img">
|
||||
<img src="{{post.featured_image|media}}" alt="{{post.title}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="photo-prev video-prev affiche-prev">
|
||||
<img src="{{'assets/new/icons/arrow-left-white.svg'|theme}}" alt="" />
|
||||
</div>
|
||||
<div class="photo-next video-next affiche-next">
|
||||
<img src="{{'assets/new/icons/arrow-right-white.svg'|theme}}" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="affiche-item-data">
|
||||
<div class="affiche-item-data">
|
||||
|
||||
|
|
|
|||
|
|
@ -159,5 +159,7 @@ function onStart(){
|
|||
</section>
|
||||
|
||||
{% put scripts %}
|
||||
<script src="{{'assets/new/scripts/core/affiche-item.js'|theme}}"></script>
|
||||
<script src="{{'assets/new/scripts/core/rubric.js'|theme}}"></script>
|
||||
|
||||
{% endput %}
|
||||
Loading…
Reference in New Issue