From d1448cb0ef10f358bb7bddb4e1ec268515e0b787 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 15 七月 2025 11:46:57 +0800 Subject: [PATCH] 项目初始化 --- uni_modules/uview-ui/components/u-code-input/props.js | 74 +++++++++++++++++++++++++++++++++++++ 1 files changed, 74 insertions(+), 0 deletions(-) diff --git a/uni_modules/uview-ui/components/u-code-input/props.js b/uni_modules/uview-ui/components/u-code-input/props.js new file mode 100644 index 0000000..eeb58a0 --- /dev/null +++ b/uni_modules/uview-ui/components/u-code-input/props.js @@ -0,0 +1,74 @@ +export default { + props: { + // 鏈�澶ц緭鍏ラ暱搴� + 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