From 627c3e0a6920131d75eafa4646db373ccc936546 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:52:07 +0800
Subject: [PATCH] 小程序diamante
---
minipro_standard/uni_modules/uview-ui/components/u-form/props.js | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-form/props.js b/minipro_standard/uni_modules/uview-ui/components/u-form/props.js
new file mode 100644
index 0000000..f2a629c
--- /dev/null
+++ b/minipro_standard/uni_modules/uview-ui/components/u-form/props.js
@@ -0,0 +1,45 @@
+export default {
+ props: {
+ // 褰撳墠form鐨勯渶瑕侀獙璇佸瓧娈电殑闆嗗悎
+ model: {
+ type: Object,
+ default: uni.$u.props.form.model
+ },
+ // 楠岃瘉瑙勫垯
+ rules: {
+ type: [Object, Function, Array],
+ default: uni.$u.props.form.rules
+ },
+ // 鏈夐敊璇椂鐨勬彁绀烘柟寮忥紝message-鎻愮ず淇℃伅锛宼oast-杩涜toast鎻愮ず
+ // border-bottom-涓嬭竟妗嗗憟鐜扮孩鑹诧紝none-鏃犳彁绀�
+ errorType: {
+ type: String,
+ default: uni.$u.props.form.errorType
+ },
+ // 鏄惁鏄剧ず琛ㄥ崟鍩熺殑涓嬪垝绾胯竟妗�
+ borderBottom: {
+ type: Boolean,
+ default: uni.$u.props.form.borderBottom
+ },
+ // label鐨勪綅缃紝left-宸﹁竟锛宼op-涓婅竟
+ labelPosition: {
+ type: String,
+ default: uni.$u.props.form.labelPosition
+ },
+ // label鐨勫搴︼紝鍗曚綅px
+ labelWidth: {
+ type: [String, Number],
+ default: uni.$u.props.form.labelWidth
+ },
+ // lable瀛椾綋鐨勫榻愭柟寮�
+ labelAlign: {
+ type: String,
+ default: uni.$u.props.form.labelAlign
+ },
+ // lable鐨勬牱寮忥紝瀵硅薄褰㈠紡
+ labelStyle: {
+ type: Object,
+ default: uni.$u.props.form.labelStyle
+ }
+ }
+}
--
Gitblit v1.9.3