bri-components 1.5.13 → 1.5.15
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/README.md +83 -83
- package/lib/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/10.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 +4 -4
- package/lib/styles/bundle.css +12 -12
- package/lib/styles/font/fontello.svg +31 -31
- package/package.json +125 -125
- package/src/components/Error/Error403.vue +42 -42
- package/src/components/Error/Error404.vue +40 -40
- package/src/components/Error/Error500.vue +51 -51
- package/src/components/Error/error.less +162 -162
- package/src/components/Error/errorBack.vue +40 -40
- package/src/components/controls/DshControlInput.vue +195 -195
- package/src/components/controls/base/BriUpload/BriUpload.vue +434 -434
- package/src/components/controls/base/BriUpload/BriUploadImage.vue +377 -377
- package/src/components/controls/base/BriUpload/uploadList.vue +727 -731
- package/src/components/controls/base/BriUpload/uploadMixin.js +446 -446
- package/src/components/controls/base/DshCascader/DshCascader.vue +215 -215
- package/src/components/controls/base/DshCascader/components/cascaderModal.vue +366 -366
- package/src/components/controls/base/DshCascader/components/cascaderPicker.vue +416 -416
- package/src/components/controls/base/DshCascader/components/cascaderSimple.vue +141 -141
- package/src/components/controls/base/DshCascader/components/cascaderTree.vue +151 -151
- package/src/components/controls/base/DshCoordinates.vue +577 -577
- package/src/components/controls/base/DshDate/DshDate.vue +191 -191
- package/src/components/controls/base/DshDate/DshDaterange.vue +186 -186
- package/src/components/controls/base/DshDivider.vue +201 -201
- package/src/components/controls/base/DshEditor.vue +274 -274
- package/src/components/controls/base/DshInput/BriInputs.vue +166 -166
- package/src/components/controls/base/DshInput/DshInput.vue +260 -260
- package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +435 -435
- package/src/components/controls/base/DshNumber/BriInputNumber/mixins/emitter.js +34 -34
- package/src/components/controls/base/DshNumber/BriInputNumber/mixins/form.js +14 -14
- package/src/components/controls/base/DshNumber/BriInputNumber/utils/assist.js +322 -322
- package/src/components/controls/base/DshNumber/DshNumber.vue +143 -143
- package/src/components/controls/base/DshNumber/DshNumberange.vue +109 -109
- package/src/components/controls/base/DshSelect/DshCheckbox.vue +168 -168
- package/src/components/controls/base/DshSelect/DshSelect.vue +180 -180
- package/src/components/controls/base/DshSwitch/DshSwitch.vue +115 -115
- package/src/components/controls/control.less +324 -324
- package/src/components/controls/controlMap.js +114 -114
- package/src/components/controls/extra/DshColor.vue +81 -81
- package/src/components/controls/extra/DshThemeColor.vue +100 -100
- package/src/components/controls/extra/DshThemeIcon.vue +122 -122
- package/src/components/controls/mixins/cascaderMixin.js +325 -327
- package/src/components/controls/mixins/cascaderPickerMixin.js +227 -227
- package/src/components/controls/mixins/cascaderTableMixin.js +130 -130
- package/src/components/controls/mixins/controlMixin.js +393 -393
- package/src/components/controls/mixins/dateMixin.js +149 -149
- package/src/components/controls/mixins/flatTableMixin.js +111 -111
- package/src/components/controls/mixins/numberMixin.js +112 -112
- package/src/components/controls/mixins/selectMixin.js +233 -233
- package/src/components/controls/mixins/switchMixin.js +87 -87
- package/src/components/controls/mixins/userAndDepartMixin.js +260 -260
- package/src/components/controls/senior/DshLabels.vue +333 -333
- package/src/components/controls/senior/DshPackage.vue +57 -57
- package/src/components/controls/senior/cascaderTable.vue +213 -213
- package/src/components/controls/senior/flatTable.vue +138 -138
- package/src/components/controls/senior/selectDepartments.vue +399 -399
- package/src/components/controls/senior/selectUsers/departMenu.vue +293 -293
- package/src/components/controls/senior/selectUsers/selectUsers.vue +712 -712
- package/src/components/controls/special/DshBack.vue +42 -42
- package/src/components/controls/special/DshUndeveloped.vue +41 -41
- package/src/components/form/DshAdvSearch.vue +510 -510
- package/src/components/form/DshDefaultSearch.vue +260 -260
- package/src/components/form/DshForm.vue +494 -494
- package/src/components/form/searchMixin.js +376 -376
- package/src/components/list/BriCard.vue +95 -95
- package/src/components/list/BriTable.vue +205 -205
- package/src/components/list/BriTree.vue +529 -529
- package/src/components/list/BriTreeItem.vue +163 -163
- package/src/components/list/DshBox/DshBox.vue +219 -219
- package/src/components/list/DshBox/DshCard.vue +446 -446
- package/src/components/list/DshBox/DshCrossTable.vue +827 -827
- package/src/components/list/DshBox/DshList.vue +404 -404
- package/src/components/list/DshBox/DshPanel.vue +669 -669
- package/src/components/list/DshBox/DshSingleData.vue +119 -119
- package/src/components/list/DshBox/DshTable.vue +239 -239
- package/src/components/list/DshCascaderTable.vue +115 -115
- package/src/components/list/DshFlatTable.vue +337 -337
- package/src/components/list/DshPage.vue +194 -194
- package/src/components/list/DshTreeTable.vue +113 -113
- package/src/components/list/common/importModal.vue +243 -243
- package/src/components/list/common/quoteListModal.vue +206 -206
- package/src/components/list/mixins/DshCascaderTableMixin.js +278 -278
- package/src/components/list/mixins/DshFlatTableMixin.js +509 -509
- package/src/components/list/mixins/DshTreeTableMixin.js +286 -286
- package/src/components/list/mixins/tableBaseMixin.js +1653 -1653
- package/src/components/list/mixins/treeTableBaseMixin.js +145 -145
- package/src/components/other/BriAvatar.vue +166 -166
- package/src/components/other/BriCode.vue +125 -125
- package/src/components/other/BriCollapseTree.vue +207 -207
- package/src/components/other/BriGantt.vue +1087 -1087
- package/src/components/other/BriIframe.vue +116 -116
- package/src/components/other/BriLoading.vue +171 -171
- package/src/components/other/BriSvg.vue +27 -27
- package/src/components/other/DshColorPanel.vue +128 -128
- package/src/components/other/DshMenuNav.vue +188 -188
- package/src/components/small/BriButton.vue +71 -71
- package/src/components/small/BriDrawer.vue +169 -169
- package/src/components/small/BriTooltip.vue +87 -87
- package/src/components/small/DshBtnModal.vue +68 -68
- package/src/components/small/DshButtons.vue +324 -324
- package/src/components/small/DshDropdown.vue +225 -225
- package/src/components/small/DshIcons.vue +59 -59
- package/src/components/small/DshListRender.js +21 -21
- package/src/components/small/DshModal.vue +160 -160
- package/src/components/small/DshSteps.vue +141 -141
- package/src/components/small/DshTabs.vue +598 -598
- package/src/components/small/DshTabsSet.vue +309 -309
- package/src/components/small/DshTags.vue +251 -251
- package/src/components/small/DshTitle.vue +50 -50
- package/src/components/small/render.js +20 -20
- package/src/components/unit/DshFormUnit.vue +398 -398
- package/src/components/unit/DshListUnit.vue +115 -115
- package/src/components/unit/unitMixin.js +86 -86
- package/src/data/index.js +4 -9
- package/src/index.js +282 -282
- package/src/styles/bundle.css +12 -12
- package/src/styles/components/BriButton.less +307 -307
- package/src/styles/components/BriTable.less +344 -344
- package/src/styles/components/DshModal.less +257 -257
- package/src/styles/components/index.less +3 -3
- package/src/styles/global/animate.less +11 -11
- package/src/styles/global/base.less +45 -45
- package/src/styles/global/box.less +186 -186
- package/src/styles/global/control.less +122 -122
- package/src/styles/global/flex.less +282 -282
- package/src/styles/global/global.less +8 -8
- package/src/styles/global/text.less +59 -59
- package/src/styles/global/variables.less +85 -85
- package/src/styles/iconfont/iconfont.css +254 -254
- package/src/styles/iconfont/iconfont.json +422 -422
- package/src/styles/iconfont/iconfont.svg +137 -137
- package/src/styles/index.less +26 -26
- package/src/styles/reset-easytable.less +21 -21
- package/src/styles/reset-iview-controls.less +145 -145
- package/src/styles/reset-iview-other.less +49 -49
- package/src/styles/reset-iview-variables.less +43 -43
- package/src/styles/reset.less +45 -45
- package/src/utils/index.js +5 -5
- package/src/utils/table.js +175 -175
- package/lib/11.bri-components.min.js +0 -1
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
.ivu-input {
|
|
2
|
-
.bri-control-edit();
|
|
3
|
-
cursor: text;
|
|
4
|
-
|
|
5
|
-
&[disabled] {
|
|
6
|
-
.bri-control-disabled();
|
|
7
|
-
&:hover {
|
|
8
|
-
border-color: @border-disabled;
|
|
9
|
-
}
|
|
10
|
-
&::-webkit-input-placeholder {
|
|
11
|
-
color: @placeholder-disabled-color;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ivu-input-number {
|
|
18
|
-
width: 100%;
|
|
19
|
-
|
|
20
|
-
.ivu-input-number-input {
|
|
21
|
-
color: @textColor;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-disabled {
|
|
25
|
-
.ivu-input-number-input {
|
|
26
|
-
opacity: 1;
|
|
27
|
-
background: @inputBg-disabled;
|
|
28
|
-
color: @textColor;
|
|
29
|
-
&::-webkit-input-placeholder {
|
|
30
|
-
color: @placeholder-disabled-color;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-handler {
|
|
36
|
-
&-wrap {
|
|
37
|
-
border-left: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-down {
|
|
41
|
-
border: none;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-down-inner,
|
|
45
|
-
&-up-inner {
|
|
46
|
-
color: @contentColor;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&:hover {
|
|
50
|
-
background-color: @hoverBg;
|
|
51
|
-
|
|
52
|
-
.ivu-input-number-handler-down-inner,
|
|
53
|
-
.ivu-input-number-handler-up-inner {
|
|
54
|
-
color: @textColor;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ivu-select {
|
|
61
|
-
.ivu-select-selection {
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-item {
|
|
66
|
-
margin: 4px 8px;
|
|
67
|
-
border-radius: @borderRadius;
|
|
68
|
-
white-space: normal;
|
|
69
|
-
|
|
70
|
-
&:hover {
|
|
71
|
-
background: @bgColor;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&-selected {
|
|
75
|
-
background-color: @theme-focus;
|
|
76
|
-
color: @themeColor;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-disabled {
|
|
80
|
-
.ivu-select-selection {
|
|
81
|
-
.bri-control-disabled();
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&-input[disabled] {
|
|
86
|
-
color: @textColor-disabled;
|
|
87
|
-
-webkit-text-fill-color: @textColor-disabled;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&-disabled {
|
|
92
|
-
.ivu-select-selection {
|
|
93
|
-
.bri-control-disabled();
|
|
94
|
-
|
|
95
|
-
&:hover {
|
|
96
|
-
border-color: @border-disabled;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ivu-select-input[disabled] {
|
|
101
|
-
color: @textColor;
|
|
102
|
-
-webkit-text-fill-color: @placeholder-disabled-color;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// 多选状态
|
|
107
|
-
&-multiple {
|
|
108
|
-
// 下拉面板项
|
|
109
|
-
.ivu-select-item {
|
|
110
|
-
// 压住iview同等权重的css
|
|
111
|
-
&-selected {
|
|
112
|
-
background-color: @theme-focus;
|
|
113
|
-
color: @themeColor;
|
|
114
|
-
|
|
115
|
-
&::after {
|
|
116
|
-
// content: ""; // 多选时下拉项选中的对勾
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.ivu-cascader {
|
|
124
|
-
&-rel {
|
|
125
|
-
display: block;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&-label {
|
|
129
|
-
padding-right: 24px;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&-transfer {
|
|
133
|
-
max-height: 400px !important;
|
|
134
|
-
|
|
135
|
-
.ivu-cascader-menu {
|
|
136
|
-
max-height: 400px;
|
|
137
|
-
height: auto;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.ivu-date-picker-transfer {
|
|
143
|
-
.ivu-picker-panel-sidebar {
|
|
144
|
-
width: 100px;
|
|
145
|
-
}
|
|
1
|
+
.ivu-input {
|
|
2
|
+
.bri-control-edit();
|
|
3
|
+
cursor: text;
|
|
4
|
+
|
|
5
|
+
&[disabled] {
|
|
6
|
+
.bri-control-disabled();
|
|
7
|
+
&:hover {
|
|
8
|
+
border-color: @border-disabled;
|
|
9
|
+
}
|
|
10
|
+
&::-webkit-input-placeholder {
|
|
11
|
+
color: @placeholder-disabled-color;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ivu-input-number {
|
|
18
|
+
width: 100%;
|
|
19
|
+
|
|
20
|
+
.ivu-input-number-input {
|
|
21
|
+
color: @textColor;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-disabled {
|
|
25
|
+
.ivu-input-number-input {
|
|
26
|
+
opacity: 1;
|
|
27
|
+
background: @inputBg-disabled;
|
|
28
|
+
color: @textColor;
|
|
29
|
+
&::-webkit-input-placeholder {
|
|
30
|
+
color: @placeholder-disabled-color;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-handler {
|
|
36
|
+
&-wrap {
|
|
37
|
+
border-left: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-down {
|
|
41
|
+
border: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-down-inner,
|
|
45
|
+
&-up-inner {
|
|
46
|
+
color: @contentColor;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
background-color: @hoverBg;
|
|
51
|
+
|
|
52
|
+
.ivu-input-number-handler-down-inner,
|
|
53
|
+
.ivu-input-number-handler-up-inner {
|
|
54
|
+
color: @textColor;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ivu-select {
|
|
61
|
+
.ivu-select-selection {
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-item {
|
|
66
|
+
margin: 4px 8px;
|
|
67
|
+
border-radius: @borderRadius;
|
|
68
|
+
white-space: normal;
|
|
69
|
+
|
|
70
|
+
&:hover {
|
|
71
|
+
background: @bgColor;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&-selected {
|
|
75
|
+
background-color: @theme-focus;
|
|
76
|
+
color: @themeColor;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&-disabled {
|
|
80
|
+
.ivu-select-selection {
|
|
81
|
+
.bri-control-disabled();
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&-input[disabled] {
|
|
86
|
+
color: @textColor-disabled;
|
|
87
|
+
-webkit-text-fill-color: @textColor-disabled;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&-disabled {
|
|
92
|
+
.ivu-select-selection {
|
|
93
|
+
.bri-control-disabled();
|
|
94
|
+
|
|
95
|
+
&:hover {
|
|
96
|
+
border-color: @border-disabled;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ivu-select-input[disabled] {
|
|
101
|
+
color: @textColor;
|
|
102
|
+
-webkit-text-fill-color: @placeholder-disabled-color;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// 多选状态
|
|
107
|
+
&-multiple {
|
|
108
|
+
// 下拉面板项
|
|
109
|
+
.ivu-select-item {
|
|
110
|
+
// 压住iview同等权重的css
|
|
111
|
+
&-selected {
|
|
112
|
+
background-color: @theme-focus;
|
|
113
|
+
color: @themeColor;
|
|
114
|
+
|
|
115
|
+
&::after {
|
|
116
|
+
// content: ""; // 多选时下拉项选中的对勾
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.ivu-cascader {
|
|
124
|
+
&-rel {
|
|
125
|
+
display: block;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&-label {
|
|
129
|
+
padding-right: 24px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&-transfer {
|
|
133
|
+
max-height: 400px !important;
|
|
134
|
+
|
|
135
|
+
.ivu-cascader-menu {
|
|
136
|
+
max-height: 400px;
|
|
137
|
+
height: auto;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ivu-date-picker-transfer {
|
|
143
|
+
.ivu-picker-panel-sidebar {
|
|
144
|
+
width: 100px;
|
|
145
|
+
}
|
|
146
146
|
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
.ivu-tooltip {
|
|
2
|
-
&-rel {}
|
|
3
|
-
|
|
4
|
-
&-arrow {
|
|
5
|
-
border-bottom-color: @textColor !important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
&-inner {
|
|
9
|
-
padding: 5px 8px;
|
|
10
|
-
border-radius: 4px;
|
|
11
|
-
line-height: 22px;
|
|
12
|
-
background: @textColor;
|
|
13
|
-
font-size: 14px;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
color: @textWhColor;
|
|
16
|
-
max-height: 350px;
|
|
17
|
-
overflow: auto;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ivu-tag {
|
|
22
|
-
&-default {
|
|
23
|
-
border: none;
|
|
24
|
-
background-color: @borderColor;
|
|
25
|
-
color: @text-color;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ivu-tag-text {
|
|
29
|
-
color: inherit;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-size-medium {
|
|
33
|
-
height: 24px;
|
|
34
|
-
line-height: 24px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&[disabled] {
|
|
38
|
-
background-color: @border-disabled;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// 下拉框
|
|
43
|
-
.ivu-select-dropdown {
|
|
44
|
-
max-width: 420px;
|
|
45
|
-
max-height: 300px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.ivu-page-options-sizer {
|
|
49
|
-
margin-right: 0px;
|
|
1
|
+
.ivu-tooltip {
|
|
2
|
+
&-rel {}
|
|
3
|
+
|
|
4
|
+
&-arrow {
|
|
5
|
+
border-bottom-color: @textColor !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&-inner {
|
|
9
|
+
padding: 5px 8px;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
line-height: 22px;
|
|
12
|
+
background: @textColor;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
color: @textWhColor;
|
|
16
|
+
max-height: 350px;
|
|
17
|
+
overflow: auto;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ivu-tag {
|
|
22
|
+
&-default {
|
|
23
|
+
border: none;
|
|
24
|
+
background-color: @borderColor;
|
|
25
|
+
color: @text-color;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ivu-tag-text {
|
|
29
|
+
color: inherit;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-size-medium {
|
|
33
|
+
height: 24px;
|
|
34
|
+
line-height: 24px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&[disabled] {
|
|
38
|
+
background-color: @border-disabled;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// 下拉框
|
|
43
|
+
.ivu-select-dropdown {
|
|
44
|
+
max-width: 420px;
|
|
45
|
+
max-height: 300px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ivu-page-options-sizer {
|
|
49
|
+
margin-right: 0px;
|
|
50
50
|
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
// 可替换样式 https://github.com/view-design/ViewUI/blob/master/src/styles/custom.less
|
|
2
|
-
@primary-color : @themeColor-default;
|
|
3
|
-
@info-color : #2db7f5;
|
|
4
|
-
@success-color : #19be6b;
|
|
5
|
-
@processing-color : @themeColor-default;
|
|
6
|
-
@warning-color : #ff9900;
|
|
7
|
-
@error-color : #ed4014;
|
|
8
|
-
@normal-color : #ff0000;
|
|
9
|
-
@link-color : @themeColor-default;
|
|
10
|
-
|
|
11
|
-
// Base
|
|
12
|
-
@font-family : "PingFang SC","Microsoft YaHei","微软雅黑";
|
|
13
|
-
@text-color : rgba(0, 0, 0, 0.9);
|
|
14
|
-
@border-radius-base : 4px;
|
|
15
|
-
|
|
16
|
-
// Border color
|
|
17
|
-
@border-color-base : #E5E5E5;
|
|
18
|
-
@border-color-split : #E5E5E5;
|
|
19
|
-
|
|
20
|
-
// Background color
|
|
21
|
-
@background-color-base : #F5F5F5;
|
|
22
|
-
|
|
23
|
-
// Button
|
|
24
|
-
@btn-primary-color : rgba(255, 255,255, 0.9);
|
|
25
|
-
@btn-font-weight : 700;
|
|
26
|
-
@btn-border-radius-small: 4px;
|
|
27
|
-
@btn-disable-color : rgba(0, 0,0,0.26);
|
|
28
|
-
@btn-disable-bg : #E5E5E5;
|
|
29
|
-
@btn-disable-border : #ccc;
|
|
30
|
-
@btn-font-size-small : 12px;
|
|
31
|
-
@btn-ghost-color : @themeColor-default;
|
|
32
|
-
@btn-ghost-bg : rgba(255, 255,255, 0.9);
|
|
33
|
-
@btn-ghost-border : #E5E5E5;
|
|
34
|
-
|
|
35
|
-
// input
|
|
36
|
-
@input-placeholder-color: rgba(0, 0, 0, 0.4);
|
|
37
|
-
@input-disabled-bg : #E5E5E5;
|
|
38
|
-
// @btn-padding-base-icon : 5px 15px 6px;
|
|
39
|
-
// @btn-padding-large-icon : 6px 15px 6px 15px;
|
|
40
|
-
// @btn-padding-small-icon : 1px 7px 2px;
|
|
41
|
-
// @btn-padding-base : 0 @padding-md - 1px;
|
|
42
|
-
// @btn-padding-large : @btn-padding-base;
|
|
43
|
-
// @btn-padding-small : 0 @padding-xs - 1px;
|
|
1
|
+
// 可替换样式 https://github.com/view-design/ViewUI/blob/master/src/styles/custom.less
|
|
2
|
+
@primary-color : @themeColor-default;
|
|
3
|
+
@info-color : #2db7f5;
|
|
4
|
+
@success-color : #19be6b;
|
|
5
|
+
@processing-color : @themeColor-default;
|
|
6
|
+
@warning-color : #ff9900;
|
|
7
|
+
@error-color : #ed4014;
|
|
8
|
+
@normal-color : #ff0000;
|
|
9
|
+
@link-color : @themeColor-default;
|
|
10
|
+
|
|
11
|
+
// Base
|
|
12
|
+
@font-family : "PingFang SC","Microsoft YaHei","微软雅黑";
|
|
13
|
+
@text-color : rgba(0, 0, 0, 0.9);
|
|
14
|
+
@border-radius-base : 4px;
|
|
15
|
+
|
|
16
|
+
// Border color
|
|
17
|
+
@border-color-base : #E5E5E5;
|
|
18
|
+
@border-color-split : #E5E5E5;
|
|
19
|
+
|
|
20
|
+
// Background color
|
|
21
|
+
@background-color-base : #F5F5F5;
|
|
22
|
+
|
|
23
|
+
// Button
|
|
24
|
+
@btn-primary-color : rgba(255, 255,255, 0.9);
|
|
25
|
+
@btn-font-weight : 700;
|
|
26
|
+
@btn-border-radius-small: 4px;
|
|
27
|
+
@btn-disable-color : rgba(0, 0,0,0.26);
|
|
28
|
+
@btn-disable-bg : #E5E5E5;
|
|
29
|
+
@btn-disable-border : #ccc;
|
|
30
|
+
@btn-font-size-small : 12px;
|
|
31
|
+
@btn-ghost-color : @themeColor-default;
|
|
32
|
+
@btn-ghost-bg : rgba(255, 255,255, 0.9);
|
|
33
|
+
@btn-ghost-border : #E5E5E5;
|
|
34
|
+
|
|
35
|
+
// input
|
|
36
|
+
@input-placeholder-color: rgba(0, 0, 0, 0.4);
|
|
37
|
+
@input-disabled-bg : #E5E5E5;
|
|
38
|
+
// @btn-padding-base-icon : 5px 15px 6px;
|
|
39
|
+
// @btn-padding-large-icon : 6px 15px 6px 15px;
|
|
40
|
+
// @btn-padding-small-icon : 1px 7px 2px;
|
|
41
|
+
// @btn-padding-base : 0 @padding-md - 1px;
|
|
42
|
+
// @btn-padding-large : @btn-padding-base;
|
|
43
|
+
// @btn-padding-small : 0 @padding-xs - 1px;
|
|
44
44
|
|
package/src/styles/reset.less
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
* {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
body,
|
|
6
|
-
html {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
min-width: 960px;
|
|
10
|
-
background-color: @bgColor;
|
|
11
|
-
/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
12
|
-
"Helvetica Neue", "PingFang SC", "Noto Sans", "Noto Sans CJK SC",
|
|
13
|
-
"Microsoft YaHei",
|
|
14
|
-
sans-serif; */
|
|
15
|
-
font-family: PingFang SC, Microsoft YaHei, 微软雅黑;
|
|
16
|
-
font-size: 14px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
ul,
|
|
20
|
-
ol,
|
|
21
|
-
li {
|
|
22
|
-
list-style: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* --------------滚动条样式----------- */
|
|
26
|
-
::-webkit-scrollbar {
|
|
27
|
-
width: 10px;
|
|
28
|
-
height: 10px;
|
|
29
|
-
background-color: transparent;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
::-webkit-scrollbar-button,
|
|
33
|
-
::-webkit-scrollbar-corner {
|
|
34
|
-
display: none;
|
|
35
|
-
width: 0;
|
|
36
|
-
height: 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
::-webkit-scrollbar-thumb {
|
|
40
|
-
width: 6px;
|
|
41
|
-
height: 6px;
|
|
42
|
-
border-radius: 6px;
|
|
43
|
-
background: rgba(187, 187, 187, 0.8);
|
|
44
|
-
background-clip: padding-box;
|
|
45
|
-
border: 2px solid rgba(0, 0, 0, 0);
|
|
1
|
+
* {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body,
|
|
6
|
+
html {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
min-width: 960px;
|
|
10
|
+
background-color: @bgColor;
|
|
11
|
+
/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
12
|
+
"Helvetica Neue", "PingFang SC", "Noto Sans", "Noto Sans CJK SC",
|
|
13
|
+
"Microsoft YaHei",
|
|
14
|
+
sans-serif; */
|
|
15
|
+
font-family: PingFang SC, Microsoft YaHei, 微软雅黑;
|
|
16
|
+
font-size: 14px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
ul,
|
|
20
|
+
ol,
|
|
21
|
+
li {
|
|
22
|
+
list-style: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* --------------滚动条样式----------- */
|
|
26
|
+
::-webkit-scrollbar {
|
|
27
|
+
width: 10px;
|
|
28
|
+
height: 10px;
|
|
29
|
+
background-color: transparent;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
::-webkit-scrollbar-button,
|
|
33
|
+
::-webkit-scrollbar-corner {
|
|
34
|
+
display: none;
|
|
35
|
+
width: 0;
|
|
36
|
+
height: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
::-webkit-scrollbar-thumb {
|
|
40
|
+
width: 6px;
|
|
41
|
+
height: 6px;
|
|
42
|
+
border-radius: 6px;
|
|
43
|
+
background: rgba(187, 187, 187, 0.8);
|
|
44
|
+
background-clip: padding-box;
|
|
45
|
+
border: 2px solid rgba(0, 0, 0, 0);
|
|
46
46
|
}
|
package/src/utils/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import tableUtil from "./table.js";
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
...tableUtil
|
|
5
|
-
};
|
|
1
|
+
import tableUtil from "./table.js";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
...tableUtil
|
|
5
|
+
};
|