1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
| import { defineMixin } from '../../libs/vue.js'
| import defProps from './box.js'
|
| export const propsBox = defineMixin({
| props: {
| // 背景色
| bgColors: {
| type: [Array],
| default: () => defProps.box.bgColors
| },
| // 高度
| height: {
| type: [String],
| default: () => defProps.box.height
| },
| // 圆角
| borderRadius: {
| type: [String],
| default: () => defProps.box.borderRadius
| },
| // 间隔
| gap: {
| type: [String],
| default: () => defProps.box.gap
| },
| // 左侧图标
| leftIcon: {
| type: [String],
| default: () => defProps.box.leftIcon
| },
| // 左侧文案
| leftTitle: {
| type: [String],
| default: () => defProps.box.leftTitle
| },
| // 右上图标
| rightTopIcon: {
| type: [String],
| default: () => defProps.box.rightTopIcon
| },
| // 右上文案
| rightTopTitle: {
| type: [String],
| default: () => defProps.box.rightTopTitle
| },
| // 右下图标
| rightBottomIcon: {
| type: [String],
| default: () => defProps.box.rightBottomIcon
| },
| // 右下文案
| rightBottomTitle: {
| type: [String],
| default: () => defProps.box.rightBottomTitle
| },
| }
| })
|
|