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,12 +1,13 @@
/*
* @Author : LQ
* @Description :
* @version : 1.0
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 16:57:48
* @FilePath : /u-view2.0/uview-ui/libs/config/props/datetimePicker.js
* @LastAuthor : jry
* @lastTime : 2025-12-19 08:55:21
* @FilePath : /uview-plus/libs/config/props/datetimePicker.js
*/
import { t } from '../../libs/i18n'
export default {
// datetimePicker 组件
datetimePicker: {
@@ -26,12 +27,18 @@ export default {
formatter: null,
loading: false,
itemHeight: 44,
cancelText: '取消',
confirmText: '确认',
cancelText: t("up.common.cancel"),
confirmText: t("up.common.confirm"),
cancelColor: '#909193',
confirmColor: '#3c9cff',
visibleItemCount: 5,
closeOnClickOverlay: false,
defaultIndex: []
defaultIndex: [],
inputBorder: 'surround',
disabled: false,
disabledColor: '',
placeholder: t("up.common.pleaseChoose"),
inputProps: {},
pageInline: false
}
}

File diff suppressed because one or more lines are too long

View File

@@ -5,11 +5,29 @@ export const props = defineMixin({
// 是否显示input
hasInput: {
type: Boolean,
default: () => false
default: false
},
inputProps: {
type: Object,
default: () => {
return {}
}
},
inputBorder: {
type: String,
default: () => defProps.input.inputBorder
},
disabled: {
type: Boolean,
default: () => defProps.input.disabled
},
disabledColor:{
type: String,
default: () => defProps.input.disabledColor
},
placeholder: {
type: String,
default: () => '请选择'
default: () => defProps.input.placeholder
},
format: {
type: String,
@@ -145,6 +163,21 @@ export const props = defineMixin({
defaultIndex: {
type: Array,
default: () => defProps.datetimePicker.defaultIndex
}
},
// 是否页面内展示
pageInline:{
type: Boolean,
default: () => defProps.datetimePicker.pageInline
},
// 蒙层样式样式
maskClass: {
type: String,
defualt: ''
},
// 蒙层样式样式
maskStyle: {
type: String,
defualt: ''
}
}
})