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-textarea/props.js | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 119 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-textarea/props.js b/uni_modules/uview-ui/components/u-textarea/props.js new file mode 100644 index 0000000..d0e16d5 --- /dev/null +++ b/uni_modules/uview-ui/components/u-textarea/props.js @@ -0,0 +1,119 @@ +export default { + props: { + // ������������������ + value: { + type: [String, Number], + default: uni.$u.props.textarea.value + }, + // ��������������������������� + placeholder: { + type: [String, Number], + default: uni.$u.props.textarea.placeholder + }, + // ������placeholder���������������������������������������style���������scoped���������������������������/deep/ + placeholderClass: { + type: String, + default: uni.$u.props.input.placeholderClass + }, + // ������placeholder��������� + placeholderStyle: { + type: [String, Object], + default: uni.$u.props.input.placeholderStyle + }, + // ��������������� + height: { + type: [String, Number], + default: uni.$u.props.textarea.height + }, + // ������������������������������������������������������������App-vue���H5������ + confirmType: { + type: String, + default: uni.$u.props.textarea.confirmType + }, + // ������������ + disabled: { + type: Boolean, + default: uni.$u.props.textarea.disabled + }, + // ������������������������ + count: { + type: Boolean, + default: uni.$u.props.textarea.count + }, + // ���������������������������nvue������������H5��������������������������� + focus: { + type: Boolean, + default: uni.$u.props.textarea.focus + }, + // ������������������������ + autoHeight: { + type: Boolean, + default: uni.$u.props.textarea.autoHeight + }, + // ������textarea������������position:fixed������������������������������������fixed���true + fixed: { + type: Boolean, + default: uni.$u.props.textarea.fixed + }, + // ������������������������������ + cursorSpacing: { + type: Number, + default: uni.$u.props.textarea.cursorSpacing + }, + // ������focus������������������ + cursor: { + type: [String, Number], + default: uni.$u.props.textarea.cursor + }, + // ������������������������������������������������������������ + showConfirmBar: { + type: Boolean, + default: uni.$u.props.textarea.showConfirmBar + }, + // ���������������������������������������������������selection-end������������ + selectionStart: { + type: Number, + default: uni.$u.props.textarea.selectionStart + }, + // ���������������������������������������������������selection-start������������ + selectionEnd: { + type: Number, + default: uni.$u.props.textarea.selectionEnd + }, + // ������������������������������������������ + adjustPosition: { + type: Boolean, + default: uni.$u.props.textarea.adjustPosition + }, + // ������������ iOS ������������������������������������������������ + disableDefaultPadding: { + type: Boolean, + default: uni.$u.props.textarea.disableDefaultPadding + }, + // focus��������������������������������������������������������������������� + holdKeyboard: { + type: Boolean, + default: uni.$u.props.textarea.holdKeyboard + }, + // ������������������������������ -1 ������������������������������ + maxlength: { + type: [String, Number], + default: uni.$u.props.textarea.maxlength + }, + // ���������������surround-���������������bottom-������������ + border: { + type: String, + default: uni.$u.props.textarea.border + }, + // ������������������������������������������������ + formatter: { + type: [Function, null], + default: uni.$u.props.textarea.formatter + }, + // ��������������������������������������������������������� + ignoreCompositionEvent: { + type: Boolean, + default: true + } + } +} -- Gitblit v1.8.0