From 28d016556456bc7607acf41ba91f743c39a49c22 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Fri, 27 Sep 2024 18:51:02 +0800 Subject: [PATCH 1/3] =?UTF-8?q?1.diy---=E7=BD=AE=E9=A1=B6=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue b/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue index 07d25750..952d6958 100644 --- a/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue +++ b/uni_modules/uv-sticky/components/uv-sticky/uv-sticky.vue @@ -185,7 +185,7 @@ }); }); // #endif - }, + }, // H5通过创建元素的形式嗅探是否支持css sticky // 判断浏览器是否支持sticky属性 checkCssStickyForH5() { From f748995bc5f9d57a0e065f2f87b717ee5f2d06bd Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Fri, 27 Sep 2024 18:53:04 +0800 Subject: [PATCH 2/3] =?UTF-8?q?1.diy---=E7=BD=AE=E9=A1=B6=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/diy.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 1db4e7ce..99c6f863 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -412,25 +412,23 @@ scroll_top: e.detail.scrollTop, }); // 判断顶部导航是否置顶 + // #ifdef H5 || MP-TOUTIAO if (!this.is_header_top) { if (e.detail.scrollTop >= this.sticky_top + 33) { - // #ifdef H5 || MP-TOUTIAO this.setData({ temp_sticky_top: 0, temp_header_top: this.tabs_height + 'px', temp_is_header_top: true, }); - // #endif } else { - // #ifdef H5 || MP-TOUTIAO, this.setData({ temp_header_top: this.header_top, temp_sticky_top: this.sticky_top, temp_is_header_top: false, }); - // #endif } } + // #endif }, }, }; From 732c64f4bfa252ce5280fb52e26073f08d5b1918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Fri, 27 Sep 2024 18:56:48 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/diy.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 1db4e7ce..3162a422 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -11,7 +11,7 @@