From 0115b51b944a158312786e6235ef8fe44b9d572c Mon Sep 17 00:00:00 2001 From: leecr1215 Date: Fri, 9 Jun 2023 13:43:56 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20main=20view=20UI=20=EC=99=84?= =?UTF-8?q?=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/passenger/MainView.vue | 19 ++++++++----------- src/views/splashView.vue | 18 ++++++++++++++++-- 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/src/views/passenger/MainView.vue b/src/views/passenger/MainView.vue index a58ae5f..8cbea02 100644 --- a/src/views/passenger/MainView.vue +++ b/src/views/passenger/MainView.vue @@ -3,7 +3,6 @@ - @@ -28,16 +27,10 @@ router.push('/nearStop'); }; - // 버스 기사 페이지로 이동 - const goBusDriverPageView = () => { - router.push({name: 'driverCodeView'}); - }; - return { goSearchView, goFavoriteStopView, goNearStopView, - goBusDriverPageView, }; }, }; @@ -50,17 +43,21 @@ height: 100vh; justify-content: center; font-family: 'KoddiUDOnGothic-Regular'; + padding: 0px 16px; .btn { - height: 186px; - background-color: $primary; - color: $secondary; + height: 140px; + width: 100%; + border-radius: 20px; + border: none; + background-color: $secondary; + color: $black; font-size: 30px; font-weight: 700; line-height: 22px; text-align: center; letter-spacing: -0.408px; - margin-bottom: 6px; + margin-bottom: 32px; } } diff --git a/src/views/splashView.vue b/src/views/splashView.vue index 23c7168..9851d0e 100644 --- a/src/views/splashView.vue +++ b/src/views/splashView.vue @@ -5,8 +5,8 @@
버도미 - - + +
@@ -14,6 +14,7 @@ + + diff --git a/src/store/passsengerStore.js b/src/store/passsengerStore.js index 862b28f..ca28b62 100644 --- a/src/store/passsengerStore.js +++ b/src/store/passsengerStore.js @@ -11,12 +11,9 @@ export const usePassengerStore = defineStore('passenger', () => { */ function announcePageContent(content, htmlElement) { htmlElement.setAttribute('aria-live', 'assertive'); - htmlElement.innerText = content; - console.log(content); setTimeout(function () { - htmlElement.removeAttribute(htmlElement); - htmlElement.innerText(''); + htmlElement.removeAttribute('aria-live'); }, 100); } return { diff --git a/src/views/passenger/MainView.vue b/src/views/passenger/MainView.vue index 8cbea02..b5c6154 100644 --- a/src/views/passenger/MainView.vue +++ b/src/views/passenger/MainView.vue @@ -1,17 +1,26 @@