From 64b432916af9c9218ab3f3eca614e26c542142ae Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 07 十一月 2023 15:47:13 +0800 Subject: [PATCH] bug --- minipro_standard/uni_modules/uview-ui/components/u-picker/props.js | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 deletions(-) diff --git a/minipro_standard/uni_modules/uview-ui/components/u-picker/props.js b/minipro_standard/uni_modules/uview-ui/components/u-picker/props.js index e69de29..7b5d091 100644 --- a/minipro_standard/uni_modules/uview-ui/components/u-picker/props.js +++ b/minipro_standard/uni_modules/uview-ui/components/u-picker/props.js @@ -0,0 +1,79 @@ +export default { + props: { + // 鏄惁灞曠ずpicker寮圭獥 + show: { + type: Boolean, + default: uni.$u.props.picker.show + }, + // 鏄惁灞曠ず椤堕儴鐨勬搷浣滄爮 + showToolbar: { + type: Boolean, + default: uni.$u.props.picker.showToolbar + }, + // 椤堕儴鏍囬 + title: { + type: String, + default: uni.$u.props.picker.title + }, + // 瀵硅薄鏁扮粍锛岃缃瘡涓�鍒楃殑鏁版嵁 + columns: { + type: Array, + default: uni.$u.props.picker.columns + }, + // 鏄惁鏄剧ず鍔犺浇涓姸鎬� + loading: { + type: Boolean, + default: uni.$u.props.picker.loading + }, + // 鍚勫垪涓紝鍗曚釜閫夐」鐨勯珮搴� + itemHeight: { + type: [String, Number], + default: uni.$u.props.picker.itemHeight + }, + // 鍙栨秷鎸夐挳鐨勬枃瀛� + cancelText: { + type: String, + default: uni.$u.props.picker.cancelText + }, + // 纭鎸夐挳鐨勬枃瀛� + confirmText: { + type: String, + default: uni.$u.props.picker.confirmText + }, + // 鍙栨秷鎸夐挳鐨勯鑹� + cancelColor: { + type: String, + default: uni.$u.props.picker.cancelColor + }, + // 纭鎸夐挳鐨勯鑹� + confirmColor: { + type: String, + default: uni.$u.props.picker.confirmColor + }, + // 姣忓垪涓彲瑙侀�夐」鐨勬暟閲� + visibleItemCount: { + type: [String, Number], + default: uni.$u.props.picker.visibleItemCount + }, + // 閫夐」瀵硅薄涓紝闇�瑕佸睍绀虹殑灞炴�ч敭鍚� + keyName: { + type: String, + default: uni.$u.props.picker.keyName + }, + // 鏄惁鍏佽鐐瑰嚮閬僵鍏抽棴閫夋嫨鍣� + closeOnClickOverlay: { + type: Boolean, + default: uni.$u.props.picker.closeOnClickOverlay + }, + // 鍚勫垪鐨勯粯璁ょ储寮� + defaultIndex: { + type: Array, + default: uni.$u.props.picker.defaultIndex + }, + // 鏄惁鍦ㄦ墜鎸囨澗寮�鏃剁珛鍗宠Е鍙� change 浜嬩欢銆傝嫢涓嶅紑鍚垯浼氬湪婊氬姩鍔ㄧ敾缁撴潫鍚庤Е鍙� change 浜嬩欢锛屽彧鍦ㄥ井淇�2.21.1鍙婁互涓婃湁鏁� + immediateChange: { + type: Boolean, + default: uni.$u.props.picker.immediateChange + } + } +} -- Gitblit v1.9.3