浏览代码

wTimeshare chanmges add

master
Kobus 5 年前
父节点
当前提交
8a073f452a

+ 1
- 1
src/components/property/propertySearchPage.vue 查看文件

187
         this.propertySearch.propertyUsageType = this.$route.params.propertyType;
187
         this.propertySearch.propertyUsageType = this.$route.params.propertyType;
188
       }
188
       }
189
 
189
 
190
-      console.log('PropertySearch = ' + JSON.stringify(this.propertySearch));
190
+      console.log(`PropertySearch = ${JSON.stringify(this.propertySearch)}`);
191
 
191
 
192
       this.searchProperties(this.propertySearch);
192
       this.searchProperties(this.propertySearch);
193
       // this.type = this.$route.query.type;
193
       // this.type = this.$route.query.type;

+ 6
- 6
src/components/property/propertyeditPage.vue 查看文件

355
 
355
 
356
       setTimeout(
356
       setTimeout(
357
         () => this.$router.push({
357
         () => this.$router.push({
358
-            path: '/property/search',
359
-            query: {
360
-              salesType: this.salesType,
361
-              propertyUsageType: this.propertyType,
362
-            },
363
-          }),
358
+          path: '/property/search',
359
+          query: {
360
+            salesType: this.salesType,
361
+            propertyUsageType: this.propertyType,
362
+          },
363
+        }),
364
         3000,
364
         3000,
365
       );
365
       );
366
     },
366
     },

+ 8
- 8
src/components/shared/lightBoxGallery.vue 查看文件

45
     return {
45
     return {
46
       bg: false,
46
       bg: false,
47
       currentImage: 0,
47
       currentImage: 0,
48
-      count: true
48
+      count: true,
49
     };
49
     };
50
   },
50
   },
51
   props: {
51
   props: {
52
     thumbnails: {
52
     thumbnails: {
53
       type: Array,
53
       type: Array,
54
-      default: () => []
54
+      default: () => [],
55
     },
55
     },
56
     largeImages: {
56
     largeImages: {
57
       type: Array,
57
       type: Array,
58
-      default: () => []
58
+      default: () => [],
59
     },
59
     },
60
     captions: {
60
     captions: {
61
       type: Array,
61
       type: Array,
62
-      default: () => []
62
+      default: () => [],
63
     },
63
     },
64
     thumbnailsPath: {
64
     thumbnailsPath: {
65
       type: String,
65
       type: String,
66
-      default: ""
66
+      default: '',
67
     },
67
     },
68
     largePath: {
68
     largePath: {
69
       type: String,
69
       type: String,
70
-      default: ""
70
+      default: '',
71
     },
71
     },
72
     caption: true
72
     caption: true
73
   },
73
   },
91
       } else {
91
       } else {
92
         this.currentImage = this.largeImages.length - 1;
92
         this.currentImage = this.largeImages.length - 1;
93
       }
93
       }
94
-    }
95
-  }
94
+    },
95
+  },
96
 };
96
 };
97
 </script>
97
 </script>
98
 
98
 

+ 0
- 1
src/components/shared/navBar.vue 查看文件

230
     ...mapActions('authentication', ['logout']),
230
     ...mapActions('authentication', ['logout']),
231
 
231
 
232
     routerGoTo(goTo) {
232
     routerGoTo(goTo) {
233
-      console.log(goTo);
234
       this.$emit('routerGoTo', goTo);
233
       this.$emit('routerGoTo', goTo);
235
     },
234
     },
236
   },
235
   },

+ 2
- 2
src/components/shared/searchTab.vue 查看文件

8
     <div class="box-collapse-wrap">
8
     <div class="box-collapse-wrap">
9
       <form class="form-a">
9
       <form class="form-a">
10
         <div class="row">
10
         <div class="row">
11
-          <div class="col-md-12 mb-2">
11
+          <div class="col-md-12">
12
             <div class="form-group" style="text-align:left">
12
             <div class="form-group" style="text-align:left">
13
               <label for="Type">Keyword</label>
13
               <label for="Type">Keyword</label>
14
               <input
14
               <input
15
                 type="text"
15
                 type="text"
16
-                class="form-control form-control-lg form-control-a"
16
+                class="form-control form-control-a"
17
                 placeholder="Keyword"
17
                 placeholder="Keyword"
18
                 v-model="keyword"
18
                 v-model="keyword"
19
               />
19
               />

+ 2
- 2
src/router/index.js 查看文件

45
 Vue.use(Router);
45
 Vue.use(Router);
46
 
46
 
47
 export default new Router({
47
 export default new Router({
48
-  scrollBehavior (to, from, savedPosition) {
49
-    return { x: 0, y: 0 }
48
+  scrollBehavior(to, from, savedPosition) {
49
+    return { x: 0, y: 0 };
50
   },
50
   },
51
   routes: [{
51
   routes: [{
52
     path: '/',
52
     path: '/',

正在加载...
取消
保存