From 445dda9c1ec79a789c32beaaf0b4d4441be93895 Mon Sep 17 00:00:00 2001 From: jiannibang <271381693@qq.com> Date: Thu, 29 Dec 2022 13:35:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=90=9C=E7=B4=A2=E6=A8=AA=E6=9D=BF?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Search/Search.vue | 53 +++++++++++++++++-- .../SearchResultList/SearchResultList.vue | 36 +------------ src/views/Index/Index.vue | 2 - 3 files changed, 49 insertions(+), 42 deletions(-) diff --git a/src/components/Search/Search.vue b/src/components/Search/Search.vue index 62da433..4ebf899 100644 --- a/src/components/Search/Search.vue +++ b/src/components/Search/Search.vue @@ -39,7 +39,7 @@ - + @@ -105,10 +105,6 @@ async function handleShop(item) { } store.SET_SHOW_SEARCH(false) } -async function handleActivity() { - await router.push('/activity') - store.SET_SHOW_SEARCH(false) -} const tabIdx = ref(0) function handleTab(index) { @@ -350,4 +346,51 @@ onBeforeUnmount(() => { height: 120px; z-index: 52; } +@media (min-aspect-ratio: 1/1) { + .search-content { + top: 87px; + right: 125px; + bottom: 87px; + left: 125px; + padding: 100px 670px 0 0; + .top { + position: absolute; + top: 10px; + right: 10px; + bottom: 10px; + width: 660px; + height: auto; + margin: 0; + padding-left: 0; + flex-direction: column; + .facs { + width: auto; + flex: 1; + padding-top: 90px; + padding: 90px 54px; + .facility-list { + grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr; + } + } + .keyboard-wrapper { + flex: 0 0 456px; + } + } + } + .bar { + top: 32px; + width: 698px; + left: 0; + right: 0; + margin: auto; + } + .search-btn { + left: auto; + bottom: auto; + right: 145px; + top: 107px; + width: 87px; + height: 87px; + } +} diff --git a/src/components/SearchResultList/SearchResultList.vue b/src/components/SearchResultList/SearchResultList.vue index 2863f87..1f6c541 100644 --- a/src/components/SearchResultList/SearchResultList.vue +++ b/src/components/SearchResultList/SearchResultList.vue @@ -7,53 +7,19 @@ -