Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

latestListings.vue 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <div>
  3. <section id="portfolio">
  4. <div style="margin-top:-60px">
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-lg-12">
  8. <h2>Latest Listings</h2>
  9. </div>
  10. </div>
  11. </div>
  12. <div class="contianer">
  13. <div class="row">
  14. <div class="col">
  15. <propertyCard
  16. v-if="properties.length > 0"
  17. name="propertyholder"
  18. :properties="properties"
  19. :showSort="false"
  20. />
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. </section>
  26. </div>
  27. </template>
  28. <script>
  29. /* eslint-disable */
  30. import { mapState, mapActions } from "vuex";
  31. import propertyCard from "../propertyCard";
  32. export default {
  33. components: {
  34. propertyCard
  35. },
  36. methods: {
  37. ...mapActions("propertySearch", ["searchProperties"])
  38. },
  39. mounted() {
  40. this.propertySearch.propertyUsageType = "Residential";
  41. this.searchProperties(this.propertySearch);
  42. },
  43. computed: {
  44. ...mapState("propertySearch", ["properties", "propertySearch"])
  45. }
  46. };
  47. </script>
  48. <style lang="scss" scoped></style>