feat:设备使用记录
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
7
uview-plus/components/u-datetime-picker/dayjs.esm.min.js
vendored
Normal file
7
uview-plus/components/u-datetime-picker/dayjs.esm.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -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: ''
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user