diff --git a/src/components/NavComp.vue b/src/components/NavComp.vue index c638f86..71ad10a 100644 --- a/src/components/NavComp.vue +++ b/src/components/NavComp.vue @@ -76,8 +76,6 @@ }, 1); }; - console.log(props.btnBackgroundColor); - // 뒤로 가기 버튼 클릭 이벤트 const router = useRouter(); const goBack = () => { diff --git a/src/router/index.js b/src/router/index.js index c2516f1..0f0ddff 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -44,9 +44,9 @@ const routes = [ component: () => import('@/views/passenger/KeyboardSearchView.vue'), }, { - path: '/favoriteStop', - name: 'favoriteStopView', - component: () => import('@/views/passenger/FavoriteStopView.vue'), + path: '/stopHistory', + name: 'StopHistoryView', + component: () => import('@/views/passenger/StopHistoryView.vue'), }, { // 가까운 정류장 diff --git a/src/views/passenger/FavoriteStopView.vue b/src/views/passenger/FavoriteStopView.vue deleted file mode 100644 index 05ea4e8..0000000 --- a/src/views/passenger/FavoriteStopView.vue +++ /dev/null @@ -1,509 +0,0 @@ - - - - - diff --git a/src/views/passenger/MainView.vue b/src/views/passenger/MainView.vue index 2dd39a6..7ed9668 100644 --- a/src/views/passenger/MainView.vue +++ b/src/views/passenger/MainView.vue @@ -4,7 +4,7 @@
- +
@@ -26,9 +26,9 @@ router.push('/search'); }; - // 즐겨 찾는 정류장 페이지로 이동 - const goFavoriteStopView = () => { - router.push('/favoriteStop'); + // 승차벨 사용 이력 정류장 페이지로 이동 + const goStopHistoryView = () => { + router.push('/stopHistory'); }; // 가까운 정류장 페이지로 이동 @@ -39,7 +39,7 @@ return { wholeText, goSearchView, - goFavoriteStopView, + goStopHistoryView, goNearStopView, }; }, diff --git a/src/views/passenger/StopHistoryView.vue b/src/views/passenger/StopHistoryView.vue new file mode 100644 index 0000000..7bd6c0f --- /dev/null +++ b/src/views/passenger/StopHistoryView.vue @@ -0,0 +1,280 @@ + + + + +