diff --git a/customer-vue/src/components/SlideStore.vue b/customer-vue/src/components/SlideStore.vue index ea3fb68..e8cd091 100644 --- a/customer-vue/src/components/SlideStore.vue +++ b/customer-vue/src/components/SlideStore.vue @@ -4,7 +4,21 @@ show-arrows="desktop" > + + + + 거리 : {{item.distance}} + diff --git a/customer-vue/src/views/HomeView.vue b/customer-vue/src/views/HomeView.vue index 45fb5b7..926b185 100644 --- a/customer-vue/src/views/HomeView.vue +++ b/customer-vue/src/views/HomeView.vue @@ -13,18 +13,12 @@ -
즐겨찾는 매장입니다.
+
즐겨찾는 매장입니다.
- - - @@ -39,10 +33,13 @@ export default { }, data(){ return{ - isLoading: true, latitude:0, longitude:0, - favoriteStoreList:[], + favoriteStoreList:{ + data:[], + isActive:'', + + }, } }, async mounted() { @@ -51,9 +48,9 @@ export default { this.longitude = location.longitude; storeApi.getFavoriteStore(this.latitude,this.longitude) .then(response =>{ - this.favoriteStoreList = response.data.data; + this.favoriteStoreList.isActive = 'd-none' + this.favoriteStoreList.data = response.data.data; }); - this.isLoading = false }, methods:{ getLocation: async function() {