Skip to content

Instantly share code, notes, and snippets.

@gpism
Created February 11, 2019 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gpism/f8d9318f6fd6501dc63a8c53ea2d5aee to your computer and use it in GitHub Desktop.
Save gpism/f8d9318f6fd6501dc63a8c53ea2d5aee to your computer and use it in GitHub Desktop.
<template>
<f7-page>
<f7-navbar title="3D Coverflow Effect" back-link="Back"></f7-navbar>
<div data-pagination='{"el": ".swiper-pagination"}' data-effect="coverflow" data-slides-per-view="auto" data-centered-slides="true" class="swiper-container swiper-init demo-swiper demo-swiper-coverflow">
<div class="swiper-pagination"></div>
<div class="swiper-wrapper">
<f7-card class="demo-card-header-pic">
<f7-card-header
class="no-border"
valign="bottom"
style="background-image:url(https://cdn.framework7.io/placeholder/nature-1000x600-3.jpg)"
>Journey To Mountains</f7-card-header>
<f7-card-content>
<p class="date">Posted on January 21, 2015</p>
<p>Quisque eget vestibulum nulla. Quisque quis dui quis ex ultricies efficitur vitae non felis. Phasellus quis nibh hendrerit...</p>
</f7-card-content>
<f7-card-footer>
<f7-link>Like</f7-link>
<f7-link>Read more</f7-link>
</f7-card-footer>
</f7-card>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-1.jpg)" class="swiper-slide">Slide 1</div>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-2.jpg)" class="swiper-slide">Slide 2</div>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-3.jpg)" class="swiper-slide">Slide 3</div>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-4.jpg)" class="swiper-slide">Slide 4</div>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-5.jpg)" class="swiper-slide">Slide 5</div>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-6.jpg)" class="swiper-slide">Slide 6</div>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-7.jpg)" class="swiper-slide">Slide 7</div>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-8.jpg)" class="swiper-slide">Slide 8</div>
<div style="background-image:url(https://cdn.framework7.io/placeholder/nature-800x800-9.jpg)" class="swiper-slide">Slide 9</div>
</div>
</div>
</f7-page>
</template>
<script>
import { f7Navbar, f7Page , f7Card, f7CardHeader, f7CardContent, f7CardFooter} from 'framework7-vue';
export default {
components: {
f7Navbar,
f7Page,
f7Card,
f7CardHeader,
f7CardContent,
f7CardFooter
},
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment