Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

carouselSection.vue 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <section id="intro">
  3. <div class="container">
  4. <div class="row">
  5. <div align="left" class="col-sm-12 col-md-8">
  6. <div class="intro-content box">
  7. <h2>Let us manage your property</h2>
  8. <p>
  9. Uni-Vate Properties found that there was a desperate need for a reputable source for
  10. buyers and sellers to turn to with their timeshare needs in South Africa.
  11. </p>
  12. <a href="#" class="btn-solid-blue">LIST YOUR PROPERTY WITH UNI-VATE PROPERTIES</a>
  13. <router-link v-if="!isLoggedIn" to="/user/login" class="btn-white-border"
  14. >LOGIN TO OWNERS PORTAL</router-link
  15. >
  16. </div>
  17. </div>
  18. </div>
  19. </div>
  20. <carousel
  21. :nav="false"
  22. :dots="false"
  23. :items="1"
  24. :autoplay="true"
  25. :loop="true"
  26. :autoHeight="true"
  27. id="intro-carousel"
  28. style="margin-top:-50px;"
  29. :responsive="{ 0: { items: 1, nav: false }, 600: { items: 1, nav: false } }"
  30. >
  31. <img class="item" src="/img/intro-carousel/home-1.jpg" alt="" />
  32. <img class="item" src="/img/intro-carousel/16.jpg" alt="" />
  33. <img class="item" src="/img/intro-carousel/comm-1.jpg" alt="" />
  34. <img class="item" src="/img/intro-carousel/comm-4.jpg" alt="" />
  35. <img class="item" src="/img/intro-carousel/3.jpg" alt="" />
  36. <img class="item" src="/img/intro-carousel/home-5.jpg" alt="" />
  37. </carousel>
  38. <div id="intro-carousel" class="owl-carousel"></div>
  39. </section>
  40. </template>
  41. <script>
  42. /* eslint-disable */
  43. import { mapState, mapActions } from "vuex";
  44. import Log from "../../assets/Log";
  45. import carousel from "vue-owl-carousel";
  46. export default {
  47. components: {
  48. carousel
  49. },
  50. computed: {
  51. ...mapState("authentication", ["user", "flag", "status", "person", "token"]),
  52. isLoggedIn() {
  53. console.log(Log.isLoggedIn());
  54. return Log.isLoggedIn();
  55. }
  56. }
  57. };
  58. </script>
  59. <style lang="scss" scoped></style>