From da25434b85fc5b4321c429bf95e719d00ec395bb Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 11 Jan 2024 16:21:16 +0800 Subject: [PATCH] 定位优化 --- uni_modules/uview-ui/components/u-navbar/props.js | 84 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 84 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-navbar/props.js b/uni_modules/uview-ui/components/u-navbar/props.js new file mode 100644 index 0000000..5398de2 --- /dev/null +++ b/uni_modules/uview-ui/components/u-navbar/props.js @@ -0,0 +1,84 @@ +export default { + props: { + // ��������������������������������� + safeAreaInsetTop: { + type: Boolean, + default: uni.$u.props.navbar.safeAreaInsetTop + }, + // ��������������������������������������������������������������������� + placeholder: { + type: Boolean, + default: uni.$u.props.navbar.placeholder + }, + // ��������������������� + fixed: { + type: Boolean, + default: uni.$u.props.navbar.fixed + }, + // ��������������������� + border: { + type: Boolean, + default: uni.$u.props.navbar.border + }, + // ��������������� + leftIcon: { + type: String, + default: uni.$u.props.navbar.leftIcon + }, + // ��������������������� + leftText: { + type: String, + default: uni.$u.props.navbar.leftText + }, + // ��������������������� + rightText: { + type: String, + default: uni.$u.props.navbar.rightText + }, + // ��������������� + rightIcon: { + type: String, + default: uni.$u.props.navbar.rightIcon + }, + // ������ + title: { + type: [String, Number], + default: uni.$u.props.navbar.title + }, + // ������������ + bgColor: { + type: String, + default: uni.$u.props.navbar.bgColor + }, + // ��������������� + titleWidth: { + type: [String, Number], + default: uni.$u.props.navbar.titleWidth + }, + // ��������������� + height: { + type: [String, Number], + default: uni.$u.props.navbar.height + }, + // ��������������������������� + leftIconSize: { + type: [String, Number], + default: uni.$u.props.navbar.leftIconSize + }, + // ��������������������������� + leftIconColor: { + type: String, + default: uni.$u.props.navbar.leftIconColor + }, + // ������������������(������������)������������������������������ + autoBack: { + type: Boolean, + default: uni.$u.props.navbar.autoBack + }, + // ������������������������������������ + titleStyle: { + type: [String, Object], + default: uni.$u.props.navbar.titleStyle + } + } +} -- Gitblit v1.8.0