From 68c5ef7d9fea3f911e250fb5f8b300bc76099e49 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:55:49 +0800
Subject: [PATCH] 小程序
---
minipro_standard/uni_modules/uview-ui/components/u-code-input/props.js | 79 +++++++++++++++++++++++++++++++++++++++
1 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-code-input/props.js b/minipro_standard/uni_modules/uview-ui/components/u-code-input/props.js
index e69de29..0f016ee 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-code-input/props.js
+++ b/minipro_standard/uni_modules/uview-ui/components/u-code-input/props.js
@@ -0,0 +1,79 @@
+export default {
+ props: {
+ // 閿洏寮硅捣鏃讹紝鏄惁鑷姩涓婃帹椤甸潰
+ adjustPosition: {
+ type: Boolean,
+ default: uni.$u.props.codeInput.adjustPosition
+ },
+ // 鏈�澶ц緭鍏ラ暱搴�
+ maxlength: {
+ type: [String, Number],
+ default: uni.$u.props.codeInput.maxlength
+ },
+ // 鏄惁鐢ㄥ渾鐐瑰~鍏�
+ dot: {
+ type: Boolean,
+ default: uni.$u.props.codeInput.dot
+ },
+ // 鏄剧ず妯″紡锛宐ox-鐩掑瓙妯″紡锛宭ine-搴曢儴妯嚎妯″紡
+ mode: {
+ type: String,
+ default: uni.$u.props.codeInput.mode
+ },
+ // 鏄惁缁嗚竟妗�
+ hairline: {
+ type: Boolean,
+ default: uni.$u.props.codeInput.hairline
+ },
+ // 瀛楃闂寸殑璺濈
+ space: {
+ type: [String, Number],
+ default: uni.$u.props.codeInput.space
+ },
+ // 棰勭疆鍊�
+ value: {
+ type: [String, Number],
+ default: uni.$u.props.codeInput.value
+ },
+ // 鏄惁鑷姩鑾峰彇鐒︾偣
+ focus: {
+ type: Boolean,
+ default: uni.$u.props.codeInput.focus
+ },
+ // 瀛椾綋鏄惁鍔犵矖
+ bold: {
+ type: Boolean,
+ default: uni.$u.props.codeInput.bold
+ },
+ // 瀛椾綋棰滆壊
+ color: {
+ type: String,
+ default: uni.$u.props.codeInput.color
+ },
+ // 瀛椾綋澶у皬
+ fontSize: {
+ type: [String, Number],
+ default: uni.$u.props.codeInput.fontSize
+ },
+ // 杈撳叆妗嗙殑澶у皬锛屽绛変簬楂�
+ size: {
+ type: [String, Number],
+ default: uni.$u.props.codeInput.size
+ },
+ // 鏄惁闅愯棌鍘熺敓閿洏锛屽鏋滄兂鐢ㄨ嚜瀹氫箟閿洏鐨勮瘽锛岄渶璁剧疆姝ゅ弬鏁颁负true
+ disabledKeyboard: {
+ type: Boolean,
+ default: uni.$u.props.codeInput.disabledKeyboard
+ },
+ // 杈规鍜岀嚎鏉¢鑹�
+ borderColor: {
+ type: String,
+ default: uni.$u.props.codeInput.borderColor
+ },
+ // 鏄惁绂佹杈撳叆"."绗﹀彿
+ disabledDot: {
+ type: Boolean,
+ default: uni.$u.props.codeInput.disabledDot
+ }
+ }
+}
--
Gitblit v1.9.3