From 5036880fc037e5d112206b93a729f60be12bf8ab Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 07 十一月 2024 17:03:13 +0800 Subject: [PATCH] 2024.11.07 bug修复 --- miniprogram_npm/tdesign-miniprogram/search/props.js | 117 +++++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 82 insertions(+), 35 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/search/props.js b/miniprogram_npm/tdesign-miniprogram/search/props.js index 15a02c1..b2cfb69 100644 --- a/miniprogram_npm/tdesign-miniprogram/search/props.js +++ b/miniprogram_npm/tdesign-miniprogram/search/props.js @@ -3,52 +3,99 @@ type: String, value: '', }, + adjustPosition: { + type: Boolean, + value: true, + }, + alwaysEmbed: { + type: Boolean, + value: false, + }, center: { type: Boolean, value: false, - }, - disabled: { - type: Boolean, - value: false, - }, - externalClasses: { - type: Array, - }, - focus: { - type: Boolean, - value: false, - }, - label: { - type: String, - value: '', - }, - leftIcon: { - type: String, - value: 'search', - }, - placeholder: { - type: String, - value: '', - }, - rightIcon: { - type: String, - value: 'close-circle-filled', - }, - shape: { - type: String, - value: 'square', - }, - value: { - type: String, - value: '', }, clearable: { type: Boolean, value: true, }, + confirmHold: { + type: Boolean, + value: false, + }, + confirmType: { + type: String, + value: 'search', + }, + cursor: { + type: Number, + }, + cursorSpacing: { + type: Number, + value: 0, + }, + disabled: { + type: Boolean, + value: false, + }, + focus: { + type: Boolean, + value: false, + }, + holdKeyboard: { + type: Boolean, + value: false, + }, + leftIcon: { + type: String, + value: 'search', + }, + maxcharacter: { + type: Number, + }, + maxlength: { + type: Number, + value: -1, + }, + placeholder: { + type: String, + value: '', + }, + placeholderClass: { + type: String, + value: 'input-placeholder', + }, + placeholderStyle: { + type: String, + value: '', + }, + resultList: { + type: Array, + value: [], + }, + selectionEnd: { + type: Number, + value: -1, + }, + selectionStart: { + type: Number, + value: -1, + }, + shape: { + type: String, + value: 'square', + }, + style: { + type: String, + value: '', + }, type: { type: String, value: 'text', }, + value: { + type: String, + value: '', + }, }; export default props; -- Gitblit v1.9.3