Quellcode durchsuchen

Landing Pages fixes

master
GJWilliams87 vor 4 Jahren
Ursprung
Commit
edea64184f

+ 5
- 0
package-lock.json Datei anzeigen

@@ -12432,6 +12432,11 @@
12432 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 12440
     "vue-owl-carousel": {
12436 12441
       "version": "2.0.3",
12437 12442
       "resolved": "https://registry.npmjs.org/vue-owl-carousel/-/vue-owl-carousel-2.0.3.tgz",

+ 1
- 0
package.json Datei anzeigen

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

BIN
public/img/blankImg.png Datei anzeigen


BIN
public/img/commercial.jpg Datei anzeigen


BIN
public/img/logos.jpg Datei anzeigen


BIN
public/img/logos/7Across-logo.png Datei anzeigen


BIN
public/img/residential.jpg Datei anzeigen


+ 6
- 2
src/components/home/propertySection.vue Datei anzeigen

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

+ 8
- 4
src/components/property/commercial/latestListings.vue Datei anzeigen

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

+ 9
- 5
src/components/property/residential/latestListings.vue Datei anzeigen

@@ -32,17 +32,21 @@ import { mapState, mapActions } from "vuex";
32 32
 import propertyCard from "../propertyCard";
33 33
 export default {
34 34
   components: {
35
-    propertyCard,
35
+    propertyCard
36 36
   },
37 37
   methods: {
38 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 47
   computed: {
44
-    ...mapState("propertySearch", ["latestProperties"]),
45
-  },
48
+    ...mapState("propertySearch", ["latestProperties"])
49
+  }
46 50
 };
47 51
 </script>
48 52
 

+ 2
- 2
src/components/shared/footerSection.vue Datei anzeigen

@@ -68,9 +68,9 @@
68 68
           </div>
69 69
         </div>
70 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 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 74
             /></a>
75 75
           </div>
76 76
           <div class="col-lg-2 p-4">

+ 10
- 5
src/components/timeshare/buy/latestWeeks.vue Datei anzeigen

@@ -21,6 +21,9 @@
21 21
           </div>
22 22
         </div>
23 23
       </div>
24
+      <div v-else>
25
+        <vue-loaders-ball-clip-rotate />
26
+      </div>
24 27
     </div>
25 28
   </section>
26 29
 </template>
@@ -33,11 +36,8 @@ export default {
33 36
     ...mapState("resort", ["resort", "description", "images", "layout"]),
34 37
     ...mapGetters("timeshare", ["getLatestWeeks"])
35 38
   },
36
-  mounted() {},
37 39
   created() {
38
-    this.retrieveLatestWeeks().then(() => {
39
-      this.boolLoaded = true;
40
-    });
40
+    this.LoadData();
41 41
   },
42 42
   data() {
43 43
     return {
@@ -53,7 +53,12 @@ export default {
53 53
     },
54 54
     ...mapActions("weekList", ["getWeeks", "applyResortFilter"]),
55 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 64
 </script>

+ 1
- 0
src/components/timeshare/sell/contentSectionNew.vue Datei anzeigen

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

+ 7
- 4
src/main.js Datei anzeigen

@@ -16,7 +16,10 @@ import VueAnalytics from 'vue-analytics';
16 16
 import JsonExcel from "vue-json-excel";
17 17
 import VModal from "vue-js-modal";
18 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 23
 Vue.use(VueSocialSharing);
21 24
 Vue.use(EvaIcons);
22 25
 Vue.use(Vuetify);
@@ -37,10 +40,10 @@ Vue.use(VueGoogleMaps, {
37 40
   }
38 41
 });
39 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 48
 Vue.config.productionTip = false;
46 49
 //axios.defaults.baseURL = "http://localhost:57260";

Laden…
Abbrechen
Speichern