From beea59731b77c540fe728cc8bd1b1631bb5073fb Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Wed, 21 May 2025 11:35:12 +0800 Subject: [PATCH] =?UTF-8?q?stye:=20=20=E6=90=9C=E7=B4=A2=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 搜索的 margin 布局样式更改 --- src/views/HomeSearch/Index.vue | 8 +++++++- src/views/HomeSearch/components/Recommend/Index.vue | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/HomeSearch/Index.vue b/src/views/HomeSearch/Index.vue index aa2dc73..bd5b03b 100644 --- a/src/views/HomeSearch/Index.vue +++ b/src/views/HomeSearch/Index.vue @@ -37,7 +37,9 @@ onUnmounted(() => { /> - +
@@ -85,6 +87,10 @@ onUnmounted(() => { @extend %search-gradient; } + .banner { + padding: theme.$gap; + } + // 搜索结果外部布局 .result { padding: theme.$gap; diff --git a/src/views/HomeSearch/components/Recommend/Index.vue b/src/views/HomeSearch/components/Recommend/Index.vue index cd093ca..e857f74 100644 --- a/src/views/HomeSearch/components/Recommend/Index.vue +++ b/src/views/HomeSearch/components/Recommend/Index.vue @@ -65,14 +65,12 @@ async function handleDelHistory() { .title { font-size: 25px; font-weight: 800; - margin-bottom: 10px; color: rgba(102, 102, 102, 1); font-size: 13px; font-family: PingFangSC; } .recommend-container { - margin-top: 20px; padding: 0 (theme.$gap * 2); }