bri-components 1.1.6 → 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/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/abolish/DshFileShow.less +61 -0
- package/src/{components/small → abolish}/DshFileShow.vue +30 -105
- 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/{index.vue → BriUpload.vue} +4 -3
- package/src/components/controls/base/BriUpload/{upload-list.vue → uploadList.vue} +17 -13
- package/src/components/controls/base/BriUpload/uploadMixin.js +1 -5
- package/src/components/controls/base/DshCascader/DshCascader.vue +100 -100
- package/src/components/controls/base/DshCascader/InfoCascader.vue +3 -4
- package/src/components/controls/base/DshCheckbox.vue +11 -11
- package/src/components/controls/base/DshCoordinates.vue +2 -2
- package/src/components/controls/base/DshDate.vue +21 -10
- package/src/components/controls/base/DshEditor.vue +33 -48
- package/src/components/controls/base/DshInput.vue +21 -19
- package/src/components/controls/base/DshNumber/DshNumber.vue +23 -22
- package/src/components/controls/base/DshSelect.vue +3 -3
- package/src/components/controls/base/DshSwitch.vue +2 -2
- package/src/components/controls/controlMap.js +5 -1
- package/src/components/controls/controlMixin.js +16 -17
- package/src/components/controls/senior/.DS_Store +0 -0
- package/src/components/controls/senior/BriLabels.vue +200 -171
- 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/controls/special/DshUndeveloped.vue +0 -6
- package/src/components/form/DshForm.vue +4 -17
- package/src/components/list/BriCard.vue +52 -0
- package/src/components/list/BriTable.vue +1 -1
- package/src/components/list/{ZTree.vue → BriTree.vue} +9 -8
- package/src/components/list/BriTreeItem.vue +110 -0
- package/src/components/list/DshBox/DshCard.vue +4 -4
- package/src/components/list/DshBox/DshCrossTable.vue +4 -4
- package/src/components/list/DshBox/DshList.vue +2 -2
- package/src/components/list/DshBox/DshPanel.vue +5 -5
- package/src/components/list/DshBox/DshTable.vue +21 -80
- package/src/components/list/DshCascaderTable.vue +2 -2
- package/src/components/other/{ZCode.vue → BriCode.vue} +2 -9
- package/src/components/other/{ZCollapseTree.vue → BriCollapseTree.vue} +37 -16
- package/src/components/other/{ZIframe.vue → BriIframe.vue} +7 -23
- package/src/components/other/{ZLoading.vue → BriLoading.vue} +25 -11
- package/src/components/other/BriSvg.vue +2 -2
- package/src/components/other/DshAvatar.vue +21 -69
- package/src/components/other/DshColorPanel.vue +0 -43
- package/src/components/small/{Ctooltip.vue → BriTooltip.vue} +2 -2
- package/src/components/small/DshButtons.vue +2 -2
- package/src/components/small/DshCrumbs.vue +1 -0
- package/src/components/small/DshCrumbsItem.vue +5 -3
- package/src/components/small/DshIcons.vue +0 -14
- package/src/components/small/DshTags.vue +8 -3
- package/src/components/unit/DshFormItem.vue +4 -4
- package/src/components/unit/DshUnit.vue +0 -8
- package/src/index.js +99 -106
- package/src/styles/.DS_Store +0 -0
- package/src/styles/common/control.less +76 -68
- package/src/styles/components/.DS_Store +0 -0
- package/src/styles/components/controls/base/BriUpload/BriUpload.less +167 -0
- package/src/styles/components/controls/base/BriUpload/BriUploadImage.less +81 -0
- package/src/styles/components/controls/base/BriUpload/index.less +3 -0
- package/src/styles/components/controls/base/BriUpload/uploadList.less +164 -0
- package/src/styles/components/controls/base/DshCascader/DshCascader.less +71 -0
- package/src/styles/components/controls/base/DshCascader/index.less +2 -0
- package/src/styles/components/controls/base/DshCheckbox.less +68 -71
- package/src/styles/components/controls/base/DshDate.less +12 -0
- package/src/styles/components/controls/base/DshEditor.less +27 -48
- package/src/styles/components/controls/base/DshInput.less +6 -2
- package/src/styles/components/controls/base/DshNumber.less +44 -27
- package/src/styles/components/controls/base/DshSelect.less +12 -1
- package/src/styles/components/controls/senior/BriLabels.less +34 -103
- 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/controls/special/DshBack.less +3 -0
- package/src/styles/components/controls/special/DshUndeveloped.less +3 -0
- package/src/styles/components/form/DshAdvSearchForm.less +0 -1
- package/src/styles/components/form/DshDefaultSearch.less +2 -3
- package/src/styles/components/form/DshForm.less +13 -0
- package/src/styles/components/index.less +47 -36
- package/src/styles/components/list/BriCard.less +50 -0
- package/src/styles/components/list/BriTable.less +9 -9
- package/src/styles/components/list/{ZTree.less → BriTree.less} +11 -7
- package/src/styles/components/list/BriTreeItem.less +50 -0
- package/src/styles/components/list/DshBox/DshTable.less +11 -0
- package/src/styles/components/other/BriCode.less +5 -0
- package/src/styles/components/other/{ZCollapseTree.less → BriCollapseTree.less} +2 -2
- package/src/styles/components/other/BriIframe.less +16 -0
- package/src/styles/components/other/{ZLoading.less → BriLoading.less} +3 -3
- package/src/styles/components/other/DshAvatar.less +64 -0
- package/src/styles/components/other/DshBtnModal.less +3 -0
- package/src/styles/components/other/DshColorPanel.less +40 -0
- package/src/styles/components/other/DshEditPanel.less +2 -2
- package/src/styles/components/small/BriButton.less +3 -2
- package/src/styles/components/small/{Ctooltip.less → BriTooltip.less} +2 -1
- package/src/styles/components/small/DshCrumbs.less +0 -0
- package/src/styles/components/small/DshDropdown.less +5 -3
- package/src/styles/components/small/DshIcons.less +7 -0
- package/src/styles/components/small/DshTags.less +17 -0
- package/src/styles/components/unit/DshFormItem.less +4 -5
- package/src/styles/components/unit/DshUnit.less +5 -0
- package/src/utils/table.js +8 -0
- package/src/components/controls/controlShow.vue +0 -44
- package/src/components/other/YNoPermission.vue +0 -45
- package/src/components/small/BriTree.vue +0 -42
- package/src/styles/components/controls/base/BriUpload.less +0 -436
- package/src/styles/components/controls/base/DshCascader.less +0 -110
- package/src/styles/components/controls/controlShow.less +0 -12
- package/src/styles/components/other/ZCode.less +0 -1
- /package/src/{styles/components/other → abolish}/BriTransfer.less +0 -0
- /package/src/{components/other → abolish}/BriTransfer.vue +0 -0
- /package/src/{styles/components/small → abolish}/BriTree.less +0 -0
- /package/src/components/{small → list}/DshPage.vue +0 -0
- /package/src/components/other/{ZGantt.vue → BriGantt.vue} +0 -0
- /package/src/components/other/{menu/DshMenu.vue → DshMenu.vue} +0 -0
- /package/src/components/other/{menu/DshMenuNav.vue → DshMenuNav.vue} +0 -0
- /package/src/styles/components/controls/base/{InfoCascader.less → DshCascader/InfoCascader.less} +0 -0
- /package/src/styles/components/{small → list}/DshPage.less +0 -0
- /package/src/styles/components/other/{ZGantt.less → BriGantt.less} +0 -0
- /package/src/{components/controls/base/BriUpload/upload-listItem.vue → styles/components/small/DshCrumbItem.less} +0 -0
|
@@ -1,95 +1,103 @@
|
|
|
1
|
-
//
|
|
2
|
-
.unit-show () {
|
|
1
|
+
// 单元格标签式展示 -非全部类型通用
|
|
2
|
+
.bri-unit-show () {
|
|
3
3
|
background-color: @theme-focus;
|
|
4
4
|
color: @themeColor;
|
|
5
5
|
border-radius: @borderRadius;
|
|
6
6
|
padding: 3px 8px;
|
|
7
|
-
text-align: center;
|
|
8
7
|
line-height: 24px;
|
|
8
|
+
display: inline;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
//
|
|
12
|
-
|
|
13
|
-
// &-show {
|
|
14
|
-
// border: none;
|
|
15
|
-
// background-color: transparent;
|
|
16
|
-
// }
|
|
17
|
-
|
|
18
|
-
// &-edit {
|
|
19
|
-
// height: 32px;
|
|
20
|
-
// border: 1px solid @borderColor;
|
|
21
|
-
// border-radius: @borderRadius;
|
|
22
|
-
// background: @inputBg;
|
|
23
|
-
// line-height: 32px;
|
|
24
|
-
// color: @textColor;
|
|
25
|
-
// cursor: pointer;
|
|
26
|
-
// }
|
|
27
|
-
|
|
28
|
-
// &-placeholder {
|
|
29
|
-
// color: @placeholderColor;
|
|
30
|
-
// }
|
|
31
|
-
|
|
32
|
-
// &-readonly {
|
|
33
|
-
// border: 1px solid @border-readonly;
|
|
34
|
-
// border-radius: @borderRadius;
|
|
35
|
-
// background: @inputBg-readonly;
|
|
36
|
-
// line-height: 32px;
|
|
37
|
-
// color: @textColor-readonly;
|
|
38
|
-
// }
|
|
39
|
-
|
|
40
|
-
// &-disabled {
|
|
41
|
-
// color: @textColor-disabled;
|
|
42
|
-
// border: 1px solid @border-disabled;
|
|
43
|
-
// background: @inputBg-disabled;
|
|
44
|
-
// border-radius: @borderRadius;
|
|
45
|
-
// cursor: not-allowed;
|
|
46
|
-
// }
|
|
47
|
-
|
|
48
|
-
// &-notext {
|
|
49
|
-
// color: @placeholderColor;
|
|
50
|
-
// }
|
|
51
|
-
// }
|
|
52
|
-
|
|
53
|
-
// 表单模式
|
|
54
|
-
.control-edit {
|
|
55
|
-
height: 32px;
|
|
11
|
+
// 表单控件共用样式
|
|
12
|
+
.bri-control-edit {
|
|
56
13
|
border: 1px solid @borderColor;
|
|
57
14
|
border-radius: @borderRadius;
|
|
58
15
|
background: @inputBg;
|
|
59
|
-
line-height: 32px;
|
|
60
16
|
cursor: pointer;
|
|
61
17
|
color: @textColor;
|
|
18
|
+
|
|
19
|
+
&.bri-control-nodata {
|
|
20
|
+
.bri-control-nodata();
|
|
21
|
+
}
|
|
62
22
|
}
|
|
63
|
-
.control-disabled {
|
|
64
|
-
height: 32px;
|
|
23
|
+
.bri-control-disabled {
|
|
65
24
|
border: 1px solid @border-disabled;
|
|
66
25
|
border-radius: @borderRadius;
|
|
67
26
|
background: @inputBg-disabled;
|
|
68
|
-
line-height: 32px;
|
|
69
|
-
cursor: not-allowed;
|
|
70
|
-
color: @textColor-disabled;
|
|
71
|
-
}
|
|
72
|
-
.control-readonly {
|
|
73
|
-
height: 32px;
|
|
74
|
-
border: 1px solid @border-readonly;
|
|
75
|
-
border-radius: @borderRadius;
|
|
76
|
-
background: @inputBg-readonly;
|
|
77
|
-
line-height: 32px;
|
|
78
27
|
cursor: not-allowed;
|
|
79
|
-
color: @textColor
|
|
28
|
+
color: @textColor;
|
|
29
|
+
|
|
30
|
+
&.bri-control-nodata {
|
|
31
|
+
.bri-control-disabled-placeholder();
|
|
32
|
+
}
|
|
80
33
|
}
|
|
81
|
-
.control-
|
|
34
|
+
// .bri-control-readonly {
|
|
35
|
+
// border: 1px solid @border-readonly;
|
|
36
|
+
// border-radius: @borderRadius;
|
|
37
|
+
// background: @inputBg-readonly;
|
|
38
|
+
// cursor: not-allowed;
|
|
39
|
+
// color: @textColor-readonly;
|
|
40
|
+
// }
|
|
41
|
+
.bri-control-show {
|
|
82
42
|
border: none;
|
|
83
43
|
background-color: transparent;
|
|
44
|
+
|
|
45
|
+
&.bri-control-nodata {
|
|
46
|
+
.bri-control-nodata();
|
|
47
|
+
}
|
|
84
48
|
}
|
|
85
|
-
.control-unit {
|
|
49
|
+
.bri-control-unit {
|
|
86
50
|
border: none;
|
|
87
51
|
background-color: transparent;
|
|
88
|
-
}
|
|
89
52
|
|
|
90
|
-
|
|
91
|
-
|
|
53
|
+
// unit 模式下不用特殊处理颜色
|
|
54
|
+
&.bri-control-nodata {
|
|
55
|
+
color: @text-color;
|
|
56
|
+
}
|
|
92
57
|
}
|
|
93
|
-
|
|
58
|
+
// 无数据
|
|
59
|
+
.bri-control-nodata {
|
|
94
60
|
color: @placeholderColor;
|
|
95
61
|
}
|
|
62
|
+
// 编辑disabled模式下无数据
|
|
63
|
+
.bri-control-disabled-placeholder {
|
|
64
|
+
color: @textColor-disabled;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// 展示为tag标签公共样式
|
|
68
|
+
#bri-control-wrap () {
|
|
69
|
+
.dsh-flex-row-between-center();
|
|
70
|
+
height: 32px;
|
|
71
|
+
padding: 4px 0 4px 4px;
|
|
72
|
+
line-height: 24px;
|
|
73
|
+
|
|
74
|
+
.text {
|
|
75
|
+
.dsh-ellipsis();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.overflow {
|
|
79
|
+
overflow: auto;
|
|
80
|
+
.bri-scrollbar3();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.icon {
|
|
84
|
+
&-default {
|
|
85
|
+
padding: 5px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&-close {
|
|
89
|
+
padding: 5px;
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
.icon-close {
|
|
96
|
+
display: block;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&.bri-control-nodata {
|
|
101
|
+
padding-left: 7px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
.BriUpload {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
position: relative;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
border: 1px solid @borderColor;
|
|
7
|
+
border-radius: @borderRadius;
|
|
8
|
+
background-color: @white;
|
|
9
|
+
|
|
10
|
+
// 外围
|
|
11
|
+
&-old {
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
display: flex;
|
|
14
|
+
|
|
15
|
+
&-wrapper {
|
|
16
|
+
min-width: 120px;
|
|
17
|
+
height: 100%;
|
|
18
|
+
margin: 16px 0px 16px 16px;
|
|
19
|
+
border-radius: 0px;
|
|
20
|
+
border: none;
|
|
21
|
+
&:hover {
|
|
22
|
+
border: none
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-imageadd {
|
|
27
|
+
.dsh-flex-col-center-center();
|
|
28
|
+
width: 120px;
|
|
29
|
+
height: 120px;
|
|
30
|
+
position: relative;
|
|
31
|
+
border: 1px @borderColor dashed;
|
|
32
|
+
color: @themeColor;
|
|
33
|
+
border-radius: @borderRadius;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
&:hover {
|
|
36
|
+
border-color: @themeColor;
|
|
37
|
+
background-color: @theme-focus;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&-circle {
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 50%;
|
|
44
|
+
left: 50%;
|
|
45
|
+
width: 50px !important;
|
|
46
|
+
height: 50px !important;
|
|
47
|
+
margin-top: -25px;
|
|
48
|
+
margin-left: -25px;
|
|
49
|
+
border-radius: 50%;
|
|
50
|
+
background-color: @inputBg-readonly;
|
|
51
|
+
|
|
52
|
+
i {
|
|
53
|
+
color: @scuess-color;
|
|
54
|
+
font-size: 40px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-new,
|
|
60
|
+
&-inline {
|
|
61
|
+
display: flex;
|
|
62
|
+
|
|
63
|
+
&-wrapper {
|
|
64
|
+
min-width: 30px;
|
|
65
|
+
background-color: @border-readonly;
|
|
66
|
+
height: 30px;
|
|
67
|
+
line-height: 30px;
|
|
68
|
+
border: none;
|
|
69
|
+
border-radius: 0px !important;
|
|
70
|
+
&:hover {
|
|
71
|
+
border: none
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&-imageadd {
|
|
76
|
+
.dsh-flex-row-center-center();
|
|
77
|
+
height: 30px;
|
|
78
|
+
background-color: @btn-hover;
|
|
79
|
+
color: @textColor;
|
|
80
|
+
border: none;
|
|
81
|
+
border-radius: 0px;
|
|
82
|
+
&:hover {
|
|
83
|
+
color: @themeColor;
|
|
84
|
+
background-color: @theme-focus;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&-circle {
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: 50%;
|
|
91
|
+
left: 50%;
|
|
92
|
+
width: 24px !important;
|
|
93
|
+
height: 24px !important;
|
|
94
|
+
margin-top: -12px;
|
|
95
|
+
margin-left: -12px;
|
|
96
|
+
background-color: #f4f5fa;
|
|
97
|
+
border-radius: 50%;
|
|
98
|
+
i {
|
|
99
|
+
color: @scuess-color;
|
|
100
|
+
font-size: 24px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&-readonly {
|
|
106
|
+
border: none;
|
|
107
|
+
border-radius: 0px;
|
|
108
|
+
background-color: transparent;
|
|
109
|
+
|
|
110
|
+
.uploadList {
|
|
111
|
+
&-old {
|
|
112
|
+
margin: 0px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&-list {
|
|
116
|
+
.item {
|
|
117
|
+
flex: 0 0 80px;
|
|
118
|
+
height: 80px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&-inline {
|
|
123
|
+
.bri-scrollbar6();
|
|
124
|
+
height: 48px;
|
|
125
|
+
line-height: 48px;
|
|
126
|
+
|
|
127
|
+
.item {
|
|
128
|
+
flex: 0 0 48px
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&-disabled {
|
|
135
|
+
.bri-control-disabled();
|
|
136
|
+
|
|
137
|
+
.uploadList {
|
|
138
|
+
&-old {
|
|
139
|
+
margin: 0px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&-list {
|
|
143
|
+
.item {
|
|
144
|
+
flex: 0 0 80px;
|
|
145
|
+
height: 80px;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&-nodata {
|
|
150
|
+
.bri-control-disabled-placeholder();
|
|
151
|
+
text-indent: 7px;
|
|
152
|
+
text-align: left;
|
|
153
|
+
}
|
|
154
|
+
&-inline-nodata {
|
|
155
|
+
.bri-control-disabled-placeholder();
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&-unit {
|
|
161
|
+
.uploadList {
|
|
162
|
+
&-inline-nodata {
|
|
163
|
+
color: @text-color;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
.BriUploadImage {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
&-set {
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
&-img {
|
|
8
|
+
width: 100px;
|
|
9
|
+
height: 100px;
|
|
10
|
+
float: left;
|
|
11
|
+
background-repeat: no-repeat;
|
|
12
|
+
background-position: center;
|
|
13
|
+
background-size: contain;
|
|
14
|
+
background-color: #fff;
|
|
15
|
+
border: 1px solid @borderColor;
|
|
16
|
+
border-radius: 0px;
|
|
17
|
+
position: relative;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
|
|
20
|
+
&-action {
|
|
21
|
+
color: @themeColor;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-circle {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 0px;
|
|
28
|
+
bottom: 0px;
|
|
29
|
+
left: 0px;
|
|
30
|
+
right: 0px;
|
|
31
|
+
background-color: #f4f5fa;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
|
|
36
|
+
.circle {
|
|
37
|
+
width: 50px !important;
|
|
38
|
+
height: 50px !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
i {
|
|
42
|
+
color: #5cb85c;
|
|
43
|
+
font-size: 40px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-avatar {
|
|
49
|
+
background-size: cover;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.wrap {
|
|
53
|
+
width: 100px;
|
|
54
|
+
height: 32px;
|
|
55
|
+
position: relative;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
display: inline-block;
|
|
58
|
+
line-height: 18px;
|
|
59
|
+
text-align: center;
|
|
60
|
+
vertical-align: middle;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
|
|
63
|
+
button {
|
|
64
|
+
position: absolute;
|
|
65
|
+
bottom: 0;
|
|
66
|
+
left: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.file {
|
|
70
|
+
position: absolute;
|
|
71
|
+
bottom: 0;
|
|
72
|
+
left: 0;
|
|
73
|
+
margin: 0;
|
|
74
|
+
border: solid transparent;
|
|
75
|
+
opacity: 0;
|
|
76
|
+
filter: alpha(opacity=0);
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
// 列表样式
|
|
2
|
+
.uploadList {
|
|
3
|
+
width: 100%;
|
|
4
|
+
overflow: auto;
|
|
5
|
+
|
|
6
|
+
// 普通文件
|
|
7
|
+
&-old {
|
|
8
|
+
margin: 16px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&-nodata {
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
text-align: center;
|
|
15
|
+
line-height: 120px;
|
|
16
|
+
color: @placeholderColor;
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
|
|
19
|
+
span {
|
|
20
|
+
margin-left: 5px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-list {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-wrap: nowrap;
|
|
27
|
+
|
|
28
|
+
.item {
|
|
29
|
+
flex: 0 0 120px;
|
|
30
|
+
height: 120px;
|
|
31
|
+
margin-right: 10px;
|
|
32
|
+
border-radius: @borderRadius;
|
|
33
|
+
background: #f4f5fa;
|
|
34
|
+
text-align: center;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
position: relative;
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
.item-action {
|
|
43
|
+
display: flex !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-show {
|
|
48
|
+
display: flex;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
flex: 2;
|
|
53
|
+
min-height: 50px;
|
|
54
|
+
|
|
55
|
+
img {
|
|
56
|
+
max-width: 100%;
|
|
57
|
+
max-height: 100%;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&-name {
|
|
62
|
+
flex: 1;
|
|
63
|
+
display: flex;
|
|
64
|
+
max-height: 32px;
|
|
65
|
+
|
|
66
|
+
&-title {
|
|
67
|
+
padding: 0 8px;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
text-overflow: ellipsis;
|
|
70
|
+
white-space: nowrap;
|
|
71
|
+
color: @themeColor;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&-action {
|
|
76
|
+
background-color: @placeholderColor;
|
|
77
|
+
display: none !important;
|
|
78
|
+
position: absolute;
|
|
79
|
+
right: 0px;
|
|
80
|
+
top: 0px;
|
|
81
|
+
left: 0px;
|
|
82
|
+
bottom: 0px;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
|
|
86
|
+
&-icon {
|
|
87
|
+
width: 22px;
|
|
88
|
+
height: 22px;
|
|
89
|
+
line-height: 22px;
|
|
90
|
+
color: #fff;
|
|
91
|
+
margin-left: 2px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// 内部表格inline模式
|
|
98
|
+
&-inline {
|
|
99
|
+
height: 30px;
|
|
100
|
+
line-height: 30px;
|
|
101
|
+
|
|
102
|
+
&-list {
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-wrap: nowrap;
|
|
107
|
+
overflow-x: auto;
|
|
108
|
+
overflow-y: hidden;
|
|
109
|
+
padding-left: 3px;
|
|
110
|
+
|
|
111
|
+
.item {
|
|
112
|
+
flex: 0 0 48px;
|
|
113
|
+
background: #f4f5fa;
|
|
114
|
+
margin-right: 3px;
|
|
115
|
+
position: relative;
|
|
116
|
+
border-radius: @borderRadius;
|
|
117
|
+
|
|
118
|
+
&:hover {
|
|
119
|
+
.item-action {
|
|
120
|
+
display: flex !important;
|
|
121
|
+
animation: toTop 0.1s;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
img {
|
|
126
|
+
max-width: 100%;
|
|
127
|
+
max-height: 100%;
|
|
128
|
+
margin: auto;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&-action {
|
|
132
|
+
display: none !important;
|
|
133
|
+
position: absolute;
|
|
134
|
+
left: 0;
|
|
135
|
+
right: 0;
|
|
136
|
+
top: 0;
|
|
137
|
+
bottom: 0;
|
|
138
|
+
background-color: @placeholderColor;
|
|
139
|
+
color: #fff;
|
|
140
|
+
align-items: center;
|
|
141
|
+
justify-content: center;
|
|
142
|
+
i {
|
|
143
|
+
margin: 0px;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@keyframes toTop {
|
|
148
|
+
from {
|
|
149
|
+
top: 100%;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
to {
|
|
153
|
+
top: 0;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&-nodata {
|
|
160
|
+
padding-left: 7px;
|
|
161
|
+
color: @placeholderColor;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
.DshCascader {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
&-edit {
|
|
5
|
+
// 多选
|
|
6
|
+
&-multiple {
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
&-edit {
|
|
10
|
+
#bri-control-wrap();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// 单选 -新模式
|
|
15
|
+
&-custom {
|
|
16
|
+
width: 100%;
|
|
17
|
+
#bri-control-wrap();
|
|
18
|
+
}
|
|
19
|
+
// 单选 -默认模式
|
|
20
|
+
&-single {
|
|
21
|
+
width: 100%;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// 查看
|
|
26
|
+
&-show {
|
|
27
|
+
&-multiple {
|
|
28
|
+
#bri-control-wrap();
|
|
29
|
+
|
|
30
|
+
.overflow {
|
|
31
|
+
&-unit {
|
|
32
|
+
.dsh-ellipsis();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&-single {
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// 多选类型且独自一行时
|
|
43
|
+
&-row {
|
|
44
|
+
height: 68px;
|
|
45
|
+
|
|
46
|
+
.overflow {
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ivu-cascader {
|
|
54
|
+
&-rel {
|
|
55
|
+
display: block;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&-label {
|
|
59
|
+
padding-right: 24px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-transfer {
|
|
63
|
+
max-height: 400px !important;
|
|
64
|
+
|
|
65
|
+
.ivu-cascader-menu {
|
|
66
|
+
max-height: 400px;
|
|
67
|
+
height: auto;
|
|
68
|
+
max-width: 300px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|