| 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
58
59
60
61
62
63
64
65
 | | export default {  |  |     props: {  |  |         // 标题选中时的样式 |  |         activeStyle: { |  |             type: [String, Object], |  |             default: () => ({ |  |                 color: '#2979ff', |  |                 fontSize: '14px' |  |             }) |  |         }, |  |         // 标题未选中时的样式 |  |         inactiveStyle: { |  |             type: [String, Object], |  |             default: () => ({ |  |                 color: '#606266', |  |                 fontSize: '14px' |  |             }) |  |         }, |  |         // 点击遮罩是否关闭菜单 |  |         closeOnClickMask: { |  |             type: Boolean, |  |             default: true |  |         }, |  |         // 点击当前激活项标题是否关闭菜单 |  |         closeOnClickSelf: { |  |             type: Boolean, |  |             default: true |  |         }, |  |         // 过渡时间 |  |         duration: { |  |             type: [Number, String], |  |             default: 300 |  |         }, |  |         // 标题菜单的高度 |  |         height: { |  |             type: [Number, String], |  |             default: 40 |  |         }, |  |         // 是否显示下边框 |  |         borderBottom: { |  |             type: Boolean, |  |             default: false |  |         }, |  |         // 标题的字体大小 |  |         titleSize: { |  |             type: [Number, String], |  |             default: 14 |  |         }, |  |         // 下拉出来的内容部分的圆角值 |  |         borderRadius: { |  |             type: [Number, String], |  |             default: 0 |  |         }, |  |         // 菜单右侧的icon图标 |  |         menuIcon: { |  |             type: String, |  |             default: 'arrow-down' |  |         }, |  |         // 菜单右侧图标的大小 |  |         menuIconSize: { |  |             type: [Number, String], |  |             default: 14 |  |         }  |  |     }  |  | } | 
 |