|
@@ -45,9 +45,7 @@
|
45
|
45
|
</div>
|
46
|
46
|
</div>
|
47
|
47
|
|
48
|
|
- <div class="btn-white-border">
|
49
|
|
- <i class="fa fa-search"></i>BOOK A VIEWING
|
50
|
|
- </div>
|
|
48
|
+ <div class="btn-white-border"><i class="fa fa-search"></i>BOOK A VIEWING</div>
|
51
|
49
|
</div>
|
52
|
50
|
<div class="panel-left px-5 pb-5 text-center">
|
53
|
51
|
<h4 class="text-white">Share this Property</h4>
|
|
@@ -80,10 +78,9 @@
|
80
|
78
|
<div></div>
|
81
|
79
|
<div class="col-md-8 p-5 resort-profile">
|
82
|
80
|
<h2 v-if="property.showAddress">
|
83
|
|
- <div
|
84
|
|
- style="display:inline"
|
85
|
|
- v-if="property.propertyName !== null"
|
86
|
|
- >{{ property.propertyName }} /</div>
|
|
81
|
+ <div style="display:inline" v-if="property.propertyName !== null">
|
|
82
|
+ {{ property.propertyName }} /
|
|
83
|
+ </div>
|
87
|
84
|
{{ property.streetNumber }} {{ property.streetName }}
|
88
|
85
|
</h2>
|
89
|
86
|
<h2 v-else>{{ property.propertyName }}</h2>
|
|
@@ -100,9 +97,10 @@
|
100
|
97
|
style="float:right"
|
101
|
98
|
class="btn-solid-blue mt-3"
|
102
|
99
|
:to="{ name: 'EnquireNow', params: { id: $route.params.id } }"
|
103
|
|
- >MORE INFO...</router-link>
|
|
100
|
+ >MORE INFO...</router-link
|
|
101
|
+ >
|
104
|
102
|
<h4>Property Features</h4>
|
105
|
|
-
|
|
103
|
+ {{ propertyFeatures }}
|
106
|
104
|
<div v-for="(data, i) in property.displayData" :key="i" class="row my-3">
|
107
|
105
|
<div v-for="(field, j) in data.values" :key="j" class="col-md-6">
|
108
|
106
|
<div v-if="field.value.toUpperCase() != 'TRUE'">
|
|
@@ -154,11 +152,11 @@ import { ShareFacebook } from "vue-social-sharing";
|
154
|
152
|
export default {
|
155
|
153
|
components: {
|
156
|
154
|
gallery,
|
157
|
|
- ShareFacebook,
|
|
155
|
+ ShareFacebook
|
158
|
156
|
},
|
159
|
157
|
props: {
|
160
|
158
|
property: {},
|
161
|
|
- propertyImages: {},
|
|
159
|
+ propertyImages: {}
|
162
|
160
|
},
|
163
|
161
|
created() {
|
164
|
162
|
//this.getListsForPropertyEdit(this.property.id);
|
|
@@ -170,7 +168,7 @@ export default {
|
170
|
168
|
return {
|
171
|
169
|
index: null,
|
172
|
170
|
date: new Date(),
|
173
|
|
- currentUrl: "",
|
|
171
|
+ currentUrl: ""
|
174
|
172
|
};
|
175
|
173
|
},
|
176
|
174
|
methods: {
|
|
@@ -193,17 +191,22 @@ export default {
|
193
|
191
|
}
|
194
|
192
|
return "";
|
195
|
193
|
},
|
|
194
|
+ propertyFeatures() {
|
|
195
|
+ this.property.displayData.forEach(data => {
|
|
196
|
+ console.log(data);
|
|
197
|
+ });
|
|
198
|
+ },
|
196
|
199
|
Images() {
|
197
|
200
|
const list = [];
|
198
|
201
|
for (let i = 0; i < this.propertyImages.length; i++) {
|
199
|
202
|
list.push(this.propertyImages[i].image);
|
200
|
203
|
}
|
201
|
204
|
return list;
|
202
|
|
- },
|
|
205
|
+ }
|
203
|
206
|
},
|
204
|
207
|
created() {
|
205
|
208
|
this.$emit("Loaded", true);
|
206
|
|
- },
|
|
209
|
+ }
|
207
|
210
|
};
|
208
|
211
|
</script>
|
209
|
212
|
|