bri-components 1.1.5 → 1.2.0
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/bri-components.min.js +6 -6
- package/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/abolish/DshFileShow.less +61 -0
- package/src/{components/small → abolish}/DshFileShow.vue +30 -105
- package/src/components/controls/base/BriUpload/{index.vue → BriUpload.vue} +3 -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 +91 -90
- package/src/components/controls/base/DshCheckbox.vue +3 -3
- 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 +10 -8
- package/src/components/controls/base/DshSwitch.vue +45 -87
- package/src/components/controls/controlMap.js +1 -1
- package/src/components/controls/controlMixin.js +5 -8
- package/src/components/controls/senior/BriLabels.vue +72 -54
- package/src/components/controls/special/DshUndeveloped.vue +0 -6
- package/src/components/form/DshDefaultSearch.vue +1 -1
- package/src/components/form/DshForm.vue +4 -13
- package/src/components/list/BriTable.vue +1 -1
- package/src/components/list/{ZTree.vue → BriTree.vue} +9 -8
- 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/BriButton.vue +2 -2
- package/src/components/small/{Ctooltip.vue → BriTooltip.vue} +2 -2
- package/src/components/small/DshButtons.vue +28 -2
- package/src/components/small/DshCrumbs.vue +1 -0
- package/src/components/small/DshCrumbsItem.vue +5 -3
- package/src/components/small/DshIcons.vue +1 -15
- package/src/components/small/DshTags.vue +7 -2
- package/src/components/unit/DshFormItem.vue +6 -6
- package/src/components/unit/DshUnit.vue +0 -8
- package/src/index.js +93 -104
- package/src/styles/common/control.less +62 -53
- package/src/styles/components/controls/base/BriUpload/BriUpload.less +159 -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 +124 -0
- package/src/styles/components/controls/base/DshCascader/index.less +2 -0
- package/src/styles/components/controls/{DshCheckbox.less → base/DshCheckbox.less} +3 -2
- package/src/styles/components/controls/base/DshDate.less +15 -0
- package/src/styles/components/controls/{DshEditor.less → base/DshEditor.less} +25 -47
- package/src/styles/components/controls/{DshInput.less → base/DshInput.less} +9 -1
- package/src/styles/components/controls/base/DshNumber.less +68 -0
- package/src/styles/components/controls/{DshSelect.less → base/DshSelect.less} +11 -0
- package/src/styles/components/controls/base/DshSwitch.less +37 -0
- package/src/styles/components/controls/{BriLabels.less → senior/BriLabels.less} +29 -12
- package/src/styles/components/controls/{DshDate.less → special/DshBack.less} +1 -1
- 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 +41 -9
- package/src/styles/components/form/DshForm.less +13 -0
- package/src/styles/components/index.less +51 -43
- 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/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 +35 -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 +5 -6
- 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/BriUpload.less +0 -436
- package/src/styles/components/controls/DshCascader.less +0 -95
- package/src/styles/components/controls/DshNumber.less +0 -51
- 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/{BriInputs.less → base/BriInputs.less} +0 -0
- /package/src/styles/components/controls/{InfoCascader.less → base/DshCascader/InfoCascader.less} +0 -0
- /package/src/styles/components/controls/{DshCoordinates.less → base/DshCoordinates.less} +0 -0
- /package/src/styles/components/controls/{DshDaterange.less → base/DshDaterange.less} +0 -0
- /package/src/styles/components/controls/{DshDivider.less → base/DshDivider.less} +0 -0
- /package/src/styles/components/controls/{DshNumberange.less → base/DshNumberange.less} +0 -0
- /package/src/styles/components/controls/{DshPackage.less → senior/DshPackage.less} +0 -0
- /package/src/styles/components/controls/{cascaderTable.less → senior/cascaderTable.less} +0 -0
- /package/src/styles/components/controls/{flatTable.less → senior/flatTable.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
package/src/index.js
CHANGED
|
@@ -13,18 +13,17 @@ import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
|
13
13
|
import DshList from "./components/list/DshBox/DshList.vue";
|
|
14
14
|
|
|
15
15
|
import BriTable from "./components/list/BriTable.vue";
|
|
16
|
-
import ZTree from "./components/list/ZTree.vue";
|
|
17
16
|
import BriFlatTable from "./components/list/BriFlatTable.vue";
|
|
18
17
|
import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
18
|
+
import DshPage from "./components/list/DshPage.vue";
|
|
19
19
|
|
|
20
20
|
// form
|
|
21
21
|
import DshForm from "./components/form/DshForm.vue";
|
|
22
22
|
import DshAdvSearchForm from "./components/form/DshAdvSearchForm.vue";
|
|
23
23
|
import DshDefaultSearch from "./components/form/DshDefaultSearch.vue";
|
|
24
|
-
|
|
25
24
|
// unit
|
|
26
|
-
import DshUnit from "./components/unit/DshUnit.vue";
|
|
27
25
|
import DshFormItem from "./components/unit/DshFormItem.vue";
|
|
26
|
+
import DshUnit from "./components/unit/DshUnit.vue";
|
|
28
27
|
|
|
29
28
|
// controls
|
|
30
29
|
import DshInput from "./components/controls/base/DshInput.vue";
|
|
@@ -33,39 +32,32 @@ import DshSelect from "./components/controls/base/DshSelect.vue";
|
|
|
33
32
|
import DshCheckbox from "./components/controls/base/DshCheckbox.vue";
|
|
34
33
|
import DshCascader from "./components/controls/base/DshCascader/DshCascader.vue";
|
|
35
34
|
|
|
36
|
-
//
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import DshMenuNav from "./components/other/menu/DshMenuNav.vue";
|
|
40
|
-
import DshBtnModal from "./components/other/DshBtnModal.vue";
|
|
35
|
+
// other
|
|
36
|
+
import BriCode from "./components/other/BriCode.vue";
|
|
37
|
+
import BriLoading from "./components/other/BriLoading.vue";
|
|
41
38
|
import DshAvatar from "./components/other/DshAvatar.vue";
|
|
42
|
-
import
|
|
39
|
+
import DshBtnModal from "./components/other/DshBtnModal.vue";
|
|
43
40
|
import DshColorPanel from "./components/other/DshColorPanel.vue";
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import ZLoading from "./components/other/ZLoading.vue";
|
|
48
|
-
import BriTransfer from "./components/other/BriTransfer.vue";
|
|
41
|
+
import DshEditPanel from "./components/other/DshEditPanel.vue";
|
|
42
|
+
import DshMenu from "./components/other/DshMenu.vue";
|
|
43
|
+
import DshMenuNav from "./components/other/DshMenuNav.vue";
|
|
49
44
|
|
|
50
45
|
// small
|
|
51
|
-
import
|
|
46
|
+
import BriButton from "./components/small/BriButton.vue";
|
|
52
47
|
import BriDrawer from "./components/small/BriDrawer.vue";
|
|
53
|
-
import
|
|
54
|
-
import DshRender from "./components/small/render.js";
|
|
55
|
-
import DshTdRender from "./components/small/DshTdRender.js";
|
|
56
|
-
import DshTitle from "./components/small/DshTitle.vue";
|
|
48
|
+
import BriTooltip from "./components/small/BriTooltip.vue";
|
|
57
49
|
import DshButtons from "./components/small/DshButtons.vue";
|
|
58
|
-
import DshIcons from "./components/small/DshIcons.vue";
|
|
59
|
-
import DshTags from "./components/small/DshTags.vue";
|
|
60
50
|
import DshCrumbs from "./components/small/DshCrumbs.vue";
|
|
61
51
|
import DshCrumbsItem from "./components/small/DshCrumbsItem.vue";
|
|
62
|
-
import
|
|
52
|
+
import DshDropdown from "./components/small/DshDropdown.vue";
|
|
53
|
+
import DshIcons from "./components/small/DshIcons.vue";
|
|
54
|
+
import DshModal from "./components/small/DshModal.vue";
|
|
63
55
|
import DshSteps from "./components/small/DshSteps.vue";
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
56
|
+
import DshTabs from "./components/small/DshTabs.vue";
|
|
57
|
+
import DshTags from "./components/small/DshTags.vue";
|
|
58
|
+
import DshTitle from "./components/small/DshTitle.vue";
|
|
59
|
+
import DshRender from "./components/small/render.js";
|
|
60
|
+
import DshTdRender from "./components/small/DshTdRender.js";
|
|
69
61
|
|
|
70
62
|
/* -------------------- 局部组件 ----------------------- */
|
|
71
63
|
// error
|
|
@@ -73,85 +65,84 @@ import Error500 from "./components/Error/Error500.vue";
|
|
|
73
65
|
import Error403 from "./components/Error/Error403.vue";
|
|
74
66
|
import Error404 from "./components/Error/Error404.vue";
|
|
75
67
|
|
|
68
|
+
// list
|
|
69
|
+
import BriTree from "./components/list/BriTree.vue";
|
|
70
|
+
|
|
76
71
|
// controls
|
|
77
72
|
import BriInputs from "./components/controls/base/BriInputs.vue";
|
|
78
73
|
import DshNumberange from "./components/controls/base/DshNumberange.vue";
|
|
79
74
|
import DshDate from "./components/controls/base/DshDate.vue";
|
|
80
75
|
import DshDaterange from "./components/controls/base/DshDaterange.vue";
|
|
81
76
|
import DshSwitch from "./components/controls/base/DshSwitch.vue";
|
|
82
|
-
import BriUpload from "./components/controls/base/BriUpload/
|
|
77
|
+
import BriUpload from "./components/controls/base/BriUpload/BriUpload.vue";
|
|
83
78
|
import BriUploadImage from "./components/controls/base/BriUpload/BriUploadImage.vue";
|
|
84
79
|
import DshCoordinates from "./components/controls/base/DshCoordinates.vue";
|
|
85
80
|
import DshEditor from "./components/controls/base/DshEditor.vue";
|
|
86
81
|
import DshDivider from "./components/controls/base/DshDivider.vue";
|
|
87
|
-
|
|
88
|
-
/* 不挂载全局 */
|
|
89
82
|
import DshPackage from "./components/controls/senior/DshPackage.vue";
|
|
90
83
|
import DshBack from "./components/controls/special/DshBack.vue";
|
|
91
84
|
import DshUndeveloped from "./components/controls/special/DshUndeveloped.vue";
|
|
85
|
+
|
|
92
86
|
// other
|
|
93
|
-
import
|
|
94
|
-
import
|
|
87
|
+
import BriCollapseTree from "./components/other/BriCollapseTree.vue";
|
|
88
|
+
import BriGantt from "./components/other/BriGantt.vue";
|
|
89
|
+
import BriIframe from "./components/other/BriIframe.vue";
|
|
95
90
|
|
|
96
91
|
// !!!!!!挂载全局的组件,不是别写在这
|
|
97
92
|
const map = {
|
|
98
93
|
DshDraggable,
|
|
99
94
|
DshCropper,
|
|
100
95
|
|
|
96
|
+
// list
|
|
101
97
|
DshBox,
|
|
102
98
|
DshTable,
|
|
103
99
|
DshList,
|
|
100
|
+
|
|
104
101
|
BriTable,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
102
|
+
BriFlatTable, // 可取消全局
|
|
103
|
+
DshCascaderTable, // 可取消全局
|
|
104
|
+
DshPage,
|
|
108
105
|
|
|
106
|
+
// form
|
|
109
107
|
DshForm,
|
|
110
108
|
DshAdvSearchForm,
|
|
111
109
|
DshDefaultSearch,
|
|
112
|
-
|
|
113
|
-
DshUnit,
|
|
110
|
+
// unit
|
|
114
111
|
DshFormItem,
|
|
112
|
+
DshUnit,
|
|
115
113
|
|
|
114
|
+
// controls
|
|
116
115
|
DshInput,
|
|
117
116
|
DshNumber,
|
|
118
117
|
DshSelect,
|
|
119
118
|
DshCheckbox,
|
|
120
119
|
DshCascader,
|
|
121
120
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
DshMenuNav,
|
|
125
|
-
DshBtnModal,
|
|
121
|
+
// other
|
|
122
|
+
BriLoading,
|
|
126
123
|
DshAvatar,
|
|
124
|
+
DshBtnModal,
|
|
127
125
|
DshEditPanel,
|
|
128
126
|
DshColorPanel,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
ZCollapseTree,
|
|
132
|
-
ZLoading,
|
|
133
|
-
BriTransfer,
|
|
127
|
+
DshMenu,
|
|
128
|
+
DshMenuNav,
|
|
134
129
|
|
|
135
|
-
|
|
130
|
+
// small
|
|
131
|
+
BriButton,
|
|
136
132
|
BriDrawer,
|
|
137
|
-
|
|
138
|
-
DshRender,
|
|
139
|
-
DshTdRender,
|
|
140
|
-
DshTitle,
|
|
133
|
+
BriTooltip,
|
|
141
134
|
DshButtons,
|
|
142
|
-
DshIcons,
|
|
143
|
-
DshTags,
|
|
144
135
|
DshCrumbs,
|
|
145
136
|
DshCrumbsItem,
|
|
146
|
-
|
|
137
|
+
DshDropdown,
|
|
138
|
+
DshIcons,
|
|
139
|
+
DshModal,
|
|
147
140
|
DshSteps,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
BriSvg
|
|
141
|
+
DshTabs,
|
|
142
|
+
DshTags,
|
|
143
|
+
DshTitle,
|
|
144
|
+
DshRender,
|
|
145
|
+
DshTdRender
|
|
155
146
|
};
|
|
156
147
|
const install = function (Vue, opts = {}) {
|
|
157
148
|
ViewUI.LoadingBar.config({
|
|
@@ -187,64 +178,35 @@ export {
|
|
|
187
178
|
DshDraggable,
|
|
188
179
|
DshCropper,
|
|
189
180
|
|
|
181
|
+
Error500,
|
|
182
|
+
Error403,
|
|
183
|
+
Error404,
|
|
184
|
+
|
|
190
185
|
DshBox,
|
|
191
186
|
DshTable,
|
|
192
187
|
DshList,
|
|
188
|
+
|
|
193
189
|
BriTable,
|
|
194
|
-
|
|
190
|
+
BriTree,
|
|
195
191
|
BriFlatTable,
|
|
196
192
|
DshCascaderTable,
|
|
193
|
+
DshPage,
|
|
197
194
|
|
|
195
|
+
// form
|
|
198
196
|
DshForm,
|
|
199
197
|
DshAdvSearchForm,
|
|
200
198
|
DshDefaultSearch,
|
|
201
|
-
|
|
202
|
-
DshUnit,
|
|
199
|
+
// unit
|
|
203
200
|
DshFormItem,
|
|
201
|
+
DshUnit,
|
|
204
202
|
|
|
203
|
+
// controls
|
|
205
204
|
DshInput,
|
|
206
205
|
DshNumber,
|
|
207
206
|
DshSelect,
|
|
208
207
|
DshCheckbox,
|
|
209
208
|
DshCascader,
|
|
210
209
|
|
|
211
|
-
ZCode,
|
|
212
|
-
DshMenu,
|
|
213
|
-
DshMenuNav,
|
|
214
|
-
DshBtnModal,
|
|
215
|
-
DshAvatar,
|
|
216
|
-
DshEditPanel,
|
|
217
|
-
DshColorPanel,
|
|
218
|
-
YNoPermission,
|
|
219
|
-
ZGantt,
|
|
220
|
-
ZCollapseTree,
|
|
221
|
-
ZLoading,
|
|
222
|
-
BriTransfer,
|
|
223
|
-
|
|
224
|
-
DshModal,
|
|
225
|
-
BriDrawer,
|
|
226
|
-
DshDropdown,
|
|
227
|
-
DshRender,
|
|
228
|
-
DshTdRender,
|
|
229
|
-
DshTitle,
|
|
230
|
-
DshButtons,
|
|
231
|
-
DshIcons,
|
|
232
|
-
DshTags,
|
|
233
|
-
DshCrumbs,
|
|
234
|
-
DshCrumbsItem,
|
|
235
|
-
DshTabs,
|
|
236
|
-
DshSteps,
|
|
237
|
-
Ctooltip,
|
|
238
|
-
DshPage,
|
|
239
|
-
DshFileShow,
|
|
240
|
-
BriButton,
|
|
241
|
-
BriTree,
|
|
242
|
-
|
|
243
|
-
/* 局部 */
|
|
244
|
-
Error500,
|
|
245
|
-
Error403,
|
|
246
|
-
Error404,
|
|
247
|
-
|
|
248
210
|
BriInputs,
|
|
249
211
|
DshNumberange,
|
|
250
212
|
DshDate,
|
|
@@ -255,11 +217,38 @@ export {
|
|
|
255
217
|
DshCoordinates,
|
|
256
218
|
DshEditor,
|
|
257
219
|
DshDivider,
|
|
258
|
-
|
|
259
220
|
DshPackage,
|
|
260
221
|
DshBack,
|
|
261
222
|
DshUndeveloped,
|
|
262
223
|
|
|
263
|
-
|
|
264
|
-
|
|
224
|
+
// other
|
|
225
|
+
BriCode,
|
|
226
|
+
BriLoading,
|
|
227
|
+
DshAvatar,
|
|
228
|
+
DshBtnModal,
|
|
229
|
+
DshColorPanel,
|
|
230
|
+
DshEditPanel,
|
|
231
|
+
DshMenu,
|
|
232
|
+
DshMenuNav,
|
|
233
|
+
|
|
234
|
+
BriCollapseTree,
|
|
235
|
+
BriGantt,
|
|
236
|
+
BriIframe,
|
|
237
|
+
|
|
238
|
+
// small
|
|
239
|
+
BriButton,
|
|
240
|
+
BriDrawer,
|
|
241
|
+
DshButtons,
|
|
242
|
+
BriTooltip,
|
|
243
|
+
DshCrumbs,
|
|
244
|
+
DshCrumbsItem,
|
|
245
|
+
DshDropdown,
|
|
246
|
+
DshIcons,
|
|
247
|
+
DshModal,
|
|
248
|
+
DshSteps,
|
|
249
|
+
DshTabs,
|
|
250
|
+
DshTags,
|
|
251
|
+
DshTitle,
|
|
252
|
+
DshRender,
|
|
253
|
+
DshTdRender
|
|
265
254
|
};
|
|
@@ -1,91 +1,100 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 表格展示-非通用
|
|
2
2
|
.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
|
-
// .control {
|
|
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
11
|
// 表单模式
|
|
54
12
|
.control-edit {
|
|
55
|
-
height: 32px;
|
|
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
|
+
&.control-notext {
|
|
19
|
+
.control-placeholder();
|
|
20
|
+
}
|
|
62
21
|
}
|
|
63
22
|
.control-disabled {
|
|
64
23
|
border: 1px solid @border-disabled;
|
|
65
24
|
border-radius: @borderRadius;
|
|
66
25
|
background: @inputBg-disabled;
|
|
67
26
|
cursor: not-allowed;
|
|
68
|
-
color: @textColor
|
|
27
|
+
color: @textColor;
|
|
28
|
+
&.control-notext {
|
|
29
|
+
.control-disPlaceholder();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.control-readonly {
|
|
33
|
+
border: 1px solid @border-readonly;
|
|
34
|
+
border-radius: @borderRadius;
|
|
35
|
+
background: @inputBg-readonly;
|
|
36
|
+
cursor: not-allowed;
|
|
37
|
+
color: @textColor-readonly;
|
|
69
38
|
}
|
|
70
39
|
.control-show {
|
|
71
40
|
border: none;
|
|
72
41
|
background-color: transparent;
|
|
42
|
+
&.control-notext {
|
|
43
|
+
.control-notext();
|
|
44
|
+
}
|
|
73
45
|
}
|
|
74
46
|
.control-unit {
|
|
75
47
|
border: none;
|
|
76
48
|
background-color: transparent;
|
|
49
|
+
&.control-notext {
|
|
50
|
+
color: @text-color;
|
|
51
|
+
}
|
|
77
52
|
}
|
|
78
53
|
|
|
54
|
+
// 编辑模式下无数据
|
|
79
55
|
.control-placeholder {
|
|
80
56
|
color: @placeholderColor;
|
|
81
57
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
background: @inputBg-readonly;
|
|
86
|
-
line-height: 32px;
|
|
87
|
-
color: @textColor-readonly;
|
|
58
|
+
// 编辑disabled模式下无数据
|
|
59
|
+
.control-disPlaceholder {
|
|
60
|
+
color: @textColor-disabled;
|
|
88
61
|
}
|
|
62
|
+
// 查看模式下无数据
|
|
89
63
|
.control-notext {
|
|
90
64
|
color: @placeholderColor;
|
|
91
65
|
}
|
|
66
|
+
|
|
67
|
+
// unit 模式下不用特殊处理颜色
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
// 展示为tag标签公共样式
|
|
71
|
+
.control-wrap {
|
|
72
|
+
width: 100%;
|
|
73
|
+
&-box {
|
|
74
|
+
height: 32px;
|
|
75
|
+
padding: 4px 0 4px 4px;
|
|
76
|
+
line-height: 24px;
|
|
77
|
+
.dsh-flex-row-between-center();
|
|
78
|
+
&:hover {
|
|
79
|
+
.control-wrap-close {
|
|
80
|
+
display: block;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.control-edit.control-notext {
|
|
86
|
+
padding-left: 7px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&-text {
|
|
90
|
+
.dsh-ellipsis();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&-close {
|
|
94
|
+
padding: 5px;
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
&-icon {
|
|
98
|
+
padding: 5px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
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
|
+
.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
|
+
.control-disPlaceholder();
|
|
151
|
+
text-indent: 7px;
|
|
152
|
+
text-align: left;
|
|
153
|
+
}
|
|
154
|
+
&-inline-nodata {
|
|
155
|
+
.control-disPlaceholder();
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -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
|
+
}
|