feat:设备使用记录
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { defineMixin } from '../../libs/vue'
|
||||
import {defineMixin} from '../../libs/vue'
|
||||
import defProps from '../../libs/config/props.js'
|
||||
|
||||
export const props = defineMixin({
|
||||
props: {
|
||||
// tab的数据
|
||||
@@ -42,10 +43,25 @@ export const props = defineMixin({
|
||||
type: String,
|
||||
default: () => defProps.subsection.bgColor
|
||||
},
|
||||
// 从list元素对象中读取的键名
|
||||
keyName: {
|
||||
type: String,
|
||||
default: () => defProps.subsection.keyName
|
||||
}
|
||||
// 从list元素对象中读取的键名
|
||||
keyName: {
|
||||
type: String,
|
||||
default: () => defProps.subsection.keyName
|
||||
},
|
||||
// 从`list`元素对象中读取激活时的颜色 如果存在字段 优先级大于 activeColor
|
||||
activeColorKeyName: {
|
||||
type: String,
|
||||
default: () => defProps.subsection.activeColorKeyName
|
||||
},
|
||||
// 从`list`元素对象中读取未激活时的颜色 如果存在字段 优先级大于 inactiveColor
|
||||
inactiveColorKeyName: {
|
||||
type: String,
|
||||
default: () => defProps.subsection.inactiveColorKeyName
|
||||
},
|
||||
// 是否禁用
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: () => defProps.subsection.disabled
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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:12:20
|
||||
* @FilePath : /u-view2.0/uview-ui/libs/config/props/subsection.js
|
||||
* @LastAuthor : jry
|
||||
* @lastTime : 2025-12-19 08:55:21
|
||||
* @FilePath : /uview-plus/libs/config/props/subsection.js
|
||||
*/
|
||||
export default {
|
||||
// subsection组件
|
||||
@@ -18,6 +18,9 @@ export default {
|
||||
fontSize: 12,
|
||||
bold: true,
|
||||
bgColor: '#eeeeef',
|
||||
keyName: 'name'
|
||||
keyName: 'name',
|
||||
activeColorKeyName: 'activeColorKey',
|
||||
inactiveColorKeyName: 'inactiveColorKey',
|
||||
disabled: false,
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user