feat:设备使用记录

This commit is contained in:
houjunxiang
2026-03-05 16:54:47 +08:00
parent 749ac7f507
commit 9c88c45d66
357 changed files with 21486 additions and 5845 deletions

View File

@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Description :
* @version : 1.0
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 17:11:46
* @FilePath : /u-view2.0/uview-ui/libs/config/props/numberBox.js
* @LastAuthor : jry
* @lastTime : 2025-12-19 08:55:21
* @FilePath : /uview-plus/libs/config/props/numberBox.js
*/
export default {
// 步进器组件
@@ -25,11 +25,16 @@ export default {
decimalLength: null,
longPress: true,
color: '#323233',
buttonWidth: 30,
buttonSize: 30,
buttonRadius: '0px',
bgColor: '#EBECEE',
disabledBgColor: '#f7f8fa',
inputBgColor: '#EBECEE',
cursorSpacing: 100,
disableMinus: false,
disablePlus: false,
iconStyle: ''
iconStyle: '',
miniMode: false
}
}

View File

@@ -86,16 +86,36 @@ export const props = defineMixin({
type: String,
default: () => defProps.numberBox.color
},
// 按钮宽度
buttonWidth: {
type: [String, Number],
default: () => defProps.numberBox.buttonWidth
},
// 按钮大小宽高等于此值单位px输入框高度和此值保持一致
buttonSize: {
type: [String, Number],
default: () => defProps.numberBox.buttonSize
},
// 按钮圆角
buttonRadius: {
type: [String],
default: () => defProps.numberBox.buttonRadius
},
// 输入框和按钮的背景颜色
bgColor: {
type: String,
default: () => defProps.numberBox.bgColor
},
// 按钮禁用背景色
disabledBgColor: {
type: String,
default: () => defProps.numberBox.disabledBgColor
},
// 输入框背景颜色
inputBgColor: {
type: String,
default: () => defProps.numberBox.inputBgColor
},
// 指定光标于键盘的距离避免键盘遮挡输入框单位px
cursorSpacing: {
type: [String, Number],
@@ -115,6 +135,11 @@ export const props = defineMixin({
iconStyle: {
type: [Object, String],
default: () => defProps.numberBox.iconStyle
}
},
// 迷你模式
miniMode: {
type: Boolean,
default: () => defProps.numberBox.miniMode
},
}
})

File diff suppressed because it is too large Load Diff