from server afisha
This commit is contained in:
parent
db900931e1
commit
dacdc1a9f9
|
|
@ -76,11 +76,48 @@ function onStart(){
|
||||||
<div class="affiche-item-item">
|
<div class="affiche-item-item">
|
||||||
<div class="affiche-item-top">
|
<div class="affiche-item-top">
|
||||||
|
|
||||||
|
|
||||||
|
<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">
|
<div class="affiche-item-img">
|
||||||
{% if post.featured_image %}
|
<img src="{{img.photoq|media}}" alt="{{post.title}}" />
|
||||||
<img src="{{post.featured_image|media}}" alt="{{post.title}}" />
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</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">
|
||||||
<div class="affiche-item-data">
|
<div class="affiche-item-data">
|
||||||
|
|
|
||||||
|
|
@ -159,5 +159,7 @@ function onStart(){
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% put scripts %}
|
{% put scripts %}
|
||||||
|
<script src="{{'assets/new/scripts/core/affiche-item.js'|theme}}"></script>
|
||||||
<script src="{{'assets/new/scripts/core/rubric.js'|theme}}"></script>
|
<script src="{{'assets/new/scripts/core/rubric.js'|theme}}"></script>
|
||||||
|
|
||||||
{% endput %}
|
{% endput %}
|
||||||
Loading…
Reference in New Issue