ocpview-plus 0.0.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/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/efviewplus.min.esm.js +99954 -0
- package/dist/efviewplus.min.js +142 -0
- package/dist/locale/lang.js +1 -0
- package/dist/locale/zh-CN.js +1 -0
- package/dist/locale/zh-TW.js +1 -0
- package/dist/locale/zh-UG.js +1 -0
- package/dist/style.css +9 -0
- package/dist/styles/efviewplus.css +1 -0
- package/package.json +144 -0
- package/src/components/base/controlbase.vue +191 -0
- package/src/components/base/controlbox.vue +102 -0
- package/src/components/base/index.js +3 -0
- package/src/components/base/load.js +20 -0
- package/src/components/base/probase.js +220 -0
- package/src/components/base/size.js +78 -0
- package/src/components/billbox/billbox.vue +68 -0
- package/src/components/billbox/index.js +2 -0
- package/src/components/cascaderbox/cascaderbox.vue +184 -0
- package/src/components/cascaderbox/index.js +2 -0
- package/src/components/checkbox/checkbox.vue +76 -0
- package/src/components/checkbox/checkgroupbox.vue +104 -0
- package/src/components/checkbox/index.js +3 -0
- package/src/components/colorbox/colorbox.vue +44 -0
- package/src/components/colorbox/index.js +2 -0
- package/src/components/combobox/combobox.vue +220 -0
- package/src/components/combobox/index.js +2 -0
- package/src/components/conditionbox/conditionbase.vue +195 -0
- package/src/components/conditionbox/conditionbox.vue +63 -0
- package/src/components/conditionbox/conditionfilterbox.vue +477 -0
- package/src/components/conditionbox/conditionselectorbox.vue +237 -0
- package/src/components/conditionbox/index.js +5 -0
- package/src/components/conditionbox/queryconditionbox.vue +26 -0
- package/src/components/conditionbox/queryconditionboxbase.vue +124 -0
- package/src/components/conditionbox/searchconditionbox.vue +114 -0
- package/src/components/conditionbox/searchgrid.vue +391 -0
- package/src/components/datebox/datebox.vue +129 -0
- package/src/components/datebox/daterangebox.vue +155 -0
- package/src/components/datebox/index.js +3 -0
- package/src/components/form/baseform.vue +677 -0
- package/src/components/form/detailsbox.vue +487 -0
- package/src/components/form/formbox.vue +29 -0
- package/src/components/form/formcardbox.vue +268 -0
- package/src/components/form/formcardgroupbox.vue +252 -0
- package/src/components/form/formcompro.js +19 -0
- package/src/components/form/formdetail.vue +129 -0
- package/src/components/form/formdetailtwo.vue +302 -0
- package/src/components/form/index.js +8 -0
- package/src/components/form/toolanchor.js +46 -0
- package/src/components/form/workform.vue +168 -0
- package/src/components/grid/basegrid.vue +1061 -0
- package/src/components/grid/editgrid.vue +51 -0
- package/src/components/grid/editgridbase.vue +947 -0
- package/src/components/grid/editgridcard.vue +193 -0
- package/src/components/grid/expandrow.vue +137 -0
- package/src/components/grid/index.js +6 -0
- package/src/components/grid/viewgrid.vue +122 -0
- package/src/components/grid/viewgridbase.vue +1284 -0
- package/src/components/icon/common-icon.vue +53 -0
- package/src/components/icon/eicon.vue +29 -0
- package/src/components/icon/icons.vue +42 -0
- package/src/components/icon/index.js +2 -0
- package/src/components/label/index.js +3 -0
- package/src/components/label/showtext.vue +95 -0
- package/src/components/load/loadcartoon.vue +228 -0
- package/src/components/map/index.js +2 -0
- package/src/components/map/mapbox.vue +348 -0
- package/src/components/masterplate/appendix.vue +586 -0
- package/src/components/masterplate/approval.vue +803 -0
- package/src/components/masterplate/base.vue +985 -0
- package/src/components/masterplate/billasyncimport.vue +614 -0
- package/src/components/masterplate/billconditionbox.vue +224 -0
- package/src/components/masterplate/billconditionsbox.vue +427 -0
- package/src/components/masterplate/billdetailform.vue +990 -0
- package/src/components/masterplate/billimport.vue +263 -0
- package/src/components/masterplate/billquerygrid.vue +316 -0
- package/src/components/masterplate/billsinglegrid.vue +234 -0
- package/src/components/masterplate/birtreport.vue +185 -0
- package/src/components/masterplate/detailbtntoolbar.vue +311 -0
- package/src/components/masterplate/detailsbox.vue +386 -0
- package/src/components/masterplate/editgridcard.vue +222 -0
- package/src/components/masterplate/editgridcard2.vue +109 -0
- package/src/components/masterplate/formcard.vue +106 -0
- package/src/components/masterplate/formcardgroupbox.vue +168 -0
- package/src/components/masterplate/formdetailtwo.vue +356 -0
- package/src/components/masterplate/gridcolset.vue +227 -0
- package/src/components/masterplate/index.js +23 -0
- package/src/components/masterplate/layouttemplate.vue +33 -0
- package/src/components/masterplate/leftlistrightdetails.vue +474 -0
- package/src/components/masterplate/leftlistrightlist.vue +465 -0
- package/src/components/masterplate/lefttreerightdetails.vue +619 -0
- package/src/components/masterplate/levelreport.vue +510 -0
- package/src/components/masterplate/listbtntoolbar.vue +257 -0
- package/src/components/masterplate/listdetails.vue +769 -0
- package/src/components/masterplate/operlog.vue +272 -0
- package/src/components/masterplate/options.vue +110 -0
- package/src/components/masterplate/page.vue +102 -0
- package/src/components/masterplate/promptmessage.vue +74 -0
- package/src/components/masterplate/querybar.vue +490 -0
- package/src/components/masterplate/report.vue +357 -0
- package/src/components/masterplate/rowbtntoolbar.vue +126 -0
- package/src/components/masterplate/simpletree.vue +129 -0
- package/src/components/masterplate/simpleviewgrid.vue +144 -0
- package/src/components/mychart/bar/bar.vue +202 -0
- package/src/components/mychart/basechart.vue +190 -0
- package/src/components/mychart/complexmychart/barline.vue +154 -0
- package/src/components/mychart/gauge/gauge.vue +83 -0
- package/src/components/mychart/index.js +9 -0
- package/src/components/mychart/line/line.vue +202 -0
- package/src/components/mychart/liquidfill/liquidfill.vue +109 -0
- package/src/components/mychart/pie/pie.vue +96 -0
- package/src/components/mychart/radar/radar.vue +122 -0
- package/src/components/mychart/scatter/scatter.vue +76 -0
- package/src/components/numberbox/append.js +11 -0
- package/src/components/numberbox/index.js +3 -0
- package/src/components/numberbox/numberbox.vue +303 -0
- package/src/components/numberbox/numberrangebox.vue +423 -0
- package/src/components/picturebox/filebox.vue +365 -0
- package/src/components/picturebox/index.js +3 -0
- package/src/components/picturebox/picturebox.vue +541 -0
- package/src/components/picturebox/uploadbox.vue +164 -0
- package/src/components/poptagbox/index.js +2 -0
- package/src/components/poptagbox/poptagbox.vue +389 -0
- package/src/components/poptextbox/index.js +2 -0
- package/src/components/poptextbox/poptextbox.vue +601 -0
- package/src/components/radiobox/index.js +2 -0
- package/src/components/radiobox/radiogroupbox.vue +76 -0
- package/src/components/richtextbox/editor.vue +150 -0
- package/src/components/richtextbox/index.js +2 -0
- package/src/components/richtextbox/richtextbox.vue +448 -0
- package/src/components/textbox/index.js +2 -0
- package/src/components/textbox/textbox.vue +98 -0
- package/src/components/timebox/index.js +2 -0
- package/src/components/timebox/timebox.vue +76 -0
- package/src/components/toolbar/ebutton.vue +169 -0
- package/src/components/toolbar/index.js +3 -0
- package/src/components/toolbar/toolbar.vue +446 -0
- package/src/components/tree/basetree.vue +725 -0
- package/src/components/tree/index.js +3 -0
- package/src/components/tree/treedata.vue +51 -0
- package/src/components/tree/treedatabase.vue +189 -0
- package/src/components/upload/billimport.vue +233 -0
- package/src/components/upload/index.js +2 -0
- package/src/components/videobox/index.js +2 -0
- package/src/components/videobox/uploadbox.vue +148 -0
- package/src/components/videobox/videobox.vue +503 -0
- package/src/components/wrichtextbox/editor.vue +219 -0
- package/src/components/wrichtextbox/index.js +2 -0
- package/src/components/wrichtextbox/wrichtextbox.vue +63 -0
- package/src/index.js +215 -0
- package/src/locale/format.js +51 -0
- package/src/locale/index.js +63 -0
- package/src/locale/lang/zh-CN.js +123 -0
- package/src/locale/lang/zh-TW.js +114 -0
- package/src/locale/lang/zh-UG.js +115 -0
- package/src/locale/lang.js +15 -0
- package/src/method/case/case.js +1180 -0
- package/src/method/config/queryconfig.js +24 -0
- package/src/method/const/const.js +815 -0
- package/src/method/index.js +8 -0
- package/src/static/excel/exportexcel.js +627 -0
- package/src/static/iview/coustom.js +463 -0
- package/src/store/index.js +19 -0
- package/src/store/modules/app.js +53 -0
- package/src/styles/README.md +3 -0
- package/src/styles/common.less +75 -0
- package/src/styles/components/anchor.less +74 -0
- package/src/styles/components/approval.less +136 -0
- package/src/styles/components/button.less +208 -0
- package/src/styles/components/card.less +51 -0
- package/src/styles/components/content.less +38 -0
- package/src/styles/components/font.less +314 -0
- package/src/styles/components/form.less +72 -0
- package/src/styles/components/iconfont/fonts/iconfont.less +1376 -0
- package/src/styles/components/iconfont/fonts/iconfont.svg +699 -0
- package/src/styles/components/iconfont/fonts/iconfont.ttf +0 -0
- package/src/styles/components/iconfont/fonts/iconfont.woff +0 -0
- package/src/styles/components/iconfont/fonts/iconfont.woff2 +0 -0
- package/src/styles/components/index.less +16 -0
- package/src/styles/components/input.less +290 -0
- package/src/styles/components/modal.less +203 -0
- package/src/styles/components/page.less +340 -0
- package/src/styles/components/select.less +361 -0
- package/src/styles/components/steps.less +367 -0
- package/src/styles/components/table.less +544 -0
- package/src/styles/components/tabs.less +249 -0
- package/src/styles/components/upload.less +83 -0
- package/src/styles/custom.less +67 -0
- package/src/styles/index.less +6 -0
- package/src/styles/pack.less +6 -0
- package/src/utils/EfuMessenger.js +155 -0
- package/src/utils/assist.js +353 -0
- package/src/utils/index.js +1 -0
- package/src/utils/random_str.js +10 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import "table";
|
|
2
|
+
@import "form";
|
|
3
|
+
@import "page";
|
|
4
|
+
@import "tabs";
|
|
5
|
+
@import "content";
|
|
6
|
+
@import "modal";
|
|
7
|
+
@import "select";
|
|
8
|
+
@import "upload";
|
|
9
|
+
@import "card";
|
|
10
|
+
@import "steps";
|
|
11
|
+
@import "anchor";
|
|
12
|
+
@import "input";
|
|
13
|
+
@import "./iconfont/fonts/iconfont";
|
|
14
|
+
@import "button";
|
|
15
|
+
@import "font";
|
|
16
|
+
@import "approval";
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
.hover(@color: @input-hover-border-color) {
|
|
2
|
+
border-color: tint(@color, 20%);
|
|
3
|
+
}
|
|
4
|
+
.hover-error() {
|
|
5
|
+
border-color: @error-color;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.active(@color: @input-hover-border-color) {
|
|
9
|
+
border-color: tint(@color, 20%);
|
|
10
|
+
outline: 0;
|
|
11
|
+
box-shadow: 0 0 0 2px fade(@color, 20%);
|
|
12
|
+
}
|
|
13
|
+
.active-error() {
|
|
14
|
+
border-color: @error-color;
|
|
15
|
+
outline: 0;
|
|
16
|
+
box-shadow: 0 0 0 2px fade(@error-color, 20%);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.disabled() {
|
|
20
|
+
background-color: @input-disabled-bg;
|
|
21
|
+
opacity: 1;
|
|
22
|
+
cursor: @cursor-disabled;
|
|
23
|
+
color: @input-disabled-font-color;
|
|
24
|
+
&:hover {
|
|
25
|
+
.hover(@input-border-color);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.input-large() {
|
|
30
|
+
font-size: @font-size-large;
|
|
31
|
+
padding: @input-padding-vertical-large @input-padding-horizontal;
|
|
32
|
+
height: @input-height-large;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.input-small() {
|
|
36
|
+
padding: @input-padding-vertical-small @input-padding-horizontal;
|
|
37
|
+
height: @input-height-small;
|
|
38
|
+
border-radius: @btn-border-radius-small;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.input() {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
width: 100%;
|
|
44
|
+
height: @input-height-base;
|
|
45
|
+
line-height: @line-height-base;
|
|
46
|
+
padding: @input-padding-vertical-base @input-padding-horizontal;
|
|
47
|
+
font-size: @font-size-base;
|
|
48
|
+
border: 1px solid @input-border-color;
|
|
49
|
+
border-radius: @btn-border-radius;
|
|
50
|
+
color: @input-color;
|
|
51
|
+
background-color: @input-bg;
|
|
52
|
+
background-image: none;
|
|
53
|
+
position: relative;
|
|
54
|
+
cursor: text;
|
|
55
|
+
.placeholder();
|
|
56
|
+
transition: border @transition-time @ease-in-out, background @transition-time @ease-in-out, box-shadow @transition-time @ease-in-out;
|
|
57
|
+
|
|
58
|
+
&:hover {
|
|
59
|
+
.hover();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:focus {
|
|
63
|
+
.active();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&[disabled],
|
|
67
|
+
fieldset[disabled] & {
|
|
68
|
+
.disabled();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Reset height for textarea
|
|
72
|
+
textarea& {
|
|
73
|
+
max-width: 100%;
|
|
74
|
+
height: auto;
|
|
75
|
+
min-height: @input-height-base;
|
|
76
|
+
vertical-align: bottom;
|
|
77
|
+
font-size: @font-size-base;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// Size
|
|
81
|
+
&-large {
|
|
82
|
+
.input-large();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&-small {
|
|
86
|
+
.input-small();
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&-no-border{
|
|
90
|
+
border-radius: 0;
|
|
91
|
+
border-color: transparent;
|
|
92
|
+
&:hover{
|
|
93
|
+
border-color: transparent;
|
|
94
|
+
}
|
|
95
|
+
&:focus{
|
|
96
|
+
border-color: transparent;
|
|
97
|
+
box-shadow: none;
|
|
98
|
+
}
|
|
99
|
+
&[disabled]{
|
|
100
|
+
background-color: transparent;
|
|
101
|
+
&:hover {
|
|
102
|
+
border-color: transparent;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.input-error() {
|
|
109
|
+
border: 1px solid @error-color;
|
|
110
|
+
&:hover {
|
|
111
|
+
.hover-error;
|
|
112
|
+
}
|
|
113
|
+
&:focus {
|
|
114
|
+
.active-error;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.input-group(@inputClass) {
|
|
119
|
+
display: table;
|
|
120
|
+
width: 100%;
|
|
121
|
+
border-collapse: separate;
|
|
122
|
+
position: relative;
|
|
123
|
+
font-size: @font-size-base;
|
|
124
|
+
|
|
125
|
+
.ivu-form-inline &{
|
|
126
|
+
top: 1px; // fixed when using in form inline,
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&-large{
|
|
130
|
+
font-size: @font-size-large;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Undo padding and float of grid classes
|
|
134
|
+
&[class*="col-"] {
|
|
135
|
+
float: none;
|
|
136
|
+
padding-left: 0;
|
|
137
|
+
padding-right: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
> [class*="col-"] {
|
|
141
|
+
padding-right: 8px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&-prepend,
|
|
145
|
+
&-append,
|
|
146
|
+
> .@{inputClass} {
|
|
147
|
+
display: table-cell;
|
|
148
|
+
|
|
149
|
+
//&:not(:first-child):not(:last-child) {
|
|
150
|
+
// border-radius: 0;
|
|
151
|
+
//}
|
|
152
|
+
}
|
|
153
|
+
&-with-prepend .@{inputClass},
|
|
154
|
+
&-with-prepend&-small .@{inputClass}
|
|
155
|
+
{
|
|
156
|
+
border-top-left-radius: 0;
|
|
157
|
+
border-bottom-left-radius: 0;
|
|
158
|
+
}
|
|
159
|
+
&-with-append .@{inputClass},
|
|
160
|
+
&-with-append&-small .@{inputClass}
|
|
161
|
+
{
|
|
162
|
+
border-top-right-radius: 0;
|
|
163
|
+
border-bottom-right-radius: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&-prepend .@{css-prefix}btn,
|
|
167
|
+
&-append .@{css-prefix}btn
|
|
168
|
+
{
|
|
169
|
+
border-color: transparent;
|
|
170
|
+
background-color: transparent;
|
|
171
|
+
color: inherit;
|
|
172
|
+
margin: -(@input-padding-vertical-base + 2) (-@input-padding-horizontal);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&-prepend,
|
|
176
|
+
&-append
|
|
177
|
+
{
|
|
178
|
+
width: 1px; // To make addon/wrap as small as possible
|
|
179
|
+
white-space: nowrap;
|
|
180
|
+
vertical-align: middle;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.@{inputClass} {
|
|
184
|
+
width: 100%;
|
|
185
|
+
float: left;
|
|
186
|
+
margin-bottom: 0;
|
|
187
|
+
position: relative;
|
|
188
|
+
z-index: 2;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&-prepend,
|
|
192
|
+
&-append
|
|
193
|
+
{
|
|
194
|
+
padding: @input-padding-vertical-base @input-padding-horizontal;
|
|
195
|
+
font-size: inherit;
|
|
196
|
+
font-weight: normal;
|
|
197
|
+
line-height: 1;
|
|
198
|
+
color: @input-color;
|
|
199
|
+
text-align: center;
|
|
200
|
+
background-color: @input-group-bg;
|
|
201
|
+
border: 1px solid @input-border-color;
|
|
202
|
+
border-radius: @btn-border-radius;
|
|
203
|
+
|
|
204
|
+
// Reset Select's style in addon
|
|
205
|
+
.@{css-prefix}select {
|
|
206
|
+
margin: -(@input-padding-vertical-base + 1) (-@input-padding-horizontal); // lesshint spaceAroundOperator: false
|
|
207
|
+
|
|
208
|
+
&-selection {
|
|
209
|
+
background-color: inherit;
|
|
210
|
+
margin: -1px;
|
|
211
|
+
border: 1px solid transparent;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&-visible .@{css-prefix}select-selection{
|
|
215
|
+
box-shadow: none;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// Reset rounded corners
|
|
221
|
+
> span > .@{inputClass}:first-child,
|
|
222
|
+
> .@{inputClass}:first-child,
|
|
223
|
+
&-prepend
|
|
224
|
+
{
|
|
225
|
+
border-bottom-right-radius: 0 !important;
|
|
226
|
+
border-top-right-radius: 0 !important;
|
|
227
|
+
|
|
228
|
+
// Reset Select's style in addon
|
|
229
|
+
.@{css-prefix}-select .@{css-prefix}-select-selection {
|
|
230
|
+
border-bottom-right-radius: 0;
|
|
231
|
+
border-top-right-radius: 0;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&-prepend {
|
|
236
|
+
border-right: 0;
|
|
237
|
+
}
|
|
238
|
+
&-append {
|
|
239
|
+
border-left: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
> .@{inputClass}:last-child,
|
|
243
|
+
&-append
|
|
244
|
+
{
|
|
245
|
+
border-bottom-left-radius: 0 !important;
|
|
246
|
+
border-top-left-radius: 0 !important;
|
|
247
|
+
|
|
248
|
+
// Reset Select's style in addon
|
|
249
|
+
.@{css-prefix}-select .@{css-prefix}-select-selection {
|
|
250
|
+
border-bottom-left-radius: 0;
|
|
251
|
+
border-top-left-radius: 0;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// Sizing options
|
|
256
|
+
&-large .@{inputClass},
|
|
257
|
+
&-large > &-prepend,
|
|
258
|
+
&-large > &-append
|
|
259
|
+
{
|
|
260
|
+
.input-large();
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&-small .@{inputClass},
|
|
264
|
+
&-small > &-prepend,
|
|
265
|
+
&-small > &-append
|
|
266
|
+
{
|
|
267
|
+
.input-small();
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.input-group-error{
|
|
272
|
+
&-prepend,
|
|
273
|
+
&-append
|
|
274
|
+
{
|
|
275
|
+
background-color: #fff;
|
|
276
|
+
border: 1px solid @error-color;
|
|
277
|
+
.@{css-prefix}select {
|
|
278
|
+
&-selection {
|
|
279
|
+
background-color: inherit;
|
|
280
|
+
border: 1px solid transparent;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
&-prepend {
|
|
285
|
+
border-right: 0;
|
|
286
|
+
}
|
|
287
|
+
&-append {
|
|
288
|
+
border-left: 0;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
@modal-prefix-cls: ~"@{css-prefix}modal";
|
|
2
|
+
@confirm-prefix-cls: ~"@{css-prefix}modal-confirm";
|
|
3
|
+
|
|
4
|
+
.@{modal-prefix-cls} {
|
|
5
|
+
width: auto;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
position: relative;
|
|
8
|
+
outline: none;
|
|
9
|
+
top: @modal-top;
|
|
10
|
+
|
|
11
|
+
&-hidden {
|
|
12
|
+
display: none !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&-wrap {
|
|
16
|
+
position: fixed;
|
|
17
|
+
overflow: auto;
|
|
18
|
+
top: 0;
|
|
19
|
+
right: 0;
|
|
20
|
+
bottom: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
z-index: @zindex-modal;
|
|
23
|
+
-webkit-overflow-scrolling: touch;
|
|
24
|
+
outline: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-wrap * {
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-mask {
|
|
33
|
+
.mask;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-content {
|
|
37
|
+
position: relative;
|
|
38
|
+
background-color: #fff;
|
|
39
|
+
border: 0;
|
|
40
|
+
border-radius: @border-radius-base;
|
|
41
|
+
background-clip: padding-box;
|
|
42
|
+
box-shadow: 0 4px 12px rgba(0,0,0,.15);
|
|
43
|
+
|
|
44
|
+
&-no-mask{
|
|
45
|
+
pointer-events: auto;
|
|
46
|
+
}
|
|
47
|
+
&-drag{
|
|
48
|
+
position: absolute;
|
|
49
|
+
.@{modal-prefix-cls}-header{
|
|
50
|
+
cursor: move;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
&-dragging{
|
|
54
|
+
-webkit-user-select: none;
|
|
55
|
+
-moz-user-select: none;
|
|
56
|
+
user-select: none;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-header {
|
|
61
|
+
.content-header(@modal-header-border,@modal-header-padding);
|
|
62
|
+
background-color:@modal-header-color;
|
|
63
|
+
border-radius:10px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&-close {
|
|
67
|
+
z-index: 1;
|
|
68
|
+
.content-close(1px, @modal-icon-size,@modal-icon-right,@modal-icon-top);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&-body {
|
|
72
|
+
padding: @modal-body-padding;
|
|
73
|
+
font-size: @font-size-base;
|
|
74
|
+
line-height: 1.5;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&-footer {
|
|
78
|
+
border-top: 1px solid @border-color-split;
|
|
79
|
+
padding: 12px 18px 12px 18px;
|
|
80
|
+
text-align: right;
|
|
81
|
+
button + button {
|
|
82
|
+
margin-left: 8px;
|
|
83
|
+
margin-bottom: 0;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&-fullscreen{
|
|
88
|
+
width: 100% !important;
|
|
89
|
+
top: 0;
|
|
90
|
+
bottom: 0;
|
|
91
|
+
position: absolute;
|
|
92
|
+
|
|
93
|
+
@modal-header-height: 51px;
|
|
94
|
+
@modal-footer-height: 61px;
|
|
95
|
+
|
|
96
|
+
.@{modal-prefix-cls}-content{
|
|
97
|
+
width: 100%;
|
|
98
|
+
border-radius: 0;
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: 0;
|
|
101
|
+
bottom: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.@{modal-prefix-cls}-body{
|
|
105
|
+
width: 100%;
|
|
106
|
+
overflow: auto;
|
|
107
|
+
position: absolute;
|
|
108
|
+
top: @modal-header-height;
|
|
109
|
+
bottom: @modal-footer-height;
|
|
110
|
+
}
|
|
111
|
+
&-no-header .@{modal-prefix-cls}-body{
|
|
112
|
+
top: 0;
|
|
113
|
+
}
|
|
114
|
+
&-no-footer .@{modal-prefix-cls}-body{
|
|
115
|
+
bottom: 0;
|
|
116
|
+
}
|
|
117
|
+
.@{modal-prefix-cls}-footer{
|
|
118
|
+
position: absolute;
|
|
119
|
+
width: 100%;
|
|
120
|
+
bottom: 0;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
&-no-mask{
|
|
124
|
+
pointer-events: none;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@media (max-width: @screen-sm) {
|
|
129
|
+
.@{modal-prefix-cls} {
|
|
130
|
+
width: auto !important;
|
|
131
|
+
margin: 10px;
|
|
132
|
+
}
|
|
133
|
+
.@{modal-prefix-cls}-fullscreen{
|
|
134
|
+
width: 100% !important;
|
|
135
|
+
margin: 0;
|
|
136
|
+
}
|
|
137
|
+
.vertical-center-modal {
|
|
138
|
+
.@{modal-prefix-cls} {
|
|
139
|
+
flex: 1;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.@{confirm-prefix-cls} {
|
|
145
|
+
padding: 6px 16px 8px;
|
|
146
|
+
&-head {
|
|
147
|
+
padding: 0 12px 0 0;
|
|
148
|
+
&-icon {
|
|
149
|
+
display: inline-block;
|
|
150
|
+
font-size:28px;
|
|
151
|
+
vertical-align: middle;
|
|
152
|
+
position: relative;
|
|
153
|
+
top: -2px;
|
|
154
|
+
|
|
155
|
+
&-info {
|
|
156
|
+
color: @primary-color;
|
|
157
|
+
}
|
|
158
|
+
&-success {
|
|
159
|
+
color: @success-color;
|
|
160
|
+
}
|
|
161
|
+
&-warning {
|
|
162
|
+
color: @warning-color;
|
|
163
|
+
}
|
|
164
|
+
&-error {
|
|
165
|
+
color: @error-color;
|
|
166
|
+
}
|
|
167
|
+
&-confirm {
|
|
168
|
+
color: @warning-color;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&-title {
|
|
173
|
+
display: inline-block;
|
|
174
|
+
vertical-align: middle;
|
|
175
|
+
margin-left: 12px;
|
|
176
|
+
font-size: @font-size-large;
|
|
177
|
+
color: @title-color;
|
|
178
|
+
font-weight: 500;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&-body{
|
|
183
|
+
padding-left: 40px;
|
|
184
|
+
font-size: @font-size-base;
|
|
185
|
+
color: @text-color;
|
|
186
|
+
position: relative;
|
|
187
|
+
|
|
188
|
+
&-render{
|
|
189
|
+
margin: 0;
|
|
190
|
+
padding: 0;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&-footer{
|
|
195
|
+
margin-top: 20px;
|
|
196
|
+
text-align: right;
|
|
197
|
+
|
|
198
|
+
button + button {
|
|
199
|
+
margin-left: 8px;
|
|
200
|
+
margin-bottom: 0;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|