From d8b41fff43a2cee6a8f714ffa807623b15803786 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Fri, 20 Oct 2023 15:21:35 +0800 Subject: [PATCH] fix:立行立改Uniapp小程序新建项目 --- 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