30117125 4 jaren geleden
bovenliggende
commit
3ef1902108

+ 5
- 0
package-lock.json Bestand weergeven

@@ -12302,6 +12302,11 @@
12302 12302
       "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.11.tgz",
12303 12303
       "integrity": "sha512-VfPwgcGABbGAue9+sfrD4PuwFar7gPb1yl1UK1MwXoQPAw0BKSqWfoYCT/ThFrdEVWoI51dBuyCoiNU9bZDZxQ=="
12304 12304
     },
12305
+    "vue-analytics": {
12306
+      "version": "5.22.1",
12307
+      "resolved": "https://registry.npmjs.org/vue-analytics/-/vue-analytics-5.22.1.tgz",
12308
+      "integrity": "sha512-HPKQMN7gfcUqS5SxoO0VxqLRRSPkG1H1FqglsHccz6BatBatNtm/Vyy8brApktZxNCfnAkrSVDpxg3/FNDeOgQ=="
12309
+    },
12305 12310
     "vue-carousel": {
12306 12311
       "version": "0.18.0",
12307 12312
       "resolved": "https://registry.npmjs.org/vue-carousel/-/vue-carousel-0.18.0.tgz",

+ 1
- 0
package.json Bestand weergeven

@@ -29,6 +29,7 @@
29 29
     "stylus-loader": "^3.0.2",
30 30
     "v-file-upload": "^3.1.7",
31 31
     "vue": "^2.6.11",
32
+    "vue-analytics": "^5.22.1",
32 33
     "vue-carousel": "^0.18.0",
33 34
     "vue-cryptojs": "^2.1.5",
34 35
     "vue-currency-input": "^1.22.3",

+ 5
- 0
src/components/property/commercial/commercialCarouselSection.vue Bestand weergeven

@@ -133,6 +133,11 @@ export default {
133 133
       this.propertySearch.suburb = place.suburb;
134 134
     },
135 135
   },
136
+  mounted() {    
137
+    this.propertySearch.city = "All";
138
+    this.propertySearch.suburb = "All";
139
+    this.propertySearch.province = "All";
140
+  }
136 141
 };
137 142
 </script>
138 143
 

+ 6
- 0
src/components/property/commercial/commercialSearchResults.vue Bestand weergeven

@@ -43,6 +43,7 @@
43 43
       </div>
44 44
     </section> -->
45 45
     <section v-else id="intro" style="margin-bottom:-50px">
46
+      <br/>
46 47
       <div class="container">
47 48
         <div class="row d-flex justify-content-center">
48 49
           <div class="col-md-8">
@@ -138,6 +139,11 @@ export default {
138 139
     ParamsChanged() {
139 140
       return null;
140 141
     }
142
+  },
143
+  beforeDestroy(){
144
+    this.propertySearch.city = "All";
145
+    this.propertySearch.suburb = "All";
146
+    this.propertySearch.province = "All";    
141 147
   }
142 148
 };
143 149
 </script>

+ 5
- 0
src/components/property/residential/residentialCarouselSection.vue Bestand weergeven

@@ -153,6 +153,11 @@ export default {
153 153
       this.propertySearch.suburb = place.suburb;
154 154
     },
155 155
   },
156
+  mounted() {    
157
+    this.propertySearch.city = "All";
158
+    this.propertySearch.suburb = "All";
159
+    this.propertySearch.province = "All";
160
+  }
156 161
 };
157 162
 </script>
158 163
 

+ 10
- 2
src/components/property/residential/residentialSearchResults.vue Bestand weergeven

@@ -12,6 +12,7 @@
12 12
       :showSort="false"
13 13
     />
14 14
     <section v-else id="intro" style="margin-bottom:-50px">
15
+      <br/>
15 16
       <div class="container">
16 17
         <div class="row d-flex justify-content-center">
17 18
           <div class="col-md-8">
@@ -29,7 +30,7 @@
29 30
         :items="1"
30 31
         :autoplay="true"
31 32
         :loop="true"
32
-        id="intro-carousel"
33
+        id="intro-carousel_residential"
33 34
         style="margin-top:-50px"
34 35
         :responsive="{ 0: { items: 1, nav: false }, 600: { items: 1, nav: false } }"
35 36
       >
@@ -48,11 +49,13 @@
48 49
 /* eslint-disable */
49 50
 import { mapState, mapActions } from "vuex";
50 51
 import propertyCard from "../propertyCardSearch";
52
+import carousel from "vue-owl-carousel";
51 53
 
52 54
 export default {
53 55
   name: "propertysearch",
54 56
   components: {
55
-    propertyCard
57
+    propertyCard,
58
+     carousel
56 59
   },
57 60
   data() {
58 61
     return {
@@ -107,6 +110,11 @@ export default {
107 110
     ParamsChanged() {
108 111
       return null;
109 112
     }
113
+  },
114
+  beforeDestroy(){
115
+    this.propertySearch.city = "All";
116
+    this.propertySearch.suburb = "All";
117
+    this.propertySearch.province = "All";    
110 118
   }
111 119
 };
112 120
 </script>

+ 7
- 0
src/main.js Bestand weergeven

@@ -12,6 +12,7 @@ import VueSocialSharing from "vue-social-sharing";
12 12
 import VueCurrencyInput from "vue-currency-input";
13 13
 import VueFloatLabel from "vue-float-label";
14 14
 import VueCryptojs from "vue-cryptojs";
15
+import VueAnalytics from 'vue-analytics';
15 16
 
16 17
 Vue.use(VueSocialSharing);
17 18
 Vue.use(EvaIcons);
@@ -31,6 +32,12 @@ Vue.use(VueGoogleMaps, {
31 32
     // v: '3.26',
32 33
   }
33 34
 });
35
+//More info @ https://webdeasy.de/en/vue-analytics-en/
36
+Vue.use(VueAnalytics, {
37
+  id: 'UA-128891091-1',
38
+  router
39
+});
40
+
34 41
 Vue.config.productionTip = false;
35 42
 //axios.defaults.baseURL = "http://localhost:57260";
36 43
 //axios.defaults.baseURL = "https://www.pvsl.co.za:86/";

Laden…
Annuleren
Opslaan