bri-components 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/2.bri-components.min.js +1 -1
- package/lib/3.bri-components.min.js +1 -1
- package/lib/4.bri-components.min.js +1 -1
- package/lib/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/7.bri-components.min.js +1 -1
- package/lib/8.bri-components.min.js +1 -1
- package/lib/9.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +6 -6
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/abolish/DshFlatTable.vue +1 -1
- package/src/components/.DS_Store +0 -0
- package/src/components/controls/.DS_Store +0 -0
- package/src/components/controls/base/BriUpload/BriUpload.vue +2 -1
- package/src/components/controls/base/DshCascader/DshCascader.vue +53 -51
- package/src/components/controls/base/DshCascader/InfoCascader.vue +3 -4
- package/src/components/controls/base/DshCheckbox.vue +8 -8
- package/src/components/controls/base/DshSelect.vue +1 -1
- package/src/components/controls/controlMap.js +4 -0
- package/src/components/controls/controlMixin.js +14 -12
- package/src/components/controls/senior/.DS_Store +0 -0
- package/src/components/controls/senior/BriLabels.vue +169 -158
- package/src/components/controls/senior/selectDepartments.vue +380 -0
- package/src/components/controls/senior/selectUsers/DepartmentMenu.vue +191 -0
- package/src/components/controls/senior/selectUsers/selectUsers.vue +482 -0
- package/src/components/list/BriCard.vue +52 -0
- package/src/components/list/BriTreeItem.vue +110 -0
- package/src/components/small/DshTags.vue +1 -1
- package/src/index.js +7 -3
- package/src/styles/.DS_Store +0 -0
- package/src/styles/common/control.less +57 -54
- package/src/styles/components/.DS_Store +0 -0
- package/src/styles/components/controls/base/BriUpload/BriUpload.less +11 -3
- package/src/styles/components/controls/base/DshCascader/DshCascader.less +24 -77
- package/src/styles/components/controls/base/DshCheckbox.less +65 -69
- package/src/styles/components/controls/base/DshEditor.less +3 -2
- package/src/styles/components/controls/base/DshInput.less +4 -8
- package/src/styles/components/controls/base/DshNumber.less +2 -2
- package/src/styles/components/controls/base/DshSelect.less +3 -3
- package/src/styles/components/controls/senior/BriLabels.less +32 -118
- package/src/styles/components/controls/senior/cascaderTable.less +1 -1
- package/src/styles/components/controls/senior/flatTable.less +1 -1
- package/src/styles/components/controls/senior/selectDepartments.less +106 -0
- package/src/styles/components/controls/senior/selectUsers/DepartmentMenu.less +37 -0
- package/src/styles/components/controls/senior/selectUsers/index.less +2 -0
- package/src/styles/components/controls/senior/selectUsers/selectUsers.less +167 -0
- package/src/styles/components/form/DshDefaultSearch.less +1 -2
- package/src/styles/components/index.less +7 -3
- package/src/styles/components/list/BriCard.less +50 -0
- package/src/styles/components/list/BriTreeItem.less +50 -0
- package/src/styles/components/unit/DshFormItem.less +0 -1
|
@@ -1,110 +1,47 @@
|
|
|
1
1
|
.BriLabels {
|
|
2
|
-
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
&-dit {
|
|
5
|
+
#bri-control-wrap();
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&-show {
|
|
9
|
+
#bri-control-wrap();
|
|
10
|
+
}
|
|
3
11
|
|
|
4
12
|
&-dropdown {
|
|
5
13
|
width: 100%;
|
|
6
14
|
|
|
7
|
-
&-
|
|
8
|
-
.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
&-list {
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
width: calc(100% - 14px);
|
|
19
|
-
|
|
20
|
-
&-show {
|
|
21
|
-
width: 100%;
|
|
22
|
-
white-space: nowrap;
|
|
23
|
-
.bri-scrollbar3();
|
|
24
|
-
overflow-y: hidden;
|
|
15
|
+
&-menu {
|
|
16
|
+
.item {
|
|
17
|
+
margin: 4px 8px;
|
|
18
|
+
border-radius: @borderRadius;
|
|
19
|
+
|
|
20
|
+
&-active {
|
|
21
|
+
background-color: @theme-focus;
|
|
22
|
+
color: @themeColor;
|
|
25
23
|
}
|
|
26
|
-
|
|
27
|
-
&-
|
|
28
|
-
|
|
24
|
+
|
|
25
|
+
&-edit {
|
|
26
|
+
|
|
29
27
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
border-color: #64c6d1;
|
|
34
|
-
box-shadow: 0 0 0 2px rgba(61, 184, 197, 0.2);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&-disabled {
|
|
38
|
-
border: 1px solid @border-disabled;
|
|
39
|
-
border-radius: 4px;
|
|
40
|
-
background: @borderColor;
|
|
41
|
-
cursor: not-allowed;
|
|
42
|
-
color: @textColor-disabled !important;
|
|
43
|
-
.BriLabels-dropdown-show-list-placeholder {
|
|
44
|
-
.control-disPlaceholder();
|
|
28
|
+
|
|
29
|
+
&-show {
|
|
30
|
+
|
|
45
31
|
}
|
|
46
32
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
margin: 4px 8px;
|
|
57
|
-
border-radius: @borderRadius;
|
|
58
|
-
|
|
59
|
-
&-active {
|
|
60
|
-
background-color: @theme-focus;
|
|
61
|
-
color: @themeColor;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-show {
|
|
65
|
-
// width: 100%;
|
|
66
|
-
display: flex;
|
|
67
|
-
justify-content: space-between;
|
|
68
|
-
align-items: center;
|
|
69
|
-
|
|
70
|
-
&-icons {
|
|
71
|
-
margin-left: 10px;
|
|
72
|
-
|
|
73
|
-
i {
|
|
74
|
-
padding: 3px;
|
|
75
|
-
border-radius: @borderRadius;
|
|
76
|
-
color: rgba(0, 0, 0, 0.4);
|
|
77
|
-
|
|
78
|
-
&:hover {
|
|
79
|
-
background-color: #fff;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&-edit {
|
|
84
|
-
&:hover {
|
|
85
|
-
color: @themeColor;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&-del {
|
|
90
|
-
&:hover {
|
|
91
|
-
color: @error-color;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
33
|
+
|
|
34
|
+
.btns {
|
|
35
|
+
border-top: 1px solid #E7E7E7;
|
|
36
|
+
margin: 12px 8px 0;
|
|
37
|
+
padding-top: 8px;
|
|
38
|
+
|
|
39
|
+
&-add {
|
|
40
|
+
width: 100%;
|
|
41
|
+
margin-bottom: 8px;
|
|
94
42
|
}
|
|
95
43
|
}
|
|
96
44
|
}
|
|
97
|
-
|
|
98
|
-
&-btnWrap {
|
|
99
|
-
border-top: 1px solid #E7E7E7;
|
|
100
|
-
margin: 12px 8px 0;
|
|
101
|
-
padding-top: 8px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-add {
|
|
105
|
-
width: 100%;
|
|
106
|
-
margin-bottom: 8px;
|
|
107
|
-
}
|
|
108
45
|
}
|
|
109
46
|
|
|
110
47
|
.ivu-select-dropdown {
|
|
@@ -126,27 +63,4 @@
|
|
|
126
63
|
}
|
|
127
64
|
}
|
|
128
65
|
}
|
|
129
|
-
|
|
130
|
-
&-view {
|
|
131
|
-
display: flex;
|
|
132
|
-
flex-wrap: wrap;
|
|
133
|
-
align-items: center;
|
|
134
|
-
height: 32px;
|
|
135
|
-
overflow-y: hidden;
|
|
136
|
-
|
|
137
|
-
&-item {
|
|
138
|
-
.unit-show();
|
|
139
|
-
.dsh-ellipsis();
|
|
140
|
-
max-width: 100%;
|
|
141
|
-
height: fit-content;
|
|
142
|
-
padding: 0 8px;
|
|
143
|
-
background-color: @borderColor;
|
|
144
|
-
color: rgba(0, 0, 0, 0.9);
|
|
145
|
-
font-size: 12px;
|
|
146
|
-
font-weight: 400;
|
|
147
|
-
line-height: 24px;
|
|
148
|
-
border-radius: @borderRadius;
|
|
149
|
-
margin-right: 8px;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
66
|
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
.selectDepartments {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
&-edit {
|
|
5
|
+
#bri-control-wrap();
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&-show {
|
|
9
|
+
#bri-control-wrap();
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// 传到子组件里的class!!!
|
|
13
|
+
&-modal {
|
|
14
|
+
.ivu-modal {
|
|
15
|
+
width: 800px!important;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
// 传到子组件里的class!!!
|
|
19
|
+
&-cascaderModal {
|
|
20
|
+
.ivu-modal {
|
|
21
|
+
width: 600px !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-list {
|
|
26
|
+
height: 600px;
|
|
27
|
+
padding: 15px 20px;
|
|
28
|
+
.dsh-flex-col-start-stretch();
|
|
29
|
+
|
|
30
|
+
.list {
|
|
31
|
+
&-selected {
|
|
32
|
+
padding: 0 15px;
|
|
33
|
+
line-height: 30px;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
align-items: center;
|
|
37
|
+
|
|
38
|
+
&-label {
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.item {
|
|
43
|
+
max-width: 230px;
|
|
44
|
+
height: 24px;
|
|
45
|
+
padding: 2px 6px 2px 10px;
|
|
46
|
+
margin: 3px 5px;
|
|
47
|
+
border-radius: 20px;
|
|
48
|
+
background-color: @themeColor;
|
|
49
|
+
color: #ffffff;
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
|
|
54
|
+
&-name {
|
|
55
|
+
.dsh-ellipsis();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&-delete {
|
|
59
|
+
padding: 3px;
|
|
60
|
+
margin-left: 5px;
|
|
61
|
+
font-size: 14px;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-search {
|
|
68
|
+
padding: 10px 15px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&-center {
|
|
72
|
+
flex: 1;
|
|
73
|
+
min-height: 100px;
|
|
74
|
+
padding: 5px 0 10px;
|
|
75
|
+
overflow: auto;
|
|
76
|
+
|
|
77
|
+
&-tree {
|
|
78
|
+
.tree {
|
|
79
|
+
&-nodata {
|
|
80
|
+
#dsh-nodata();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&-card {
|
|
86
|
+
.card {
|
|
87
|
+
&-high-title {
|
|
88
|
+
padding: 10px 0px;
|
|
89
|
+
clear: both;
|
|
90
|
+
text-align: left;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&-footer {
|
|
97
|
+
text-align: right;
|
|
98
|
+
|
|
99
|
+
.ivu-btn {
|
|
100
|
+
width: 120px;
|
|
101
|
+
height: 38px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.DepartmentMenu {
|
|
2
|
+
|
|
3
|
+
font-size: 14px;
|
|
4
|
+
|
|
5
|
+
&-item {
|
|
6
|
+
width: 100%;
|
|
7
|
+
line-height: 38px;
|
|
8
|
+
text-align: left;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
|
|
12
|
+
.ivu-icon {
|
|
13
|
+
color: @textColor;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-item-name {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: flex-start;
|
|
21
|
+
padding: 8px 5px 8px 20px;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
color: @textColor;
|
|
24
|
+
line-height: 24px;
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
background-color: rgba(36, 36, 63, 0.03);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-select {
|
|
31
|
+
font-weight: 700;
|
|
32
|
+
color: @themeColor;
|
|
33
|
+
background: rgba(235, 240, 232, 1);
|
|
34
|
+
position: relative;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
.selectUsers {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
&-edit {
|
|
5
|
+
#bri-control-wrap();
|
|
6
|
+
}
|
|
7
|
+
&-show {
|
|
8
|
+
#bri-control-wrap();
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// 弹框部分
|
|
12
|
+
&-modal {
|
|
13
|
+
&-wrap {
|
|
14
|
+
display: flex;
|
|
15
|
+
padding: 20px;
|
|
16
|
+
height: 550px;
|
|
17
|
+
|
|
18
|
+
&-left {
|
|
19
|
+
width: 520px;
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
background: @white;
|
|
22
|
+
border: 1px solid #E5E5E5;
|
|
23
|
+
|
|
24
|
+
.search {
|
|
25
|
+
padding: 10px 20px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.content {
|
|
29
|
+
display: flex;
|
|
30
|
+
height: calc(100% - 52px);
|
|
31
|
+
border-top: 1px solid #E5E5E5;
|
|
32
|
+
|
|
33
|
+
&-menu {
|
|
34
|
+
flex: 3;
|
|
35
|
+
height: 100%;
|
|
36
|
+
overflow: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-users {
|
|
40
|
+
flex: 2;
|
|
41
|
+
position: relative;
|
|
42
|
+
|
|
43
|
+
.ivu-checkbox-checked .ivu-checkbox-inner {
|
|
44
|
+
border-color: @themeColor;
|
|
45
|
+
background-color: @themeColor;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-list {
|
|
49
|
+
border-left: 1px solid #E5E5E5;
|
|
50
|
+
height: 100%;
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
&-checkAll {
|
|
56
|
+
height: 40px;
|
|
57
|
+
line-height: 40px;
|
|
58
|
+
border-bottom: 1px solid #E5E5E5;
|
|
59
|
+
padding-left: 15px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-selects {
|
|
63
|
+
flex: 1;
|
|
64
|
+
overflow: auto;
|
|
65
|
+
padding: 15px;
|
|
66
|
+
|
|
67
|
+
&-item {
|
|
68
|
+
margin-bottom: 5px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-nodata {
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: 50%;
|
|
76
|
+
width: 100%;
|
|
77
|
+
text-align: center;
|
|
78
|
+
transform: translateY(-50%);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&-center {
|
|
86
|
+
width: 100px;
|
|
87
|
+
display: flex;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
align-items: center;
|
|
90
|
+
|
|
91
|
+
.icon {
|
|
92
|
+
width: 24px;
|
|
93
|
+
height: 24px;
|
|
94
|
+
line-height: 24px;
|
|
95
|
+
font-size: 18px;
|
|
96
|
+
background-color: @themeColor;
|
|
97
|
+
border-radius: 50%;
|
|
98
|
+
color: #fff;
|
|
99
|
+
text-align: center;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&-right {
|
|
104
|
+
flex: 1;
|
|
105
|
+
width: 0px;
|
|
106
|
+
height: 100%;
|
|
107
|
+
padding: 20px;
|
|
108
|
+
margin-left: 10px;
|
|
109
|
+
border: 1px solid #E5E5E5;
|
|
110
|
+
background: @white;
|
|
111
|
+
overflow: auto;
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
|
|
115
|
+
.list {
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-wrap: wrap;
|
|
118
|
+
align-items: center;
|
|
119
|
+
|
|
120
|
+
&-item {
|
|
121
|
+
max-width: 150px;
|
|
122
|
+
height: 24px;
|
|
123
|
+
padding: 2px 6px 2px 10px;
|
|
124
|
+
margin: 3px 5px;
|
|
125
|
+
border-radius: 20px;
|
|
126
|
+
background-color: @themeColor;
|
|
127
|
+
color: #ffffff;
|
|
128
|
+
font-size: 12px;
|
|
129
|
+
display: flex;
|
|
130
|
+
align-items: center;
|
|
131
|
+
|
|
132
|
+
&-name {
|
|
133
|
+
.dsh-ellipsis();
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&-delete {
|
|
137
|
+
padding: 3px;
|
|
138
|
+
margin-left: 5px;
|
|
139
|
+
font-size: 14px;
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&-footer {
|
|
147
|
+
padding-bottom: 10px;
|
|
148
|
+
|
|
149
|
+
.DshButtons {
|
|
150
|
+
text-align: right;
|
|
151
|
+
padding-right: 24px;
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
.ivu-btn {
|
|
155
|
+
width: 70px;
|
|
156
|
+
height: 32px;
|
|
157
|
+
margin-right: 13px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.ivu-modal {
|
|
164
|
+
width: 900px !important;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
@import "./list/DshBox/DshPanel.less";
|
|
7
7
|
@import "./list/DshBox/DshSingleData.less";
|
|
8
8
|
@import "./list/DshBox/DshList.less";
|
|
9
|
-
@import "./list/
|
|
10
|
-
@import "./list/BriTable.less";
|
|
9
|
+
@import "./list/BriCard.less";
|
|
11
10
|
@import "./list/BriFlatTable.less";
|
|
12
|
-
@import "./list/
|
|
11
|
+
@import "./list/BriTable.less";
|
|
13
12
|
@import "./list/BriTree.less";
|
|
13
|
+
@import "./list/BriTreeItem.less";
|
|
14
|
+
@import "./list/DshCascaderTable.less";
|
|
15
|
+
@import "./list/DshPage.less";
|
|
14
16
|
|
|
15
17
|
// form
|
|
16
18
|
@import "./form/DshForm.less";
|
|
@@ -36,6 +38,8 @@
|
|
|
36
38
|
@import "./controls/base/DshEditor.less";
|
|
37
39
|
@import "./controls/base/DshDivider.less";
|
|
38
40
|
|
|
41
|
+
@import "./controls/senior/selectUsers/index.less";
|
|
42
|
+
@import "./controls/senior/selectDepartments.less";
|
|
39
43
|
@import "./controls/senior/flatTable.less";
|
|
40
44
|
@import "./controls/senior/cascaderTable.less";
|
|
41
45
|
@import "./controls/senior/BriLabels.less";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.BriCard {
|
|
2
|
+
.item {
|
|
3
|
+
height: 50px;
|
|
4
|
+
margin-bottom: 10px;
|
|
5
|
+
float: left;
|
|
6
|
+
width: 33.3%;
|
|
7
|
+
padding: 0 10px;
|
|
8
|
+
min-width: 160px;
|
|
9
|
+
|
|
10
|
+
&-normal {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
border: 1px solid #eaeaea;
|
|
14
|
+
position: relative;
|
|
15
|
+
border-radius: 5px;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
|
|
18
|
+
.label {
|
|
19
|
+
.dsh-ellipsis();
|
|
20
|
+
display: block;
|
|
21
|
+
width: 160px;
|
|
22
|
+
height: 100%;
|
|
23
|
+
position: absolute;
|
|
24
|
+
left: 50%;
|
|
25
|
+
margin-left: -80px;
|
|
26
|
+
line-height: 50px;
|
|
27
|
+
text-align: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.avatar {
|
|
31
|
+
position: absolute;
|
|
32
|
+
width: 40px;
|
|
33
|
+
height: 40px;
|
|
34
|
+
display: block;
|
|
35
|
+
border-radius: 50%;
|
|
36
|
+
left: 10px;
|
|
37
|
+
top: 5px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&-active {
|
|
42
|
+
background-color: @themeColor;
|
|
43
|
+
color: #fff;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-nodata {
|
|
48
|
+
#dsh-nodata();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.BriTreeItem {
|
|
2
|
+
padding-left: 16px;
|
|
3
|
+
|
|
4
|
+
&-content {
|
|
5
|
+
line-height: 36px;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
display: flex;
|
|
8
|
+
|
|
9
|
+
&:hover {
|
|
10
|
+
background-color: @btn-hover;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-expand {
|
|
14
|
+
width: 28px;
|
|
15
|
+
text-align: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-select {
|
|
19
|
+
width: 100%;
|
|
20
|
+
color: rgba(36, 36, 63, 0.9);
|
|
21
|
+
|
|
22
|
+
.ivu-checkbox-inner {
|
|
23
|
+
border-color: rgba(36, 36, 63, 0.3)
|
|
24
|
+
}
|
|
25
|
+
.ivu-checkbox {
|
|
26
|
+
margin-right: 2px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-radio {
|
|
30
|
+
.ivu-checkbox-inner {
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-text {
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.default-enter,
|
|
42
|
+
.default-leave-to {
|
|
43
|
+
opacity: 0;
|
|
44
|
+
max-height: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-children {
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
}
|