From 21e2a5ed6bc0a66f53cd685c55d7931c925eefac Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Wed, 6 Mar 2024 11:10:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20web=E7=AB=AF=E5=90=AF=E7=94=A8sticky-he?= =?UTF-8?q?ader=E3=80=81sticky-section=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 -- pages/component/sticky-header/sticky-header.uvue | 2 +- pages/component/sticky-section/sticky-section.uvue | 2 +- pages/tabBar/component.uvue | 2 -- pages/template/list-news/list-news.uvue | 6 ++---- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/pages.json b/pages.json index 7e2e5caa..4e75af0f 100644 --- a/pages.json +++ b/pages.json @@ -81,7 +81,6 @@ "navigationBarTitleText": "list-view-children-in-slot" } }, - // #ifdef APP { "path": "pages/component/sticky-section/sticky-section", "style": { @@ -96,7 +95,6 @@ "enablePullDownRefresh": false } }, - //#endif { "path": "pages/component/text/text", "style": { diff --git a/pages/component/sticky-header/sticky-header.uvue b/pages/component/sticky-header/sticky-header.uvue index 3f7e3ea3..32c1e5fe 100644 --- a/pages/component/sticky-header/sticky-header.uvue +++ b/pages/component/sticky-header/sticky-header.uvue @@ -74,7 +74,7 @@ .content-item { padding: 15px; - margin: 5px 0; + margin-bottom: 10px; background-color: #fff; } diff --git a/pages/component/sticky-section/sticky-section.uvue b/pages/component/sticky-section/sticky-section.uvue index db52d027..f45cefc5 100644 --- a/pages/component/sticky-section/sticky-section.uvue +++ b/pages/component/sticky-section/sticky-section.uvue @@ -72,7 +72,7 @@ .content-item { padding: 15px; - margin: 5px 0; + margin-bottom: 10px; background-color: #fff; } diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue index 27a42df2..0817af90 100644 --- a/pages/tabBar/component.uvue +++ b/pages/tabBar/component.uvue @@ -80,14 +80,12 @@ { name: 'list-view', }, - // #ifdef APP { name: 'sticky-header', }, { name: 'sticky-section', }, - // #endif ] as Page[], }, { diff --git a/pages/template/list-news/list-news.uvue b/pages/template/list-news/list-news.uvue index d0543d58..eeff9dd2 100644 --- a/pages/template/list-news/list-news.uvue +++ b/pages/template/list-news/list-news.uvue @@ -4,8 +4,7 @@ - + @@ -13,8 +12,7 @@ {{name}} - - + -- GitLab