From 9f19f44c77757bf7685d8afdddbd3d35b976aa11 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, 13 Feb 2026 18:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=94=E5=9B=9E=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/common/common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/js/common/common.js b/common/js/common/common.js index 0b37d69f..07c39640 100644 --- a/common/js/common/common.js +++ b/common/js/common/common.js @@ -1016,7 +1016,8 @@ export const time_stamp = (time, date_style = 'horizontal', date_type) => { export const video_get_top_left_padding = () => { var pages = getCurrentPages(); - if (pages.length > 1) { + const is_tab = app.globalData.is_tabbar_pages(); + if (pages.length > 1 && is_tab) { return 'padding-left: 16rpx;box-sizing: border-box;padding-right: 50rpx;'; } else { return 'padding-left: 100rpx;box-sizing: border-box;padding-right: 50rpx;';