bri-components 1.0.5 → 1.1.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 -0
- package/lib/8.bri-components.min.js +1 -0
- package/lib/9.bri-components.min.js +1 -0
- package/lib/bri-components.min.js +13 -5
- package/lib/styles/bundle.css +0 -2
- package/package.json +2 -1
- package/src/components/controls/base/BriLabels.vue +223 -0
- package/src/components/controls/base/DshCascader.vue +24 -43
- package/src/components/controls/base/DshCascaderMultiple.vue +1 -1
- package/src/components/controls/base/DshCheckbox.vue +14 -4
- package/src/components/controls/base/DshCoordinates.vue +88 -87
- package/src/components/controls/base/DshDate.vue +10 -34
- package/src/components/controls/base/DshDivider.vue +1 -1
- package/src/components/controls/base/DshEditor.vue +57 -44
- package/src/components/controls/base/DshInput.vue +18 -45
- package/src/components/controls/base/DshLabels.vue +8 -4
- package/src/components/controls/base/DshNumber/DshNumber.vue +6 -20
- package/src/components/controls/base/DshNumberange.vue +1 -1
- package/src/components/controls/base/DshPackage.vue +7 -1
- package/src/components/controls/base/DshSelect.vue +15 -5
- package/src/components/controls/base/DshSwitch.vue +2 -6
- package/src/components/controls/base/YSerialNumber.vue +0 -1
- package/src/components/controls/base/ZUpload/index.vue +16 -10
- package/src/components/controls/base/ZUpload/upload-list.vue +17 -12
- package/src/components/controls/base/ZUpload/uploadMixin.js +1 -5
- package/src/components/controls/base/controlShow.vue +52 -0
- package/src/components/controls/base/textMultiple/DshTextMultiple.vue +1 -1
- package/src/components/controls/controlMap.js +4 -0
- package/src/components/controls/controlMixin.js +18 -12
- package/src/components/controls/senior/cascaderTable.vue +188 -0
- package/src/components/controls/senior/flatTable.vue +136 -0
- package/src/components/form/DshForm.vue +4 -3
- package/src/components/list/BriFlatTable.vue +435 -0
- package/src/components/list/BriTable.vue +184 -0
- package/src/components/list/DshBox/DshBox.vue +1 -1
- package/src/components/list/DshBox/DshCard.vue +1 -1
- package/src/components/list/DshBox/DshCrossTable.vue +1 -1
- package/src/components/list/DshBox/DshList.vue +3 -3
- package/src/components/list/DshBox/DshPanel.vue +5 -10
- package/src/components/list/DshBox/DshSingleData.vue +1 -1
- package/src/components/list/DshBox/DshTable.vue +29 -39
- package/src/components/list/DshCascaderTable.vue +8 -12
- package/src/components/list/DshFlatTable.vue +1 -1
- package/src/components/list/easyTable/v-table/src/table.vue +3 -3
- package/src/components/list/evTable/EvTable.vue +1 -1
- package/src/components/other/BriTransfer.vue +71 -0
- package/src/components/other/ZGantt.vue +2 -2
- package/src/components/small/BriButton.vue +65 -0
- package/src/components/small/BriTree.vue +42 -0
- package/src/components/small/Ctooltip.vue +1 -1
- package/src/components/small/DshButtons.vue +12 -42
- package/src/components/small/DshControlDefine.vue +2 -1
- package/src/components/small/DshDropdown.vue +1 -1
- package/src/components/small/DshTdRender.js +1 -1
- package/src/components/unit/DshFormItem.vue +0 -2
- package/src/components/unit/DshUnit.vue +1 -1
- package/src/components/unit/unitMixin.js +4 -1
- package/src/index.js +24 -4
- package/src/styles/bundle.css +0 -2
- package/src/styles/common/common.less +2 -2
- package/src/styles/common/control.less +54 -0
- package/src/styles/common/index.less +1 -0
- package/src/styles/components/controls/BriLabels.less +119 -0
- package/src/styles/components/controls/DshCascader.less +3 -3
- package/src/styles/components/controls/DshCheckbox.less +1 -1
- package/src/styles/components/controls/DshCoordinates.less +8 -3
- package/src/styles/components/controls/DshDate.less +54 -0
- package/src/styles/components/controls/DshDaterange.less +1 -1
- package/src/styles/components/controls/DshEditor.less +27 -9
- package/src/styles/components/controls/DshInput.less +11 -5
- package/src/styles/components/controls/DshLabels.less +1 -1
- package/src/styles/components/controls/DshSelect.less +46 -30
- package/src/styles/components/controls/ZUpload.less +82 -91
- package/src/styles/components/controls/cascaderTable.less +33 -0
- package/src/styles/components/controls/controlShow.less +10 -0
- package/src/styles/components/controls/flatTable.less +33 -0
- package/src/styles/components/form/DshAdvSearchForm.less +6 -6
- package/src/styles/components/index.less +11 -1
- package/src/styles/components/list/BriFlatTable.less +8 -0
- package/src/styles/components/list/BriTable.less +155 -0
- package/src/styles/components/list/DshFlatTable.less +3 -8
- package/src/styles/components/list/evTable.less +1 -1
- package/src/styles/components/other/BriTransfer.less +65 -0
- package/src/styles/components/other/DshEditPanel.less +2 -2
- package/src/styles/components/other/DshMenuNav.less +5 -5
- package/src/styles/components/other/ZGantt.less +5 -5
- package/src/styles/components/small/BriButton.less +259 -0
- package/src/styles/components/small/BriTree.less +57 -0
- package/src/styles/components/small/Ctooltip.less +14 -0
- package/src/styles/components/small/DshButtons.less +1 -1
- package/src/styles/components/small/DshControlDefine.less +13 -35
- package/src/styles/components/small/DshDropdown.less +1 -1
- package/src/styles/components/small/DshPage.less +1 -1
- package/src/styles/components/small/DshTabs.less +2 -2
- package/src/styles/components/small/DshTitle.less +0 -3
- package/src/styles/components/unit/DshFormItem.less +6 -7
- package/src/styles/iconfont/iconfont.css +254 -0
- package/src/styles/iconfont/iconfont.eot +0 -0
- package/src/styles/iconfont/iconfont.js +1 -0
- package/src/styles/iconfont/iconfont.json +422 -0
- package/src/styles/iconfont/iconfont.svg +137 -0
- package/src/styles/iconfont/iconfont.ttf +0 -0
- package/src/styles/iconfont/iconfont.woff +0 -0
- package/src/styles/iconfont/iconfont.woff2 +0 -0
- package/src/styles/index.less +2 -5
- package/src/styles/plugin/easytable.less +22 -0
- package/src/styles/plugin/index.less +2 -0
- package/src/styles/plugin/iview.less +34 -0
- package/src/styles/variables.less +71 -88
- package/src/utils/table.js +72 -978
- package/src/styles/define.less +0 -374
- package/src/styles/view_reset.less +0 -452
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
'DshFormItem',
|
|
5
5
|
{ 'DshFormItem-required': formItem._required&&canEdit },
|
|
6
6
|
{ 'DshFormItem-line': formItem._line },
|
|
7
|
-
`DshFormItem-${mode}`,
|
|
8
7
|
`DshFormItem-${formItem._type}`,
|
|
9
8
|
formControlClass,
|
|
10
9
|
]"
|
|
@@ -80,7 +79,6 @@
|
|
|
80
79
|
<component
|
|
81
80
|
ref="control"
|
|
82
81
|
:is="componentNameMap[formItem._type] || 'DshUndeveloped'"
|
|
83
|
-
:mode="mode"
|
|
84
82
|
:canEdit="canEdit"
|
|
85
83
|
:value="formData"
|
|
86
84
|
:propsObj="formItem"
|
|
@@ -3,7 +3,6 @@ import { componentNameMap, registerComponents } from "../controls/controlMap.js"
|
|
|
3
3
|
export default {
|
|
4
4
|
components: registerComponents(),
|
|
5
5
|
props: {
|
|
6
|
-
mode: String,
|
|
7
6
|
canEdit: {
|
|
8
7
|
type: Boolean,
|
|
9
8
|
default: true
|
|
@@ -20,6 +19,10 @@ export default {
|
|
|
20
19
|
default () {
|
|
21
20
|
return [];
|
|
22
21
|
}
|
|
22
|
+
},
|
|
23
|
+
isUnit: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
23
26
|
}
|
|
24
27
|
},
|
|
25
28
|
data () {
|
package/src/index.js
CHANGED
|
@@ -4,6 +4,8 @@ import utilMap from "./utils/index.js";
|
|
|
4
4
|
import ViewUI from "view-design";
|
|
5
5
|
import DshDraggable from "vuedraggable";
|
|
6
6
|
import DshCropper from "vue-cropperjs";
|
|
7
|
+
import { VeTable, VeLocale } from "vue-easytable";
|
|
8
|
+
import CN from "vue-easytable/libs/locale/lang/zh-CN.js";
|
|
7
9
|
|
|
8
10
|
// list
|
|
9
11
|
import { VTable } from "./components/list/easyTable/index.js";
|
|
@@ -11,8 +13,10 @@ import EvTable from "./components/list/evTable/EvTable.vue"; // 大表格
|
|
|
11
13
|
import DshBox from "./components/list/DshBox/DshBox.vue";
|
|
12
14
|
import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
13
15
|
import DshList from "./components/list/DshBox/DshList.vue";
|
|
16
|
+
|
|
17
|
+
import BriTable from "./components/list/BriTable.vue";
|
|
14
18
|
import ZTree from "./components/list/ZTree.vue";
|
|
15
|
-
import
|
|
19
|
+
import BriFlatTable from "./components/list/BriFlatTable.vue";
|
|
16
20
|
import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
17
21
|
|
|
18
22
|
// form
|
|
@@ -25,6 +29,7 @@ import DshUnit from "./components/unit/DshUnit.vue";
|
|
|
25
29
|
import DshFormItem from "./components/unit/DshFormItem.vue";
|
|
26
30
|
|
|
27
31
|
// controls
|
|
32
|
+
import controlShow from "./components/controls/base/controlShow.vue";
|
|
28
33
|
import DshInput from "./components/controls/base/DshInput.vue";
|
|
29
34
|
import DshNumber from "./components/controls/base/DshNumber/DshNumber.vue";
|
|
30
35
|
import DshSelect from "./components/controls/base/DshSelect.vue";
|
|
@@ -43,6 +48,7 @@ import YNoPermission from "./components/other/YNoPermission.vue";
|
|
|
43
48
|
import ZGantt from "./components/other/ZGantt.vue";
|
|
44
49
|
import ZCollapseTree from "./components/other/ZCollapseTree.vue";
|
|
45
50
|
import ZLoading from "./components/other/ZLoading.vue";
|
|
51
|
+
import BriTransfer from "./components/other/BriTransfer.vue";
|
|
46
52
|
|
|
47
53
|
// small
|
|
48
54
|
import DshModal from "./components/small/DshModal.vue";
|
|
@@ -61,6 +67,8 @@ import Ctooltip from "./components/small/Ctooltip.vue";
|
|
|
61
67
|
import DshPage from "./components/small/DshPage.vue";
|
|
62
68
|
import DshControlDefine from "./components/small/DshControlDefine.vue";
|
|
63
69
|
import DshFileShow from "./components/small/DshFileShow.vue";
|
|
70
|
+
import BriButton from "./components/small/BriButton.vue";
|
|
71
|
+
import BriTree from "./components/small/BriTree.vue";
|
|
64
72
|
|
|
65
73
|
/* -------------------- 局部组件 ----------------------- */
|
|
66
74
|
// pages
|
|
@@ -101,8 +109,9 @@ const map = {
|
|
|
101
109
|
DshBox,
|
|
102
110
|
DshTable,
|
|
103
111
|
DshList,
|
|
112
|
+
BriTable,
|
|
104
113
|
ZTree,
|
|
105
|
-
|
|
114
|
+
BriFlatTable,
|
|
106
115
|
DshCascaderTable,
|
|
107
116
|
|
|
108
117
|
DshForm,
|
|
@@ -112,6 +121,7 @@ const map = {
|
|
|
112
121
|
DshUnit,
|
|
113
122
|
DshFormItem,
|
|
114
123
|
|
|
124
|
+
controlShow,
|
|
115
125
|
DshInput,
|
|
116
126
|
DshNumber,
|
|
117
127
|
DshSelect,
|
|
@@ -129,6 +139,7 @@ const map = {
|
|
|
129
139
|
ZGantt,
|
|
130
140
|
ZCollapseTree,
|
|
131
141
|
ZLoading,
|
|
142
|
+
BriTransfer,
|
|
132
143
|
|
|
133
144
|
DshModal,
|
|
134
145
|
DshDropdown,
|
|
@@ -145,7 +156,9 @@ const map = {
|
|
|
145
156
|
Ctooltip,
|
|
146
157
|
DshPage,
|
|
147
158
|
DshControlDefine,
|
|
148
|
-
DshFileShow
|
|
159
|
+
DshFileShow,
|
|
160
|
+
BriButton,
|
|
161
|
+
BriTree
|
|
149
162
|
};
|
|
150
163
|
const install = function (Vue, opts = {}) {
|
|
151
164
|
ViewUI.LoadingBar.config({
|
|
@@ -154,6 +167,8 @@ const install = function (Vue, opts = {}) {
|
|
|
154
167
|
height: 3
|
|
155
168
|
});
|
|
156
169
|
Vue.use(ViewUI);
|
|
170
|
+
VeLocale.use(CN);
|
|
171
|
+
Vue.use(VeTable);
|
|
157
172
|
|
|
158
173
|
// 挂载方法
|
|
159
174
|
Object.keys(utilMap).forEach(key => {
|
|
@@ -184,8 +199,9 @@ export {
|
|
|
184
199
|
DshBox,
|
|
185
200
|
DshTable,
|
|
186
201
|
DshList,
|
|
202
|
+
BriTable,
|
|
187
203
|
ZTree,
|
|
188
|
-
|
|
204
|
+
BriFlatTable,
|
|
189
205
|
DshCascaderTable,
|
|
190
206
|
|
|
191
207
|
DshForm,
|
|
@@ -195,6 +211,7 @@ export {
|
|
|
195
211
|
DshUnit,
|
|
196
212
|
DshFormItem,
|
|
197
213
|
|
|
214
|
+
controlShow,
|
|
198
215
|
DshInput,
|
|
199
216
|
DshNumber,
|
|
200
217
|
DshSelect,
|
|
@@ -212,6 +229,7 @@ export {
|
|
|
212
229
|
ZGantt,
|
|
213
230
|
ZCollapseTree,
|
|
214
231
|
ZLoading,
|
|
232
|
+
BriTransfer,
|
|
215
233
|
|
|
216
234
|
DshModal,
|
|
217
235
|
DshDropdown,
|
|
@@ -229,6 +247,8 @@ export {
|
|
|
229
247
|
DshPage,
|
|
230
248
|
DshControlDefine,
|
|
231
249
|
DshFileShow,
|
|
250
|
+
BriButton,
|
|
251
|
+
BriTree,
|
|
232
252
|
|
|
233
253
|
/* 局部 */
|
|
234
254
|
Error500,
|
package/src/styles/bundle.css
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
padding: 20px 10px;
|
|
19
19
|
text-align: center;
|
|
20
20
|
font-size: 14px;
|
|
21
|
-
color: @
|
|
21
|
+
color: @textColor;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
#btn-style {
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
color: @themeColor;
|
|
27
27
|
border-radius: 4px;
|
|
28
28
|
font-weight: bold;
|
|
29
|
-
font-family:titleFontFamily;
|
|
29
|
+
font-family: titleFontFamily;
|
|
30
30
|
border: 1px solid #6694ED;
|
|
31
31
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// 表格展示
|
|
2
|
+
.unit-show () {
|
|
3
|
+
background-color: @theme-focus;
|
|
4
|
+
color: @themeColor;
|
|
5
|
+
border-radius: @borderRadius;
|
|
6
|
+
padding: 3px 8px;
|
|
7
|
+
text-align: center;
|
|
8
|
+
line-height: 24px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// 表单模式
|
|
12
|
+
.control-show {
|
|
13
|
+
border: none;
|
|
14
|
+
background-color: transparent;
|
|
15
|
+
}
|
|
16
|
+
.control-edit {
|
|
17
|
+
height: 32px;
|
|
18
|
+
color: @textColor;
|
|
19
|
+
border: 1px solid @borderColor;
|
|
20
|
+
background: @inputBg;
|
|
21
|
+
border-radius: @borderRadius;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
.control-placeholder {
|
|
25
|
+
color: @placeholderColor;
|
|
26
|
+
}
|
|
27
|
+
.control-readonly {
|
|
28
|
+
color: @textColor-readonly;
|
|
29
|
+
border: 1px solid @border-readonly;
|
|
30
|
+
background: @inputBg-readonly;
|
|
31
|
+
border-radius: @borderRadius;
|
|
32
|
+
}
|
|
33
|
+
.control-disabled {
|
|
34
|
+
color: @textColor-disabled;
|
|
35
|
+
border: 1px solid @border-disabled;
|
|
36
|
+
background: @inputBg-disabled;
|
|
37
|
+
border-radius: @borderRadius;
|
|
38
|
+
cursor: not-allowed;
|
|
39
|
+
}
|
|
40
|
+
.control-notext {
|
|
41
|
+
color: @placeholderColor;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// 暂时移到这里,部分需要删除
|
|
45
|
+
.control-show-text {
|
|
46
|
+
display: inline-block;
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.control-nodata-text {
|
|
52
|
+
color: @placeholderColor ;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
.BriLabels {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
&-dropdown {
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
&-show {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
border-radius: @borderRadius;
|
|
12
|
+
border: 1px solid @borderColor;
|
|
13
|
+
padding-left: 5px;
|
|
14
|
+
|
|
15
|
+
&-active {
|
|
16
|
+
border-color: #64c6d1;
|
|
17
|
+
box-shadow: 0 0 0 2px rgba(61, 184, 197, 0.2);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-arrow {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
margin-right: 5px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-item {
|
|
28
|
+
margin: 4px 8px;
|
|
29
|
+
border-radius: @borderRadius;
|
|
30
|
+
|
|
31
|
+
&-active {
|
|
32
|
+
background-color: @theme-focus;
|
|
33
|
+
color: @themeColor;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-show {
|
|
37
|
+
// width: 100%;
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
align-items: center;
|
|
41
|
+
|
|
42
|
+
&-icons {
|
|
43
|
+
margin-left: 10px;
|
|
44
|
+
|
|
45
|
+
i {
|
|
46
|
+
padding: 3px;
|
|
47
|
+
border-radius: @borderRadius;
|
|
48
|
+
color: rgba(0, 0, 0, 0.4);
|
|
49
|
+
|
|
50
|
+
&:hover {
|
|
51
|
+
background-color: #fff;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-edit {
|
|
56
|
+
&:hover {
|
|
57
|
+
color: @themeColor;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&-del {
|
|
62
|
+
&:hover {
|
|
63
|
+
color: @error-color;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ivu-select-dropdown {
|
|
72
|
+
width: fit-content;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.ivu-input-suffix {
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
|
|
79
|
+
i {
|
|
80
|
+
width: 24px;
|
|
81
|
+
height: 24px;
|
|
82
|
+
line-height: 24px;
|
|
83
|
+
|
|
84
|
+
&:hover {
|
|
85
|
+
background-color: @btn-hover;
|
|
86
|
+
border-radius: @borderRadius;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&-view {
|
|
92
|
+
.dsh-flex-row-start-start();
|
|
93
|
+
flex-wrap: wrap;
|
|
94
|
+
height: 32px;
|
|
95
|
+
overflow-y: hidden;
|
|
96
|
+
|
|
97
|
+
&-readonly {
|
|
98
|
+
width: 100%;
|
|
99
|
+
background: @white;
|
|
100
|
+
border: 1px solid #eee;
|
|
101
|
+
border-radius: 4px;
|
|
102
|
+
height: 32px;
|
|
103
|
+
cursor: not-allowed;
|
|
104
|
+
|
|
105
|
+
.DshLabels-view-nodata {
|
|
106
|
+
display: none;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&-tag {
|
|
111
|
+
width: fit-content;
|
|
112
|
+
margin-right: 10px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&-nodata {
|
|
116
|
+
color: @textColor;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
padding: 0 10px;
|
|
7
7
|
height: 32px;
|
|
8
8
|
line-height: 32px;
|
|
9
|
-
border: 1px solid @
|
|
9
|
+
border: 1px solid @borderColor;
|
|
10
10
|
border-radius: 4px;
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
&-text {
|
|
20
20
|
.dsh-ellipsis();
|
|
21
21
|
&-disabled {
|
|
22
|
-
color: @
|
|
22
|
+
color: @borderColor;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&-placeholder {
|
|
32
|
-
color: @
|
|
32
|
+
color: @borderColor;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
.DshCoordinates {
|
|
2
|
+
width: 100%;
|
|
3
|
+
line-height: 32px;
|
|
2
4
|
.textRight {
|
|
3
5
|
text-align: right;
|
|
4
6
|
}
|
|
5
7
|
|
|
6
8
|
&-wrap {
|
|
7
|
-
cursor: pointer;
|
|
8
9
|
position: relative;
|
|
9
|
-
|
|
10
|
+
padding: 0 8px;
|
|
11
|
+
.control-edit();
|
|
10
12
|
&-zuobiao{
|
|
11
13
|
color: #e5e5e5;
|
|
12
14
|
line-height: 32px;
|
|
@@ -28,7 +30,7 @@
|
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
&-notext {
|
|
31
|
-
|
|
33
|
+
.control-placeholder();
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
&-message {
|
|
@@ -47,6 +49,9 @@
|
|
|
47
49
|
&-readonly {
|
|
48
50
|
cursor: not-allowed;
|
|
49
51
|
}
|
|
52
|
+
&-show {
|
|
53
|
+
padding: 0 8px;
|
|
54
|
+
}
|
|
50
55
|
}
|
|
51
56
|
|
|
52
57
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.DshDate {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
// .ivu-date-picker-cells-year .ivu-date-picker-cells-cell-focused,
|
|
6
|
+
// .ivu-date-picker-cells-month .ivu-date-picker-cells-cell-focused {
|
|
7
|
+
// position: relative;
|
|
8
|
+
|
|
9
|
+
// em {
|
|
10
|
+
// background-color: transparent;
|
|
11
|
+
// color: @themeColor;
|
|
12
|
+
// }
|
|
13
|
+
|
|
14
|
+
// &::after {
|
|
15
|
+
// position: absolute;
|
|
16
|
+
// bottom: -5px;
|
|
17
|
+
// right: calc(50% - 3px);
|
|
18
|
+
// content: "";
|
|
19
|
+
// width: 6px;
|
|
20
|
+
// height: 6px;
|
|
21
|
+
// border-radius: 50%;
|
|
22
|
+
// background-color: @themeColor;
|
|
23
|
+
// }
|
|
24
|
+
// }
|
|
25
|
+
|
|
26
|
+
// .ivu-date-picker-cells {
|
|
27
|
+
// &-focused em {
|
|
28
|
+
// box-shadow: none;
|
|
29
|
+
// }
|
|
30
|
+
|
|
31
|
+
// span em {
|
|
32
|
+
// border-radius: 50%;
|
|
33
|
+
// }
|
|
34
|
+
|
|
35
|
+
// &-cell-today {
|
|
36
|
+
// em {
|
|
37
|
+
// position: relative;
|
|
38
|
+
// color: @themeColor;
|
|
39
|
+
|
|
40
|
+
// &::after {
|
|
41
|
+
// content: '';
|
|
42
|
+
// display: block;
|
|
43
|
+
// width: 6px;
|
|
44
|
+
// height: 6px;
|
|
45
|
+
// border-radius: 50%;
|
|
46
|
+
// background: #3DB8C5;
|
|
47
|
+
// position: absolute;
|
|
48
|
+
// top: auto;
|
|
49
|
+
// bottom: -5px;
|
|
50
|
+
// right: calc(50% - 3px);
|
|
51
|
+
// }
|
|
52
|
+
// }
|
|
53
|
+
// }
|
|
54
|
+
// }
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
.DshEditor {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
.DshEditor {
|
|
2
|
+
&-unit {
|
|
3
|
+
.unit-show();
|
|
4
|
+
display: inline-block;
|
|
5
|
+
}
|
|
4
6
|
&-wrap {
|
|
5
|
-
border: 1px solid @
|
|
7
|
+
border: 1px solid @themeColor;
|
|
6
8
|
border-radius: 4px;
|
|
7
9
|
background: #fff;
|
|
8
10
|
|
|
@@ -11,12 +13,11 @@
|
|
|
11
13
|
padding: 10px;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
14
|
-
|
|
15
16
|
&-show {
|
|
16
17
|
height: 100%;
|
|
17
18
|
min-height: 32px;
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
padding: 4px 10px;
|
|
20
|
+
border-radius: @borderRadius;
|
|
20
21
|
p {
|
|
21
22
|
font-size: 14px !important;
|
|
22
23
|
}
|
|
@@ -32,15 +33,32 @@
|
|
|
32
33
|
ol li {
|
|
33
34
|
list-style: auto;
|
|
34
35
|
}
|
|
36
|
+
&-nodata {
|
|
37
|
+
border: none;
|
|
38
|
+
color: @grey3;
|
|
39
|
+
padding-left: 0px;
|
|
40
|
+
}
|
|
41
|
+
&-disabled {
|
|
42
|
+
border: 1px solid @border-disabled;
|
|
43
|
+
cursor: not-allowed;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
&-edit {
|
|
47
|
+
border: 1px solid @borderColor;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
&-placeholder {
|
|
50
|
+
color: @input-placeholder-color;
|
|
51
|
+
}
|
|
52
|
+
&:hover {
|
|
53
|
+
border-color: @theme-hover;
|
|
54
|
+
}
|
|
35
55
|
}
|
|
36
|
-
|
|
37
56
|
.toolbar {
|
|
38
57
|
margin-top: 5px;
|
|
39
58
|
}
|
|
40
59
|
|
|
41
60
|
.text {
|
|
42
61
|
min-height: 130px;
|
|
43
|
-
|
|
44
62
|
ul li {
|
|
45
63
|
list-style: disc;
|
|
46
64
|
}
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
&-ellipsis-readonly {
|
|
12
|
-
color: @
|
|
13
|
-
border-color: @
|
|
12
|
+
color: @textColor-readonly;
|
|
13
|
+
border-color: @border-readonly;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&-ellipsis-disabled {
|
|
17
|
-
background-color: @
|
|
18
|
-
color: @
|
|
19
|
-
border-color: @
|
|
17
|
+
background-color: @inputBg-disabled;
|
|
18
|
+
color: @textColor-disabled;
|
|
19
|
+
border-color: @border-readonly;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&-textarea-show {
|
|
@@ -37,4 +37,10 @@
|
|
|
37
37
|
width: 100%;
|
|
38
38
|
display: flex;
|
|
39
39
|
}
|
|
40
|
+
}
|
|
41
|
+
.ivu-input {
|
|
42
|
+
.control-edit();
|
|
43
|
+
&[disabled] {
|
|
44
|
+
.control-disabled();
|
|
45
|
+
}
|
|
40
46
|
}
|