123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <template>
- <div>
- <section id="portfolio">
- <div style="margin-top:-60px">
- <div class="container">
- <div class="row">
- <div class="col-lg-12">
- <h2>Latest Listings</h2>
- </div>
- </div>
- </div>
- <div class="contianer">
- <div class="row">
- <div class="col">
- <propertyCard
- v-if="properties.length > 0"
- name="propertyholder"
- :properties="properties"
- :showSort="false"
- />
- </div>
- </div>
- </div>
- </div>
- </section>
- </div>
- </template>
-
- <script>
- /* eslint-disable */
- import { mapState, mapActions } from "vuex";
- import propertyCard from "../propertyCard";
- export default {
- components: {
- propertyCard
- },
- methods: {
- ...mapActions("propertySearch", ["searchProperties"])
- },
- mounted() {
- this.propertySearch.propertyUsageType = "Residential";
-
- this.searchProperties(this.propertySearch);
- },
- computed: {
- ...mapState("propertySearch", ["properties", "propertySearch"])
- }
- };
- </script>
-
- <style lang="scss" scoped></style>
|