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-search/props.js | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 118 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-search/props.js b/uni_modules/uview-ui/components/u-search/props.js new file mode 100644 index 0000000..df1b342 --- /dev/null +++ b/uni_modules/uview-ui/components/u-search/props.js @@ -0,0 +1,118 @@ +export default { + props: { + // ������������������round-���������square-������ + shape: { + type: String, + default: uni.$u.props.search.shape + }, + // ������������������������������#f2f2f2 + bgColor: { + type: String, + default: uni.$u.props.search.bgColor + }, + // ������������������ + placeholder: { + type: String, + default: uni.$u.props.search.placeholder + }, + // ������������������������ + clearabled: { + type: Boolean, + default: uni.$u.props.search.clearabled + }, + // ������������������ + focus: { + type: Boolean, + default: uni.$u.props.search.focus + }, + // ������������������������������������������ + showAction: { + type: Boolean, + default: uni.$u.props.search.showAction + }, + // ��������������������� + actionStyle: { + type: Object, + default: uni.$u.props.search.actionStyle + }, + // ������������������ + actionText: { + type: String, + default: uni.$u.props.search.actionText + }, + // ������������������������������������������ left|center|right + inputAlign: { + type: String, + default: uni.$u.props.search.inputAlign + }, + // input������������������������������������������������������������������������ + inputStyle: { + type: Object, + default: uni.$u.props.search.inputStyle + }, + // ��������������������� + disabled: { + type: Boolean, + default: uni.$u.props.search.disabled + }, + // ������������ + borderColor: { + type: String, + default: uni.$u.props.search.borderColor + }, + // ������������������������������������������������������ + searchIconColor: { + type: String, + default: uni.$u.props.search.searchIconColor + }, + // ��������������������� + color: { + type: String, + default: uni.$u.props.search.color + }, + // placeholder��������� + placeholderColor: { + type: String, + default: uni.$u.props.search.placeholderColor + }, + // ������������������������������������uView��������������������������� + searchIcon: { + type: String, + default: uni.$u.props.search.searchIcon + }, + searchIconSize: { + type: [Number, String], + default: uni.$u.props.search.searchIconSize + }, + // ������������������������������������������������������������������������������������"30px"���"30px 20px"��������� + margin: { + type: String, + default: uni.$u.props.search.margin + }, + // ������showAction���������������input������������������������ + animation: { + type: Boolean, + default: uni.$u.props.search.animation + }, + // ��������������������������� + value: { + type: String, + default: uni.$u.props.search.value + }, + // ������������������������������������-1������������������(������uniapp������) + maxlength: { + type: [String, Number], + default: uni.$u.props.search.maxlength + }, + // ������������������������px + height: { + type: [String, Number], + default: uni.$u.props.search.height + }, + // ��������������������� + label: { + type: [String, Number, null], + default: uni.$u.props.search.label + } + } +} -- Gitblit v1.8.0