Lene 4 년 전
부모
커밋
ce598e7ffe

+ 15
- 16
src/components/admin/property/userDefinedField.vue 파일 보기

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div>
2
+  <main id="main">
3 3
     <div class="container">
4 4
       <br />
5 5
       <div class="row">
@@ -54,27 +54,26 @@
54 54
           </form>
55 55
         </div>
56 56
       </div>
57
+      <div class="row">
58
+        <div align="center" class="col">
59
+          <button type="button" @click="SubmitData()" class="btn-solid-blue mb-5">
60
+            Save
61
+          </button>
62
+        </div>
63
+      </div>
57 64
     </div>
58
-    <button
59
-      type="button"
60
-      @click="SubmitData()"
61
-      class="btn btn-b-n"
62
-      style="width: 85px; height:40px;"
63
-    >
64
-      Save
65
-    </button>
66
-  </div>
65
+  </main>
67 66
 </template>
68 67
 
69 68
 <script>
70 69
 export default {
71
-  name: 'UserField',
70
+  name: "UserField",
72 71
   props: {
73
-    field: {},
72
+    field: {}
74 73
   },
75 74
   data() {
76 75
     return {
77
-      userField: {},
76
+      userField: {}
78 77
     };
79 78
   },
80 79
   mounted() {
@@ -84,8 +83,8 @@ export default {
84 83
   },
85 84
   methods: {
86 85
     SubmitData() {
87
-      this.$emit('UpdateUserField', this.userField);
88
-    },
89
-  },
86
+      this.$emit("UpdateUserField", this.userField);
87
+    }
88
+  }
90 89
 };
91 90
 </script>

+ 2
- 7
src/components/admin/property/userDefinedGroupPage.vue 파일 보기

@@ -105,15 +105,10 @@
105 105
           @onNew="newItem"
106 106
         />
107 107
       </div>
108
-      <button
109
-        type="button"
110
-        @click="SubmitData()"
111
-        class="btn btn-b-n"
112
-        style="width: 85px; height:40px;"
113
-      >
108
+      <button type="button" @click="SubmitData()" class="btn-solid-blue mb-5">
114 109
         Save
115 110
       </button>
116
-      <button type="button" @click="Close()" class="btn btn-b-n" style="width: 85px; height:40px;">
111
+      <button type="button" @click="Close()" class="btn-solid-blue">
117 112
         Close
118 113
       </button>
119 114
     </div>

+ 17
- 14
src/components/property/residential/singleView/contentSection.vue 파일 보기

@@ -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
 

+ 8
- 2
src/components/shared/listView.vue 파일 보기

@@ -120,10 +120,16 @@
120 120
               </button>
121 121
             </td>
122 122
             <td v-if="editable" class="my-width">
123
-              <button type="button" class="btn my-btn" @click="onEdit(item)">Edit</button>
123
+              <a @click="onEdit(item)" class="p-3">
124
+                <img src="../../../public/img/icons/Edit.png" height="25" width="25" />
125
+              </a>
126
+              <!-- <button type="button" class="btn my-btn" @click="onEdit(item)">Edit</button> -->
124 127
             </td>
125 128
             <td v-if="deleteable" class="my-width">
126
-              <button type="button" class="btn my-btn" @click="onDelete(item)">Delete</button>
129
+              <a @click="onDelete(item)" class="p-3">
130
+                <img src="../../../public/img/icons/delete.png" height="25" width="25" />
131
+              </a>
132
+              <!-- <button type="button" class="btn my-btn" @click="onDelete(item)">Delete</button> -->
127 133
             </td>
128 134
           </tr>
129 135
         </tbody>

Loading…
취소
저장