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-number-box/props.js | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 109 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-number-box/props.js b/minipro_standard/uni_modules/uview-ui/components/u-number-box/props.js
index e69de29..fb0fa94 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-number-box/props.js
+++ b/minipro_standard/uni_modules/uview-ui/components/u-number-box/props.js
@@ -0,0 +1,109 @@
+export default {
+ props: {
+ // 姝ヨ繘鍣ㄦ爣璇嗙锛屽湪change鍥炶皟杩斿洖
+ name: {
+ type: [String, Number],
+ default: uni.$u.props.numberBox.name
+ },
+ // 鐢ㄤ簬鍙屽悜缁戝畾鐨勫�硷紝鍒濆鍖栨椂璁剧疆璁句负榛樿min鍊�(鏈�灏忓��)
+ value: {
+ type: [String, Number],
+ default: uni.$u.props.numberBox.value
+ },
+ // 鏈�灏忓��
+ min: {
+ type: [String, Number],
+ default: uni.$u.props.numberBox.min
+ },
+ // 鏈�澶у��
+ max: {
+ type: [String, Number],
+ default: uni.$u.props.numberBox.max
+ },
+ // 鍔犲噺鐨勬闀匡紝鍙负灏忔暟
+ step: {
+ type: [String, Number],
+ default: uni.$u.props.numberBox.step
+ },
+ // 鏄惁鍙厑璁歌緭鍏ユ暣鏁�
+ integer: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.integer
+ },
+ // 鏄惁绂佺敤锛屽寘鎷緭鍏ユ锛屽姞鍑忔寜閽�
+ disabled: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.disabled
+ },
+ // 鏄惁绂佺敤杈撳叆妗�
+ disabledInput: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.disabledInput
+ },
+ // 鏄惁寮�鍚紓姝ュ彉鏇达紝寮�鍚悗闇�瑕佹墜鍔ㄦ帶鍒惰緭鍏ュ��
+ asyncChange: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.asyncChange
+ },
+ // 杈撳叆妗嗗搴︼紝鍗曚綅涓簆x
+ inputWidth: {
+ type: [String, Number],
+ default: uni.$u.props.numberBox.inputWidth
+ },
+ // 鏄惁鏄剧ず鍑忓皯鎸夐挳
+ showMinus: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.showMinus
+ },
+ // 鏄惁鏄剧ず澧炲姞鎸夐挳
+ showPlus: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.showPlus
+ },
+ // 鏄剧ず鐨勫皬鏁颁綅鏁�
+ decimalLength: {
+ type: [String, Number, null],
+ default: uni.$u.props.numberBox.decimalLength
+ },
+ // 鏄惁寮�鍚暱鎸夊姞鍑忔墜鍔�
+ longPress: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.longPress
+ },
+ // 杈撳叆妗嗘枃瀛楀拰鍔犲噺鎸夐挳鍥炬爣鐨勯鑹�
+ color: {
+ type: String,
+ default: uni.$u.props.numberBox.color
+ },
+ // 鎸夐挳澶у皬锛屽楂樼瓑浜庢鍊硷紝鍗曚綅px锛岃緭鍏ユ楂樺害鍜屾鍊间繚鎸佷竴鑷�
+ buttonSize: {
+ type: [String, Number],
+ default: uni.$u.props.numberBox.buttonSize
+ },
+ // 杈撳叆妗嗗拰鎸夐挳鐨勮儗鏅鑹�
+ bgColor: {
+ type: String,
+ default: uni.$u.props.numberBox.bgColor
+ },
+ // 鎸囧畾鍏夋爣浜庨敭鐩樼殑璺濈锛岄伩鍏嶉敭鐩橀伄鎸¤緭鍏ユ锛屽崟浣峱x
+ cursorSpacing: {
+ type: [String, Number],
+ default: uni.$u.props.numberBox.cursorSpacing
+ },
+ // 鏄惁绂佺敤澧炲姞鎸夐挳
+ disablePlus: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.disablePlus
+ },
+ // 鏄惁绂佺敤鍑忓皯鎸夐挳
+ disableMinus: {
+ type: Boolean,
+ default: uni.$u.props.numberBox.disableMinus
+ },
+ // 鍔犲噺鎸夐挳鍥炬爣鐨勬牱寮�
+ iconStyle: {
+ type: [Object, String],
+ default: uni.$u.props.numberBox.iconStyle
+ }
+ }
+}
--
Gitblit v1.9.3