Browse Source

Landing Pages fixes

master
GJWilliams87 4 years ago
parent
commit
edea64184f

+ 5
- 0
package-lock.json View File

12432
         "vue-style-loader": "^4.1.0"
12432
         "vue-style-loader": "^4.1.0"
12433
       }
12433
       }
12434
     },
12434
     },
12435
+    "vue-loaders": {
12436
+      "version": "4.1.4",
12437
+      "resolved": "https://registry.npmjs.org/vue-loaders/-/vue-loaders-4.1.4.tgz",
12438
+      "integrity": "sha512-YlT9js3/NSQr8CTebto0NM9jaUl+kkGR3HgdCvoDV2H3NLzCrzSUxzo+VkPgPzBrOs8s40Bad+OX1XOZexeeVQ=="
12439
+    },
12435
     "vue-owl-carousel": {
12440
     "vue-owl-carousel": {
12436
       "version": "2.0.3",
12441
       "version": "2.0.3",
12437
       "resolved": "https://registry.npmjs.org/vue-owl-carousel/-/vue-owl-carousel-2.0.3.tgz",
12442
       "resolved": "https://registry.npmjs.org/vue-owl-carousel/-/vue-owl-carousel-2.0.3.tgz",

+ 1
- 0
package.json View File

38
     "vue-float-label": "^1.6.1",
38
     "vue-float-label": "^1.6.1",
39
     "vue-js-modal": "^1.3.33",
39
     "vue-js-modal": "^1.3.33",
40
     "vue-json-excel": "^0.2.99",
40
     "vue-json-excel": "^0.2.99",
41
+    "vue-loaders": "^4.1.4",
41
     "vue-owl-carousel": "^2.0.3",
42
     "vue-owl-carousel": "^2.0.3",
42
     "vue-router": "^3.1.5",
43
     "vue-router": "^3.1.5",
43
     "vue-social-sharing": "^3.0.0-beta.11",
44
     "vue-social-sharing": "^3.0.0-beta.11",

BIN
public/img/blankImg.png View File


BIN
public/img/commercial.jpg View File


BIN
public/img/logos.jpg View File


BIN
public/img/logos/7Across-logo.png View File


BIN
public/img/residential.jpg View File


+ 6
- 2
src/components/home/propertySection.vue View File

37
     ...mapState("propertySearch", ["latestProperties"])
37
     ...mapState("propertySearch", ["latestProperties"])
38
   },
38
   },
39
   methods: {
39
   methods: {
40
-    ...mapActions("propertySearch", ["searchLatestProperties"])
40
+    ...mapActions("propertySearch", ["searchLatestProperties"]),
41
+    LoadData() {
42
+      this.searchLatestProperties();
43
+      this.$forceUpdate();
44
+    }
41
   },
45
   },
42
   mounted() {
46
   mounted() {
43
-    this.searchLatestProperties();
47
+    this.LoadData();
44
   }
48
   }
45
 };
49
 };
46
 </script>
50
 </script>

+ 8
- 4
src/components/property/commercial/latestListings.vue View File

30
 import propertyCard from "../propertyCard";
30
 import propertyCard from "../propertyCard";
31
 export default {
31
 export default {
32
   components: {
32
   components: {
33
-    propertyCard,
33
+    propertyCard
34
   },
34
   },
35
   methods: {
35
   methods: {
36
     ...mapActions("propertySearch", ["searchLatestPropertiesType"]),
36
     ...mapActions("propertySearch", ["searchLatestPropertiesType"]),
37
+    LoadData() {
38
+      this.searchLatestPropertiesType("Commercial");
39
+      this.$forceUpdate();
40
+    }
37
   },
41
   },
38
   mounted() {
42
   mounted() {
39
-    this.searchLatestPropertiesType("Commercial");
43
+    this.LoadData();
40
   },
44
   },
41
   computed: {
45
   computed: {
42
-    ...mapState("propertySearch", ["latestProperties"]),
43
-  },
46
+    ...mapState("propertySearch", ["latestProperties"])
47
+  }
44
 };
48
 };
45
 </script>
49
 </script>
46
 
50
 

+ 9
- 5
src/components/property/residential/latestListings.vue View File

32
 import propertyCard from "../propertyCard";
32
 import propertyCard from "../propertyCard";
33
 export default {
33
 export default {
34
   components: {
34
   components: {
35
-    propertyCard,
35
+    propertyCard
36
   },
36
   },
37
   methods: {
37
   methods: {
38
     ...mapActions("propertySearch", ["searchLatestPropertiesType"]),
38
     ...mapActions("propertySearch", ["searchLatestPropertiesType"]),
39
+    async LoadData() {
40
+      await this.searchLatestPropertiesType("Residential");
41
+      this.$forceUpdate();
42
+    }
39
   },
43
   },
40
-  async mounted() {
41
-    await this.searchLatestPropertiesType("Residential");
44
+  mounted() {
45
+    this.LoadData();
42
   },
46
   },
43
   computed: {
47
   computed: {
44
-    ...mapState("propertySearch", ["latestProperties"]),
45
-  },
48
+    ...mapState("propertySearch", ["latestProperties"])
49
+  }
46
 };
50
 };
47
 </script>
51
 </script>
48
 
52
 

+ 2
- 2
src/components/shared/footerSection.vue View File

68
           </div>
68
           </div>
69
         </div>
69
         </div>
70
         <div class="row justify-content-center">
70
         <div class="row justify-content-center">
71
-          <div class="col-lg-2 p-4">
71
+          <div class="col-lg-2 p-4" style="margin-top:-15px">
72
             <a href="https://www.daelive.com/" target="_blank"
72
             <a href="https://www.daelive.com/" target="_blank"
73
-              ><img src="../../../public/img/logos/daeNew.png"
73
+              ><img style="width:100px" src="../../../public/img/logos/7Across-logo.png"
74
             /></a>
74
             /></a>
75
           </div>
75
           </div>
76
           <div class="col-lg-2 p-4">
76
           <div class="col-lg-2 p-4">

+ 10
- 5
src/components/timeshare/buy/latestWeeks.vue View File

21
           </div>
21
           </div>
22
         </div>
22
         </div>
23
       </div>
23
       </div>
24
+      <div v-else>
25
+        <vue-loaders-ball-clip-rotate />
26
+      </div>
24
     </div>
27
     </div>
25
   </section>
28
   </section>
26
 </template>
29
 </template>
33
     ...mapState("resort", ["resort", "description", "images", "layout"]),
36
     ...mapState("resort", ["resort", "description", "images", "layout"]),
34
     ...mapGetters("timeshare", ["getLatestWeeks"])
37
     ...mapGetters("timeshare", ["getLatestWeeks"])
35
   },
38
   },
36
-  mounted() {},
37
   created() {
39
   created() {
38
-    this.retrieveLatestWeeks().then(() => {
39
-      this.boolLoaded = true;
40
-    });
40
+    this.LoadData();
41
   },
41
   },
42
   data() {
42
   data() {
43
     return {
43
     return {
53
     },
53
     },
54
     ...mapActions("weekList", ["getWeeks", "applyResortFilter"]),
54
     ...mapActions("weekList", ["getWeeks", "applyResortFilter"]),
55
     ...mapActions("resort", ["getImage1", "getResortData"]),
55
     ...mapActions("resort", ["getImage1", "getResortData"]),
56
-    ...mapActions("timeshare", ["retrieveLatestWeeks"])
56
+    ...mapActions("timeshare", ["retrieveLatestWeeks"]),
57
+    LoadData() {
58
+      this.retrieveLatestWeeks().then(() => {
59
+        this.boolLoaded = true;
60
+      });
61
+    }
57
   }
62
   }
58
 };
63
 };
59
 </script>
64
 </script>

+ 1
- 0
src/components/timeshare/sell/contentSectionNew.vue View File

1101
         this.$router.push("/user/login");
1101
         this.$router.push("/user/login");
1102
       }
1102
       }
1103
     },
1103
     },
1104
+
1104
     paygateRedirect() {
1105
     paygateRedirect() {
1105
       var amount = this.getListingFee.amount;
1106
       var amount = this.getListingFee.amount;
1106
       var paymentObj = {
1107
       var paymentObj = {

+ 7
- 4
src/main.js View File

16
 import JsonExcel from "vue-json-excel";
16
 import JsonExcel from "vue-json-excel";
17
 import VModal from "vue-js-modal";
17
 import VModal from "vue-js-modal";
18
 import vueFloatLabel from "vue-float-label";
18
 import vueFloatLabel from "vue-float-label";
19
+import 'vue-loaders/dist/vue-loaders.css';
20
+import VueLoaders from 'vue-loaders';
19
 
21
 
22
+Vue.use(VueLoaders);
20
 Vue.use(VueSocialSharing);
23
 Vue.use(VueSocialSharing);
21
 Vue.use(EvaIcons);
24
 Vue.use(EvaIcons);
22
 Vue.use(Vuetify);
25
 Vue.use(Vuetify);
37
   }
40
   }
38
 });
41
 });
39
 //More info @ https://webdeasy.de/en/vue-analytics-en/
42
 //More info @ https://webdeasy.de/en/vue-analytics-en/
40
-Vue.use(VueAnalytics, {
41
-  id: 'UA-128891091-1',
42
-  router
43
-});
43
+// Vue.use(VueAnalytics, {
44
+//   id: 'UA-128891091-1',
45
+//   router
46
+// });
44
 
47
 
45
 Vue.config.productionTip = false;
48
 Vue.config.productionTip = false;
46
 //axios.defaults.baseURL = "http://localhost:57260";
49
 //axios.defaults.baseURL = "http://localhost:57260";

Loading…
Cancel
Save