From f4991944d13b94355fb8aaf03dad7d60ca530ee9 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 30 Nov 2023 16:36: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