From 371f4fe7e6f60767907489f5c307b4c355c98c48 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, 8 Nov 2024 18:04:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=89=E5=85=A8=E8=B7=9D?= =?UTF-8?q?=E7=A6=BB=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/common/common.js | 6 +++--- components/diy/header.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/js/common/common.js b/common/js/common/common.js index f5aac732..2cc9cd65 100644 --- a/common/js/common/common.js +++ b/common/js/common/common.js @@ -119,13 +119,13 @@ export function padding_computer(new_style, scale = 1, is_custom = false, index) // #endif let sticky_top = 0; // #ifdef MP - sticky_top = bar_height + 5 + 12; + sticky_top = bar_height + 5 + 10; // #endif // #ifdef H5 || MP-TOUTIAO - sticky_top = bar_height + 7 + 12; + sticky_top = bar_height + 7 + 10; // #endif // #ifdef APP - sticky_top = bar_height + 0 + 12; + sticky_top = bar_height + 0 + 10; // #endif padding_top = `padding-top:calc(${new_style.padding_top * 2 || 0}rpx + ${sticky_top}px);`; } diff --git a/components/diy/header.vue b/components/diy/header.vue index e58f6241..ab318739 100644 --- a/components/diy/header.vue +++ b/components/diy/header.vue @@ -166,13 +166,13 @@ // 顶部背景样式类别 header_background_type: 'color_image', // #ifdef MP - header_top: bar_height + 5 + 12 + 33, + header_top: bar_height + 5 + 10 + 33, // #endif // #ifdef H5 || MP-TOUTIAO - header_top: bar_height + 7 + 12 + 33, + header_top: bar_height + 7 + 10 + 33, // #endif // #ifdef APP - header_top: bar_height + 0 + 12 + 33, + header_top: bar_height + 0 + 10 + 33, // #endif // 判断是否是沉浸模式 is_immersion_model: false,