From bd99a5211f3a5fcaa051e5da868d87bb870148f5 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Fri, 01 Mar 2024 09:58:45 +0800 Subject: [PATCH] fix:手持设备 --- uni_modules/uview-ui/components/u-sticky/props.js | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-sticky/props.js b/uni_modules/uview-ui/components/u-sticky/props.js new file mode 100644 index 0000000..c2ca8da --- /dev/null +++ b/uni_modules/uview-ui/components/u-sticky/props.js @@ -0,0 +1,40 @@ +export default { + props: { + // ���������������������������������������������������������������H5���������NavigationBar���44px + offsetTop: { + type: [String, Number], + default: uni.$u.props.sticky.offsetTop + }, + // ��������������������������� + customNavHeight: { + type: [String, Number], + // #ifdef H5 + // H5��������������������������������������������������������������������������������������������������������� + default: 44, + // #endif + // #ifndef H5 + default: uni.$u.props.sticky.customNavHeight + // #endif + }, + // ������������������������ + disabled: { + type: Boolean, + default: uni.$u.props.sticky.disabled + }, + // ��������������������������� + bgColor: { + type: String, + default: uni.$u.props.sticky.bgColor + }, + // z-index��� + zIndex: { + type: [String, Number], + default: uni.$u.props.sticky.zIndex + }, + // ��������������������� + index: { + type: [String, Number], + default: uni.$u.props.sticky.index + } + } +} -- Gitblit v1.8.0