1
This commit is contained in:
16
uview-plus/components/u-grid-item/gridItem.js
Normal file
16
uview-plus/components/u-grid-item/gridItem.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* @Author : LQ
|
||||
* @Description :
|
||||
* @version : 1.0
|
||||
* @Date : 2021-08-20 16:44:21
|
||||
* @LastAuthor : LQ
|
||||
* @lastTime : 2021-08-20 17:06:13
|
||||
* @FilePath : /u-view2.0/uview-ui/libs/config/props/gridItem.js
|
||||
*/
|
||||
export default {
|
||||
// grid-item组件
|
||||
gridItem: {
|
||||
name: null,
|
||||
bgColor: 'transparent'
|
||||
}
|
||||
}
|
||||
16
uview-plus/components/u-grid-item/props.js
Normal file
16
uview-plus/components/u-grid-item/props.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineMixin } from '../../libs/vue'
|
||||
import defProps from '../../libs/config/props.js'
|
||||
export const props = defineMixin({
|
||||
props: {
|
||||
// 宫格的name
|
||||
name: {
|
||||
type: [String, Number, null],
|
||||
default: () => defProps.gridItem.name
|
||||
},
|
||||
// 背景颜色
|
||||
bgColor: {
|
||||
type: String,
|
||||
default: () => defProps.gridItem.bgColor
|
||||
}
|
||||
}
|
||||
})
|
||||
219
uview-plus/components/u-grid-item/u-grid-item.vue
Normal file
219
uview-plus/components/u-grid-item/u-grid-item.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user