@bytenew/bn-bus-ui 1.1.427 → 1.1.429
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 +637 -637
- package/common.scss +867 -867
- package/dist/{assocTableSearch-DtETW948.js → assocTableSearch-CelkET_M.js} +8 -8
- package/dist/assocTableSearch.css +1 -1
- package/dist/bn-bus-ui.es.js +14 -14
- package/dist/bn-bus-ui.umd.js +21 -21
- package/dist/{chooseIPaasData-BUOJFyyR.js → chooseIPaasData-CkmEEM_x.js} +21 -21
- package/dist/chooseIPaasData.css +1 -1
- package/dist/{defaultSet-B2b0jO5O.js → defaultSet-Dp5xHrwz.js} +13 -13
- package/dist/defaultSet.css +1 -1
- package/dist/{formItemFooter-Ddx9TNlz.js → formItemFooter-CvqPZSA1.js} +10 -10
- package/dist/formItemFooter.css +1 -1
- package/dist/{funcExprDialog-CA--n_vo.js → funcExprDialog-BbDXO78Q.js} +9 -9
- package/dist/funcExprDialog.css +1 -1
- package/dist/{index-JnkrDKmK.js → index-8aq7Z1-V.js} +4 -4
- package/dist/{index-B9af4cUq.js → index-BEyLapEk.js} +25 -25
- package/dist/{index-BxKfXGjV.js → index-BOzf52Ay.js} +4 -4
- package/dist/{index-BrTGyuD8.js → index-BRGj2ORR.js} +4 -4
- package/dist/{index-B7U7WNlU.js → index-BSAc5hEX.js} +4 -4
- package/dist/{index-BL7srJUI.js → index-Bwsqjluz.js} +4 -4
- package/dist/{index-Bz4APJTX.js → index-ByHxSecf.js} +5 -5
- package/dist/{index-Piwm3JQW.js → index-C-YDtKRd.js} +3 -3
- package/dist/{index-amvKMMk4.js → index-CcCndlcr.js} +6 -6
- package/dist/{index-Ddxfs6lL.js → index-CnwNlqcb.js} +7 -7
- package/dist/{index-ZjGsMvUQ.js → index-CyKUx5Gy.js} +6 -6
- package/dist/{index-C6Vdff96.js → index-Di4RvFoT.js} +4 -4
- package/dist/{index-CDnmEjmb.js → index-DkibHQBd.js} +4 -4
- package/dist/{index-Co9LXf9A.js → index-Q_iMveSU.js} +8 -8
- package/dist/{index-BhZo_f3R.js → index-ScSQzs8N.js} +13 -13
- package/dist/{index-DnY_2axx.js → index-WV7Azgtl.js} +7 -7
- package/dist/{index-vmdTkvhy.js → index-zp9Pe_uN.js} +7 -7
- package/dist/index.css +1 -1
- package/dist/index2.css +1 -1
- package/dist/index3.css +1 -1
- package/dist/index4.css +1 -1
- package/dist/index5.css +1 -1
- package/dist/index6.css +1 -1
- package/dist/index7.css +1 -1
- package/dist/{install-DQCi8rVS.js → install-CoPiY8rR.js} +2077 -2084
- package/dist/install.css +1 -1
- package/dist/{setOption-DQfMLWI5.js → setOption-F0BTMrOv.js} +10 -10
- package/dist/setOption.css +1 -1
- package/dist/{setRelationOption-CT4tem7T.js → setRelationOption-C2hqgF_0.js} +205 -205
- package/dist/setRelationOption.css +1 -1
- package/package.json +51 -51
package/common.scss
CHANGED
|
@@ -1,867 +1,867 @@
|
|
|
1
|
-
/** 关于 sass
|
|
2
|
-
* 完全兼容 CSS3
|
|
3
|
-
* 在 CSS 基础上增加变量、嵌套 (nesting)、混合 (mixins) 等功能
|
|
4
|
-
* 通过函数进行颜色值与属性值的运算
|
|
5
|
-
* 提供控制指令 (control directives)等高级功能
|
|
6
|
-
* 自定义输出格式
|
|
7
|
-
**/
|
|
8
|
-
|
|
9
|
-
//对所有元素,选择使用IE的怪异盒模型 wid = padding + wid;
|
|
10
|
-
* {
|
|
11
|
-
-webkit-box-sizing: border-box;
|
|
12
|
-
-moz-box-sizing: border-box;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
*:before, *:after {
|
|
17
|
-
-webkit-box-sizing: border-box;
|
|
18
|
-
-moz-box-sizing: border-box;
|
|
19
|
-
box-sizing: border-box;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
input[type="radio"] {
|
|
23
|
-
-webkit-box-sizing: border-box;
|
|
24
|
-
-moz-box-sizing: border-box;
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
padding: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
|
|
30
|
-
height: auto;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
input[type="search"] {
|
|
34
|
-
-webkit-box-sizing: content-box;
|
|
35
|
-
-moz-box-sizing: content-box;
|
|
36
|
-
box-sizing: content-box;
|
|
37
|
-
-webkit-appearance: textfield;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
//重写p标签样式 去掉margin-bottom
|
|
41
|
-
p {
|
|
42
|
-
margin-bottom: 0 !important;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
//改变浏览器滚动条默认样式,但其实我们引用了vue-scroll用来做模拟滚动条。
|
|
46
|
-
::-webkit-scrollbar {
|
|
47
|
-
width: 10px;
|
|
48
|
-
height: 10px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
::-webkit-scrollbar-track-piece {
|
|
52
|
-
-webkit-border-radius: 8px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
::-webkit-scrollbar-thumb:vertical {
|
|
56
|
-
height: 10px;
|
|
57
|
-
background-color: rgba(144, 147, 153, .3);
|
|
58
|
-
-webkit-border-radius: 6px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
::-webkit-scrollbar-thumb:horizontal {
|
|
62
|
-
width: 10px;
|
|
63
|
-
background-color: rgba(144, 147, 153, .3);
|
|
64
|
-
-webkit-border-radius: 6px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
//清除元素默认样式,选择默认字体
|
|
68
|
-
#app, html, body {
|
|
69
|
-
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans", "Noto Sans CJK Sc", "Microsoft YaHei", "Microsoft Jhenghei", sans-serif;
|
|
70
|
-
margin: 0;
|
|
71
|
-
position: relative;
|
|
72
|
-
height: 100%;
|
|
73
|
-
width: 100%;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
input, button {
|
|
77
|
-
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans", "Noto Sans CJK Sc", "Microsoft YaHei", "Microsoft Jhenghei", sans-serif;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
ul, li {
|
|
81
|
-
margin: 0;
|
|
82
|
-
padding: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
p {
|
|
86
|
-
margin-top: 0;
|
|
87
|
-
margin-bottom: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
input::-webkit-input-placeholder {
|
|
91
|
-
color: #A9AAAA;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
input::-moz-placeholder {
|
|
95
|
-
color: #A9AAAA;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
input:-moz-placeholder {
|
|
99
|
-
color: #A9AAAA;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
input:-ms-input-placeholder {
|
|
103
|
-
color: #A9AAAA;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// 处理input type = number的上下箭头
|
|
107
|
-
input::-webkit-outer-spin-button,
|
|
108
|
-
input::-webkit-inner-spin-button {
|
|
109
|
-
-webkit-appearance: none;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
input[type="number"] {
|
|
113
|
-
-moz-appearance: textfield;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
a:hover {
|
|
117
|
-
text-decoration: none;
|
|
118
|
-
text-underline: none;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
a:link {
|
|
122
|
-
text-decoration: none;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// 默认容器样式,占满屏幕,存在滚动条
|
|
126
|
-
.w-source {
|
|
127
|
-
position: relative;
|
|
128
|
-
width: 100%;
|
|
129
|
-
height: 100%;
|
|
130
|
-
overflow: auto;
|
|
131
|
-
background: #f5f5f7;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
//没有数据时提示文字的样式
|
|
135
|
-
.w-empty {
|
|
136
|
-
width: 100%;
|
|
137
|
-
line-height: 48px;
|
|
138
|
-
font-size: 12px;
|
|
139
|
-
color: #999;
|
|
140
|
-
text-align: center;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
//文案提示样式
|
|
144
|
-
.w-tip {
|
|
145
|
-
font-size: 14px;
|
|
146
|
-
padding: 10px;
|
|
147
|
-
border: 1px solid;
|
|
148
|
-
border-radius: 4px;
|
|
149
|
-
border-color: #eee;
|
|
150
|
-
background: #FAFAFA;
|
|
151
|
-
color: #666;
|
|
152
|
-
|
|
153
|
-
&.success {
|
|
154
|
-
border-color: #bee0ad;
|
|
155
|
-
background: #f0f9eb;
|
|
156
|
-
color: #67c23a;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&.info {
|
|
160
|
-
border-color: #b9d9fd;
|
|
161
|
-
background: #ecf5ff;
|
|
162
|
-
color: #409eff;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&.warn {
|
|
166
|
-
border-color: #f0c98e;
|
|
167
|
-
background: #fdf6ec;
|
|
168
|
-
color: #e6a23c;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&.err {
|
|
172
|
-
border-color: #f2c8c8;
|
|
173
|
-
background: #fef0f0;
|
|
174
|
-
color: #f56c6c;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
&.no-border {
|
|
178
|
-
border: none;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&-num {
|
|
182
|
-
font-size: 14px;
|
|
183
|
-
font-weight: bold;
|
|
184
|
-
color: #409EFF;
|
|
185
|
-
margin-right: 6px;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
//弹性布局 wrap换行 默认是不换行
|
|
190
|
-
.w-flex-wrap {
|
|
191
|
-
display: flex;
|
|
192
|
-
display: -webkit-flex;
|
|
193
|
-
display: -moz-flex;
|
|
194
|
-
display: -ms-flexbox;
|
|
195
|
-
flex-wrap: wrap;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/*
|
|
199
|
-
左右方向
|
|
200
|
-
flex-start(默认值):左对齐
|
|
201
|
-
flex-end:右对齐
|
|
202
|
-
center: 居中
|
|
203
|
-
space-between:两端对齐,项目之间的间隔都相等。
|
|
204
|
-
space-around:每个项目两侧的间隔相等。所以,项目之间的间隔比项目与边框的间隔大一倍。
|
|
205
|
-
*/
|
|
206
|
-
//左右两端
|
|
207
|
-
.w-flex-between {
|
|
208
|
-
display: flex;
|
|
209
|
-
display: -webkit-flex;
|
|
210
|
-
display: -moz-flex;
|
|
211
|
-
display: -ms-flexbox;
|
|
212
|
-
justify-content: space-between;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
//左右靠左
|
|
216
|
-
.w-flex-left {
|
|
217
|
-
display: flex;
|
|
218
|
-
display: -webkit-flex;
|
|
219
|
-
display: -moz-flex;
|
|
220
|
-
display: -ms-flexbox;
|
|
221
|
-
justify-content: flex-start;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
//左右靠右
|
|
225
|
-
.w-flex-right {
|
|
226
|
-
display: flex;
|
|
227
|
-
display: -webkit-flex;
|
|
228
|
-
display: -moz-flex;
|
|
229
|
-
display: -ms-flexbox;
|
|
230
|
-
justify-content: flex-end;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
//横向居中,左右居中
|
|
234
|
-
.w-flex-lrCenter {
|
|
235
|
-
display: flex;
|
|
236
|
-
display: -webkit-flex;
|
|
237
|
-
display: -moz-flex;
|
|
238
|
-
display: -ms-flexbox;
|
|
239
|
-
justify-content: center;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/*
|
|
243
|
-
上下方向
|
|
244
|
-
flex-start:交叉轴的起点对齐。
|
|
245
|
-
flex-end:交叉轴的终点对齐。
|
|
246
|
-
center:交叉轴的中点对齐。
|
|
247
|
-
baseline: 项目的第一行文字的基线对齐。
|
|
248
|
-
stretch(默认值):如果项目未设置高度或设为auto,将占满整个容器的高度。
|
|
249
|
-
*/
|
|
250
|
-
//上下居中
|
|
251
|
-
.w-flex-center {
|
|
252
|
-
display: flex;
|
|
253
|
-
align-items: center;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
//上下靠上
|
|
257
|
-
.w-flex-top {
|
|
258
|
-
display: flex;
|
|
259
|
-
align-items: flex-start;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
//上下靠下
|
|
263
|
-
.w-flex-bottom {
|
|
264
|
-
display: flex;
|
|
265
|
-
align-items: flex-end;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
//上下靠下
|
|
269
|
-
.w-flex-baseline {
|
|
270
|
-
display: flex;
|
|
271
|
-
align-items: baseline;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// 数字、字母超出换行
|
|
275
|
-
.w-word-wrap {
|
|
276
|
-
word-wrap: break-word
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.clearFix:after {
|
|
280
|
-
display: block;
|
|
281
|
-
content: "";
|
|
282
|
-
clear: both;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.w-text-over {
|
|
286
|
-
white-space: nowrap;
|
|
287
|
-
overflow: hidden;
|
|
288
|
-
text-overflow: ellipsis;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.w-text-over-two {
|
|
292
|
-
overflow: hidden;
|
|
293
|
-
text-overflow: ellipsis;
|
|
294
|
-
display: -webkit-box;
|
|
295
|
-
-webkit-line-clamp: 2;
|
|
296
|
-
line-clamp: 2;
|
|
297
|
-
-webkit-box-orient: vertical;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.w-text-over-three {
|
|
301
|
-
overflow: hidden;
|
|
302
|
-
text-overflow: ellipsis;
|
|
303
|
-
display: -webkit-box;
|
|
304
|
-
-webkit-line-clamp: 3;
|
|
305
|
-
line-clamp: 3;
|
|
306
|
-
-webkit-box-orient: vertical;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.w-text-center {
|
|
310
|
-
text-align: center;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.w-text-right {
|
|
314
|
-
text-align: right;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.w-text-left {
|
|
318
|
-
text-align: left;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.w-float-left {
|
|
322
|
-
float: left;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.w-float-right {
|
|
326
|
-
float: right;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.w-default-wrap {
|
|
330
|
-
position: relative;
|
|
331
|
-
width: 100%;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.w-default-hover:hover {
|
|
335
|
-
color: #2d8cf0;
|
|
336
|
-
cursor: pointer;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.w-cursor-pointer {
|
|
340
|
-
cursor: pointer;
|
|
341
|
-
outline: none;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* 动态生成字重类
|
|
346
|
-
* 范围:100-900,步进值100
|
|
347
|
-
* 示例:
|
|
348
|
-
* .w-font-weight400 { font-weight: 400 !important; } // Regular
|
|
349
|
-
* .w-font-weight700 { font-weight: 700 !important; } // Bold
|
|
350
|
-
*/
|
|
351
|
-
@for $i from 1 through 9 {
|
|
352
|
-
.w-font-weight#{$i * 100} {
|
|
353
|
-
font-weight: #{$i * 100} !important;
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.w-font-weight {
|
|
358
|
-
font-weight: bold;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
//添加下划线
|
|
362
|
-
.w-text-underline {
|
|
363
|
-
text-decoration: underline
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
// 定义颜色变量映射
|
|
367
|
-
$colors: (
|
|
368
|
-
'black': black,
|
|
369
|
-
'black3': #333333,
|
|
370
|
-
'black4': #444444,
|
|
371
|
-
'black5': #555555,
|
|
372
|
-
'black6': #666666,
|
|
373
|
-
'black7': #777777,
|
|
374
|
-
'black8': #888888,
|
|
375
|
-
'black85': rgba(0, 0, 0, 0.85),
|
|
376
|
-
'black9': #999,
|
|
377
|
-
'white': #FFFFFF,
|
|
378
|
-
'red': #FF5F5F,
|
|
379
|
-
'blue': #409EFF,
|
|
380
|
-
'yellow': #F2DA04,
|
|
381
|
-
'gray': #999999,
|
|
382
|
-
'green': #3d8050,
|
|
383
|
-
'green-min': #50B34B,
|
|
384
|
-
'deep-orange': #FF5722,
|
|
385
|
-
'orange': #FA7D00,
|
|
386
|
-
'purple': #b662ff,
|
|
387
|
-
'pink': #FF6B9A,
|
|
388
|
-
'teal': #20B2AA,
|
|
389
|
-
'cyan': #1BCDDF,
|
|
390
|
-
'brown': #A5673F,
|
|
391
|
-
'indigo': #6610F2,
|
|
392
|
-
'lime': #CDDC39,
|
|
393
|
-
'amber': #FFC107,
|
|
394
|
-
'navy': #001F3F,
|
|
395
|
-
'olive': #808000,
|
|
396
|
-
'maroon': #800000,
|
|
397
|
-
'coral': #FF7F50,
|
|
398
|
-
'turquoise': #40E0D0,
|
|
399
|
-
'violet': #EE82EE,
|
|
400
|
-
'gold': #FFD700
|
|
401
|
-
);
|
|
402
|
-
|
|
403
|
-
// 使用@each生成黑色系列颜色类
|
|
404
|
-
@each $name, $color in $colors {
|
|
405
|
-
.w-color-#{$name} {
|
|
406
|
-
@if $name == 'black' {
|
|
407
|
-
color: $color !important;
|
|
408
|
-
} @else {
|
|
409
|
-
color: $color;
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* 动态生成边框类
|
|
416
|
-
* 样式:solid(实线)、dashed(虚线)、dotted(点线)
|
|
417
|
-
* 方向:all(四周)、top、right、bottom、left
|
|
418
|
-
* 粗细:1px(普通)、2px(粗体)
|
|
419
|
-
* 示例:
|
|
420
|
-
* .w-border-solid { border: 1px solid #E9E9E9; }
|
|
421
|
-
* .w-border-dashed-top { border-top: 1px dashed #E9E9E9; }
|
|
422
|
-
* .w-border-solid-bold-left { border-left: 2px solid #E9E9E9; }
|
|
423
|
-
*/
|
|
424
|
-
// 定义边框样式映射
|
|
425
|
-
$border-styles: (
|
|
426
|
-
'solid': solid,
|
|
427
|
-
'dashed': dashed,
|
|
428
|
-
'dotted': dotted
|
|
429
|
-
);
|
|
430
|
-
|
|
431
|
-
// 定义边框方向映射
|
|
432
|
-
$border-directions: (
|
|
433
|
-
'': 'all',
|
|
434
|
-
'-top': top,
|
|
435
|
-
'-right': right,
|
|
436
|
-
'-bottom': bottom,
|
|
437
|
-
'-left': left
|
|
438
|
-
);
|
|
439
|
-
|
|
440
|
-
// 生成边框类
|
|
441
|
-
@each $style-name, $style in $border-styles {
|
|
442
|
-
@each $direction-suffix, $direction in $border-directions {
|
|
443
|
-
// 1px边框
|
|
444
|
-
.w-border-#{$style-name}#{$direction-suffix} {
|
|
445
|
-
@if $direction == 'all' {
|
|
446
|
-
border: 1px #{$style} #E9E9E9;
|
|
447
|
-
} @else {
|
|
448
|
-
border-#{$direction}: 1px #{$style} #E9E9E9;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
@for $i from 2 through 10 {
|
|
453
|
-
.w-border-#{$style-name}#{$direction-suffix}#{$i} {
|
|
454
|
-
@if $direction == 'all' {
|
|
455
|
-
border: #{$i}px #{$style} #E9E9E9;
|
|
456
|
-
} @else {
|
|
457
|
-
border-#{$direction}: #{$i}px #{$style} #E9E9E9;
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
//0到100的循环生成类
|
|
466
|
-
@for $i from 0 through 100 {
|
|
467
|
-
/**
|
|
468
|
-
* 动态生成flex间隔类
|
|
469
|
-
* 示例:
|
|
470
|
-
* .w-flex-gap10 { gap: 10px !important; }
|
|
471
|
-
* .w-flex-column-gap20 { column-gap: 20px !important; }
|
|
472
|
-
* .w-flex-row-gap15 { row-gap: 15px !important; }
|
|
473
|
-
*/
|
|
474
|
-
// 普通间隔(行列间隔相同)
|
|
475
|
-
.w-flex-gap#{$i} {
|
|
476
|
-
display: flex;
|
|
477
|
-
gap: #{$i}px !important;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
// 列间隔(水平方向)
|
|
481
|
-
.w-flex-column-gap#{$i} {
|
|
482
|
-
display: flex;
|
|
483
|
-
column-gap: #{$i}px !important;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
// 行间隔(垂直方向)
|
|
487
|
-
.w-flex-row-gap#{$i} {
|
|
488
|
-
display: flex;
|
|
489
|
-
row-gap: #{$i}px !important;
|
|
490
|
-
}
|
|
491
|
-
/**
|
|
492
|
-
* 动态生成行高类
|
|
493
|
-
* 示例:
|
|
494
|
-
* .w-line-height32 { line-height: 32px !important; }
|
|
495
|
-
* .w-line-height40 { line-height: 40px !important; }
|
|
496
|
-
*/
|
|
497
|
-
.w-line-height#{$i} {
|
|
498
|
-
line-height: #{$i}px !important;
|
|
499
|
-
}
|
|
500
|
-
/**
|
|
501
|
-
* 动态生成圆角类
|
|
502
|
-
* 示例:
|
|
503
|
-
* .w-radius20 { radius: 20px !important; }
|
|
504
|
-
*/
|
|
505
|
-
|
|
506
|
-
.w-radius#{$i} {
|
|
507
|
-
border-radius: #{$i}px !important;
|
|
508
|
-
}
|
|
509
|
-
.w-radius-bl#{$i} {
|
|
510
|
-
border-bottom-left-radius: #{$i}px !important;
|
|
511
|
-
}
|
|
512
|
-
.w-radius-br#{$i} {
|
|
513
|
-
border-bottom-right-radius: #{$i}px !important;
|
|
514
|
-
}
|
|
515
|
-
.w-radius-tl#{$i} {
|
|
516
|
-
border-top-left-radius: #{$i}px !important;
|
|
517
|
-
}
|
|
518
|
-
.w-radius-tr#{$i} {
|
|
519
|
-
border-top-right-radius: #{$i}px !important;
|
|
520
|
-
}
|
|
521
|
-
/**
|
|
522
|
-
* 动态生成padding和margin类
|
|
523
|
-
* 示例:
|
|
524
|
-
* .w-padding20 { padding: 20px !important; }
|
|
525
|
-
* .w-padding-left30 { padding-left: 30px !important; }
|
|
526
|
-
* .w-margin15 { margin: 15px !important; }
|
|
527
|
-
* .w-margin-top25 { margin-top: 25px !important; }
|
|
528
|
-
*/
|
|
529
|
-
// padding类
|
|
530
|
-
.w-padding#{$i} {
|
|
531
|
-
padding: #{$i}px !important;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
.w-padding-left#{$i} {
|
|
535
|
-
padding-left: #{$i}px !important;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
.w-padding-right#{$i} {
|
|
539
|
-
padding-right: #{$i}px !important;
|
|
540
|
-
}
|
|
541
|
-
.w-padding-lr#{$i} {
|
|
542
|
-
padding-left: #{$i}px !important;
|
|
543
|
-
padding-right: #{$i}px !important;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.w-padding-top#{$i} {
|
|
547
|
-
padding-top: #{$i}px !important;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
.w-padding-bottom#{$i} {
|
|
551
|
-
padding-bottom: #{$i}px !important;
|
|
552
|
-
}
|
|
553
|
-
.w-padding-tb#{$i} {
|
|
554
|
-
padding-top: #{$i}px !important;
|
|
555
|
-
padding-bottom: #{$i}px !important;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
// margin类
|
|
559
|
-
.w-margin#{$i} {
|
|
560
|
-
margin: #{$i}px !important;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.w-margin-left#{$i} {
|
|
564
|
-
margin-left: #{$i}px !important;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.w-margin-right#{$i} {
|
|
568
|
-
margin-right: #{$i}px !important;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.w-margin-lr#{$i} {
|
|
572
|
-
margin-left: #{$i}px !important;
|
|
573
|
-
margin-right: #{$i}px !important;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
.w-margin-top#{$i} {
|
|
577
|
-
margin-top: #{$i}px !important;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
.w-margin-bottom#{$i} {
|
|
581
|
-
margin-bottom: #{$i}px !important;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
.w-margin-tb#{$i} {
|
|
585
|
-
margin-top: #{$i}px !important;
|
|
586
|
-
margin-bottom: #{$i}px !important;
|
|
587
|
-
}
|
|
588
|
-
/**
|
|
589
|
-
* 动态生成字体大小类
|
|
590
|
-
* 示例:
|
|
591
|
-
* .w-font14 { font-size: 14px !important; }
|
|
592
|
-
* .w-font24 { font-size: 24px !important; }
|
|
593
|
-
*/
|
|
594
|
-
.w-font#{$i} {
|
|
595
|
-
font-size: #{$i}px !important;
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
// 基础类名声明(用于编辑器自动补全)
|
|
600
|
-
.w-padding,
|
|
601
|
-
.w-padding-left,
|
|
602
|
-
.w-padding-right,
|
|
603
|
-
.w-padding-lr,
|
|
604
|
-
.w-padding-top,
|
|
605
|
-
.w-padding-bottom,
|
|
606
|
-
.w-padding-tb,
|
|
607
|
-
.w-margin,
|
|
608
|
-
.w-margin-left,
|
|
609
|
-
.w-margin-right,
|
|
610
|
-
.w-margin-top,
|
|
611
|
-
.w-margin-bottom,
|
|
612
|
-
.w-margin-lr,
|
|
613
|
-
.w-margin-tb,
|
|
614
|
-
.w-font-weight,
|
|
615
|
-
.w-color-black,
|
|
616
|
-
.w-line-height,
|
|
617
|
-
.w-border-solid,
|
|
618
|
-
.w-border-solid-top,
|
|
619
|
-
.w-border-solid-right,
|
|
620
|
-
.w-border-solid-bottom,
|
|
621
|
-
.w-border-solid-left,
|
|
622
|
-
.w-border-dashed,
|
|
623
|
-
.w-border-dashed-top,
|
|
624
|
-
.w-border-dashed-right,
|
|
625
|
-
.w-border-dashed-bottom,
|
|
626
|
-
.w-border-dashed-left,
|
|
627
|
-
.w-border-dotted,
|
|
628
|
-
.w-border-dotted-top,
|
|
629
|
-
.w-border-dotted-right,
|
|
630
|
-
.w-border-dotted-bottom,
|
|
631
|
-
.w-border-dotted-left,
|
|
632
|
-
.w-flex-gap,
|
|
633
|
-
.w-flex-column-gap,
|
|
634
|
-
.w-flex-row-gap,
|
|
635
|
-
.w-color-black,
|
|
636
|
-
.w-color-black3,
|
|
637
|
-
.w-color-black4,
|
|
638
|
-
.w-color-black5,
|
|
639
|
-
.w-color-black6,
|
|
640
|
-
.w-color-black7,
|
|
641
|
-
.w-color-black8,
|
|
642
|
-
.w-color-black85,
|
|
643
|
-
.w-color-black9,
|
|
644
|
-
.w-color-white,
|
|
645
|
-
.w-color-red,
|
|
646
|
-
.w-color-blue,
|
|
647
|
-
.w-color-yellow,
|
|
648
|
-
.w-color-gray,
|
|
649
|
-
.w-color-green,
|
|
650
|
-
.w-color-green-min,
|
|
651
|
-
.w-color-orange,
|
|
652
|
-
.w-color-purple,
|
|
653
|
-
.w-color-pink,
|
|
654
|
-
.w-color-teal,
|
|
655
|
-
.w-color-cyan,
|
|
656
|
-
.w-color-brown,
|
|
657
|
-
.w-color-indigo,
|
|
658
|
-
.w-color-lime,
|
|
659
|
-
.w-color-amber,
|
|
660
|
-
.w-color-deep-orange,
|
|
661
|
-
.w-color-navy,
|
|
662
|
-
.w-color-olive,
|
|
663
|
-
.w-color-maroon,
|
|
664
|
-
.w-color-coral,
|
|
665
|
-
.w-color-turquoise,
|
|
666
|
-
.w-color-violet,
|
|
667
|
-
.w-color-gold,
|
|
668
|
-
.w-radius,
|
|
669
|
-
.w-radius-bl,
|
|
670
|
-
.w-radius-br,
|
|
671
|
-
.w-radius-tl,
|
|
672
|
-
.w-radius-tr
|
|
673
|
-
{
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
// 班牛旗帜颜色
|
|
677
|
-
.flag-color-gray {
|
|
678
|
-
color: #999999;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
.flag-color-red {
|
|
682
|
-
color: #EA3D3D;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
.flag-color-yellow {
|
|
686
|
-
color: #FFC60B;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
.flag-color-green {
|
|
690
|
-
color: #3ACB36;
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
.flag-color-blue {
|
|
694
|
-
color: #0664F0;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
.flag-color-purple {
|
|
698
|
-
color: #BA2FFF;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
.flag-color-orange {
|
|
702
|
-
color: #F48804;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
.flag-color-lightBlue {
|
|
706
|
-
color: #41B4FA;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.flag-color-lightPink {
|
|
710
|
-
color: #E5B6B6;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
.flag-color-bottleGreen {
|
|
714
|
-
color: #9BA217;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
.flag-color-peach {
|
|
718
|
-
color: #E4248E;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
// 青色(抖音的,在班牛没有这个颜色,班牛这边是深绿色)
|
|
722
|
-
.flag-color-cyan {
|
|
723
|
-
color: #9BA217;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
// 固定的不可变的UI统一图标颜色
|
|
727
|
-
.sIcon-worksheet {
|
|
728
|
-
color: #2783F2 !important;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.sIcon-workflow {
|
|
732
|
-
color: #722ed1 !important;
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
.sIcon-board {
|
|
736
|
-
color: #52C41A !important;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
.sIcon-folderOpen {
|
|
740
|
-
color: #FAAD14 !important;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
.sIcon-folderClose {
|
|
744
|
-
color: #FAAD14 !important;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
.sIcon-cooApp {
|
|
748
|
-
color: #ff4d4f !important;
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
/** =============================================
|
|
752
|
-
* 第三部分:Element UI 组件样式覆盖
|
|
753
|
-
* 说明:以下为覆盖 Element UI 组件的默认样式
|
|
754
|
-
* ============================================= */
|
|
755
|
-
//覆盖elementUI相关组件样式,写在最下面
|
|
756
|
-
.el-timeline.is-start {
|
|
757
|
-
padding-left: 0;
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
.e-clear-tabs-border {
|
|
761
|
-
.el-tabs__nav-wrap::after {
|
|
762
|
-
display: none;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
//Message 消息提醒样式重写
|
|
767
|
-
.el-message {
|
|
768
|
-
min-width: 0 !important;
|
|
769
|
-
padding: 10px 16px !important;
|
|
770
|
-
background-color: #fff !important;
|
|
771
|
-
border-radius: 4px !important;
|
|
772
|
-
border: none !important;
|
|
773
|
-
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
|
|
774
|
-
display: inline-flex !important;
|
|
775
|
-
align-items: center !important;
|
|
776
|
-
|
|
777
|
-
.el-message__icon {
|
|
778
|
-
flex-shrink: 0 !important;
|
|
779
|
-
font-size: 16px !important;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
.el-message__content {
|
|
783
|
-
font-size: 14px !important;
|
|
784
|
-
color: rgba(0, 0, 0, 0.85) !important;
|
|
785
|
-
line-height: 1.5715 !important;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
.el-message__closeBtn {
|
|
789
|
-
color: rgba(0, 0, 0, 0.45) !important;
|
|
790
|
-
font-size: 12px !important;
|
|
791
|
-
top: 50% !important;
|
|
792
|
-
transform: translateY(-50%) !important;
|
|
793
|
-
|
|
794
|
-
&:hover {
|
|
795
|
-
color: rgba(0, 0, 0, 0.75) !important;
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
//MessageBox.confirm 样式重写
|
|
801
|
-
.el-message-box__header {
|
|
802
|
-
margin-bottom: 0 !important;
|
|
803
|
-
padding: 15px !important;
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
.el-message-box__content {
|
|
807
|
-
padding: 15px !important;
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
.el-message-box__btns button:nth-child(2) {
|
|
811
|
-
margin-left: 15px !important;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
.el-message-box {
|
|
815
|
-
padding-bottom: 15px !important;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
.el-message-box__title {
|
|
819
|
-
color: #4D4D4D !important;
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
.el-button {
|
|
823
|
-
border-radius: 4px;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
/* 统一修改 element 走马灯组件样式 */
|
|
827
|
-
.el-carousel.el-carousel--horizontal {
|
|
828
|
-
border-radius: 18px;
|
|
829
|
-
overflow: hidden;
|
|
830
|
-
border: 1px solid #e4e7ed;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
.el-carousel__item {
|
|
834
|
-
border-radius: 18px;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
.el-carousel__indicator {
|
|
838
|
-
.el-carousel__button {
|
|
839
|
-
height: 8px;
|
|
840
|
-
width: 8px;
|
|
841
|
-
border-radius: 4px;
|
|
842
|
-
background: #d7d5d5;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
&.is-active {
|
|
846
|
-
.el-carousel__button {
|
|
847
|
-
background: #fff;
|
|
848
|
-
width: 24px;
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
//输入框圆角修改为8px
|
|
853
|
-
.el-input__wrapper{
|
|
854
|
-
border-radius: 8px;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
/*穿梭框圆角加大*/
|
|
858
|
-
.el-segmented {
|
|
859
|
-
--el-border-radius-base: 12px;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
/* Element Plus Dialog 样式修改 */
|
|
863
|
-
.el-dialog {
|
|
864
|
-
border-radius: 18px;
|
|
865
|
-
overflow: hidden;
|
|
866
|
-
margin-bottom: 0;
|
|
867
|
-
}
|
|
1
|
+
/** 关于 sass
|
|
2
|
+
* 完全兼容 CSS3
|
|
3
|
+
* 在 CSS 基础上增加变量、嵌套 (nesting)、混合 (mixins) 等功能
|
|
4
|
+
* 通过函数进行颜色值与属性值的运算
|
|
5
|
+
* 提供控制指令 (control directives)等高级功能
|
|
6
|
+
* 自定义输出格式
|
|
7
|
+
**/
|
|
8
|
+
|
|
9
|
+
//对所有元素,选择使用IE的怪异盒模型 wid = padding + wid;
|
|
10
|
+
* {
|
|
11
|
+
-webkit-box-sizing: border-box;
|
|
12
|
+
-moz-box-sizing: border-box;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
*:before, *:after {
|
|
17
|
+
-webkit-box-sizing: border-box;
|
|
18
|
+
-moz-box-sizing: border-box;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
input[type="radio"] {
|
|
23
|
+
-webkit-box-sizing: border-box;
|
|
24
|
+
-moz-box-sizing: border-box;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
padding: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
|
|
30
|
+
height: auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
input[type="search"] {
|
|
34
|
+
-webkit-box-sizing: content-box;
|
|
35
|
+
-moz-box-sizing: content-box;
|
|
36
|
+
box-sizing: content-box;
|
|
37
|
+
-webkit-appearance: textfield;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
//重写p标签样式 去掉margin-bottom
|
|
41
|
+
p {
|
|
42
|
+
margin-bottom: 0 !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
//改变浏览器滚动条默认样式,但其实我们引用了vue-scroll用来做模拟滚动条。
|
|
46
|
+
::-webkit-scrollbar {
|
|
47
|
+
width: 10px;
|
|
48
|
+
height: 10px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
::-webkit-scrollbar-track-piece {
|
|
52
|
+
-webkit-border-radius: 8px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
::-webkit-scrollbar-thumb:vertical {
|
|
56
|
+
height: 10px;
|
|
57
|
+
background-color: rgba(144, 147, 153, .3);
|
|
58
|
+
-webkit-border-radius: 6px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
::-webkit-scrollbar-thumb:horizontal {
|
|
62
|
+
width: 10px;
|
|
63
|
+
background-color: rgba(144, 147, 153, .3);
|
|
64
|
+
-webkit-border-radius: 6px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
//清除元素默认样式,选择默认字体
|
|
68
|
+
#app, html, body {
|
|
69
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans", "Noto Sans CJK Sc", "Microsoft YaHei", "Microsoft Jhenghei", sans-serif;
|
|
70
|
+
margin: 0;
|
|
71
|
+
position: relative;
|
|
72
|
+
height: 100%;
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
input, button {
|
|
77
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans", "Noto Sans CJK Sc", "Microsoft YaHei", "Microsoft Jhenghei", sans-serif;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
ul, li {
|
|
81
|
+
margin: 0;
|
|
82
|
+
padding: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
p {
|
|
86
|
+
margin-top: 0;
|
|
87
|
+
margin-bottom: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
input::-webkit-input-placeholder {
|
|
91
|
+
color: #A9AAAA;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
input::-moz-placeholder {
|
|
95
|
+
color: #A9AAAA;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
input:-moz-placeholder {
|
|
99
|
+
color: #A9AAAA;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
input:-ms-input-placeholder {
|
|
103
|
+
color: #A9AAAA;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// 处理input type = number的上下箭头
|
|
107
|
+
input::-webkit-outer-spin-button,
|
|
108
|
+
input::-webkit-inner-spin-button {
|
|
109
|
+
-webkit-appearance: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
input[type="number"] {
|
|
113
|
+
-moz-appearance: textfield;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
a:hover {
|
|
117
|
+
text-decoration: none;
|
|
118
|
+
text-underline: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
a:link {
|
|
122
|
+
text-decoration: none;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// 默认容器样式,占满屏幕,存在滚动条
|
|
126
|
+
.w-source {
|
|
127
|
+
position: relative;
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 100%;
|
|
130
|
+
overflow: auto;
|
|
131
|
+
background: #f5f5f7;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
//没有数据时提示文字的样式
|
|
135
|
+
.w-empty {
|
|
136
|
+
width: 100%;
|
|
137
|
+
line-height: 48px;
|
|
138
|
+
font-size: 12px;
|
|
139
|
+
color: #999;
|
|
140
|
+
text-align: center;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
//文案提示样式
|
|
144
|
+
.w-tip {
|
|
145
|
+
font-size: 14px;
|
|
146
|
+
padding: 10px;
|
|
147
|
+
border: 1px solid;
|
|
148
|
+
border-radius: 4px;
|
|
149
|
+
border-color: #eee;
|
|
150
|
+
background: #FAFAFA;
|
|
151
|
+
color: #666;
|
|
152
|
+
|
|
153
|
+
&.success {
|
|
154
|
+
border-color: #bee0ad;
|
|
155
|
+
background: #f0f9eb;
|
|
156
|
+
color: #67c23a;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&.info {
|
|
160
|
+
border-color: #b9d9fd;
|
|
161
|
+
background: #ecf5ff;
|
|
162
|
+
color: #409eff;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&.warn {
|
|
166
|
+
border-color: #f0c98e;
|
|
167
|
+
background: #fdf6ec;
|
|
168
|
+
color: #e6a23c;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&.err {
|
|
172
|
+
border-color: #f2c8c8;
|
|
173
|
+
background: #fef0f0;
|
|
174
|
+
color: #f56c6c;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&.no-border {
|
|
178
|
+
border: none;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&-num {
|
|
182
|
+
font-size: 14px;
|
|
183
|
+
font-weight: bold;
|
|
184
|
+
color: #409EFF;
|
|
185
|
+
margin-right: 6px;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
//弹性布局 wrap换行 默认是不换行
|
|
190
|
+
.w-flex-wrap {
|
|
191
|
+
display: flex;
|
|
192
|
+
display: -webkit-flex;
|
|
193
|
+
display: -moz-flex;
|
|
194
|
+
display: -ms-flexbox;
|
|
195
|
+
flex-wrap: wrap;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/*
|
|
199
|
+
左右方向
|
|
200
|
+
flex-start(默认值):左对齐
|
|
201
|
+
flex-end:右对齐
|
|
202
|
+
center: 居中
|
|
203
|
+
space-between:两端对齐,项目之间的间隔都相等。
|
|
204
|
+
space-around:每个项目两侧的间隔相等。所以,项目之间的间隔比项目与边框的间隔大一倍。
|
|
205
|
+
*/
|
|
206
|
+
//左右两端
|
|
207
|
+
.w-flex-between {
|
|
208
|
+
display: flex;
|
|
209
|
+
display: -webkit-flex;
|
|
210
|
+
display: -moz-flex;
|
|
211
|
+
display: -ms-flexbox;
|
|
212
|
+
justify-content: space-between;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
//左右靠左
|
|
216
|
+
.w-flex-left {
|
|
217
|
+
display: flex;
|
|
218
|
+
display: -webkit-flex;
|
|
219
|
+
display: -moz-flex;
|
|
220
|
+
display: -ms-flexbox;
|
|
221
|
+
justify-content: flex-start;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
//左右靠右
|
|
225
|
+
.w-flex-right {
|
|
226
|
+
display: flex;
|
|
227
|
+
display: -webkit-flex;
|
|
228
|
+
display: -moz-flex;
|
|
229
|
+
display: -ms-flexbox;
|
|
230
|
+
justify-content: flex-end;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
//横向居中,左右居中
|
|
234
|
+
.w-flex-lrCenter {
|
|
235
|
+
display: flex;
|
|
236
|
+
display: -webkit-flex;
|
|
237
|
+
display: -moz-flex;
|
|
238
|
+
display: -ms-flexbox;
|
|
239
|
+
justify-content: center;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/*
|
|
243
|
+
上下方向
|
|
244
|
+
flex-start:交叉轴的起点对齐。
|
|
245
|
+
flex-end:交叉轴的终点对齐。
|
|
246
|
+
center:交叉轴的中点对齐。
|
|
247
|
+
baseline: 项目的第一行文字的基线对齐。
|
|
248
|
+
stretch(默认值):如果项目未设置高度或设为auto,将占满整个容器的高度。
|
|
249
|
+
*/
|
|
250
|
+
//上下居中
|
|
251
|
+
.w-flex-center {
|
|
252
|
+
display: flex;
|
|
253
|
+
align-items: center;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
//上下靠上
|
|
257
|
+
.w-flex-top {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: flex-start;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
//上下靠下
|
|
263
|
+
.w-flex-bottom {
|
|
264
|
+
display: flex;
|
|
265
|
+
align-items: flex-end;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
//上下靠下
|
|
269
|
+
.w-flex-baseline {
|
|
270
|
+
display: flex;
|
|
271
|
+
align-items: baseline;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// 数字、字母超出换行
|
|
275
|
+
.w-word-wrap {
|
|
276
|
+
word-wrap: break-word
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.clearFix:after {
|
|
280
|
+
display: block;
|
|
281
|
+
content: "";
|
|
282
|
+
clear: both;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.w-text-over {
|
|
286
|
+
white-space: nowrap;
|
|
287
|
+
overflow: hidden;
|
|
288
|
+
text-overflow: ellipsis;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.w-text-over-two {
|
|
292
|
+
overflow: hidden;
|
|
293
|
+
text-overflow: ellipsis;
|
|
294
|
+
display: -webkit-box;
|
|
295
|
+
-webkit-line-clamp: 2;
|
|
296
|
+
line-clamp: 2;
|
|
297
|
+
-webkit-box-orient: vertical;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.w-text-over-three {
|
|
301
|
+
overflow: hidden;
|
|
302
|
+
text-overflow: ellipsis;
|
|
303
|
+
display: -webkit-box;
|
|
304
|
+
-webkit-line-clamp: 3;
|
|
305
|
+
line-clamp: 3;
|
|
306
|
+
-webkit-box-orient: vertical;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.w-text-center {
|
|
310
|
+
text-align: center;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.w-text-right {
|
|
314
|
+
text-align: right;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.w-text-left {
|
|
318
|
+
text-align: left;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.w-float-left {
|
|
322
|
+
float: left;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.w-float-right {
|
|
326
|
+
float: right;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.w-default-wrap {
|
|
330
|
+
position: relative;
|
|
331
|
+
width: 100%;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.w-default-hover:hover {
|
|
335
|
+
color: #2d8cf0;
|
|
336
|
+
cursor: pointer;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.w-cursor-pointer {
|
|
340
|
+
cursor: pointer;
|
|
341
|
+
outline: none;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* 动态生成字重类
|
|
346
|
+
* 范围:100-900,步进值100
|
|
347
|
+
* 示例:
|
|
348
|
+
* .w-font-weight400 { font-weight: 400 !important; } // Regular
|
|
349
|
+
* .w-font-weight700 { font-weight: 700 !important; } // Bold
|
|
350
|
+
*/
|
|
351
|
+
@for $i from 1 through 9 {
|
|
352
|
+
.w-font-weight#{$i * 100} {
|
|
353
|
+
font-weight: #{$i * 100} !important;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.w-font-weight {
|
|
358
|
+
font-weight: bold;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
//添加下划线
|
|
362
|
+
.w-text-underline {
|
|
363
|
+
text-decoration: underline
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
// 定义颜色变量映射
|
|
367
|
+
$colors: (
|
|
368
|
+
'black': black,
|
|
369
|
+
'black3': #333333,
|
|
370
|
+
'black4': #444444,
|
|
371
|
+
'black5': #555555,
|
|
372
|
+
'black6': #666666,
|
|
373
|
+
'black7': #777777,
|
|
374
|
+
'black8': #888888,
|
|
375
|
+
'black85': rgba(0, 0, 0, 0.85),
|
|
376
|
+
'black9': #999,
|
|
377
|
+
'white': #FFFFFF,
|
|
378
|
+
'red': #FF5F5F,
|
|
379
|
+
'blue': #409EFF,
|
|
380
|
+
'yellow': #F2DA04,
|
|
381
|
+
'gray': #999999,
|
|
382
|
+
'green': #3d8050,
|
|
383
|
+
'green-min': #50B34B,
|
|
384
|
+
'deep-orange': #FF5722,
|
|
385
|
+
'orange': #FA7D00,
|
|
386
|
+
'purple': #b662ff,
|
|
387
|
+
'pink': #FF6B9A,
|
|
388
|
+
'teal': #20B2AA,
|
|
389
|
+
'cyan': #1BCDDF,
|
|
390
|
+
'brown': #A5673F,
|
|
391
|
+
'indigo': #6610F2,
|
|
392
|
+
'lime': #CDDC39,
|
|
393
|
+
'amber': #FFC107,
|
|
394
|
+
'navy': #001F3F,
|
|
395
|
+
'olive': #808000,
|
|
396
|
+
'maroon': #800000,
|
|
397
|
+
'coral': #FF7F50,
|
|
398
|
+
'turquoise': #40E0D0,
|
|
399
|
+
'violet': #EE82EE,
|
|
400
|
+
'gold': #FFD700
|
|
401
|
+
);
|
|
402
|
+
|
|
403
|
+
// 使用@each生成黑色系列颜色类
|
|
404
|
+
@each $name, $color in $colors {
|
|
405
|
+
.w-color-#{$name} {
|
|
406
|
+
@if $name == 'black' {
|
|
407
|
+
color: $color !important;
|
|
408
|
+
} @else {
|
|
409
|
+
color: $color;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* 动态生成边框类
|
|
416
|
+
* 样式:solid(实线)、dashed(虚线)、dotted(点线)
|
|
417
|
+
* 方向:all(四周)、top、right、bottom、left
|
|
418
|
+
* 粗细:1px(普通)、2px(粗体)
|
|
419
|
+
* 示例:
|
|
420
|
+
* .w-border-solid { border: 1px solid #E9E9E9; }
|
|
421
|
+
* .w-border-dashed-top { border-top: 1px dashed #E9E9E9; }
|
|
422
|
+
* .w-border-solid-bold-left { border-left: 2px solid #E9E9E9; }
|
|
423
|
+
*/
|
|
424
|
+
// 定义边框样式映射
|
|
425
|
+
$border-styles: (
|
|
426
|
+
'solid': solid,
|
|
427
|
+
'dashed': dashed,
|
|
428
|
+
'dotted': dotted
|
|
429
|
+
);
|
|
430
|
+
|
|
431
|
+
// 定义边框方向映射
|
|
432
|
+
$border-directions: (
|
|
433
|
+
'': 'all',
|
|
434
|
+
'-top': top,
|
|
435
|
+
'-right': right,
|
|
436
|
+
'-bottom': bottom,
|
|
437
|
+
'-left': left
|
|
438
|
+
);
|
|
439
|
+
|
|
440
|
+
// 生成边框类
|
|
441
|
+
@each $style-name, $style in $border-styles {
|
|
442
|
+
@each $direction-suffix, $direction in $border-directions {
|
|
443
|
+
// 1px边框
|
|
444
|
+
.w-border-#{$style-name}#{$direction-suffix} {
|
|
445
|
+
@if $direction == 'all' {
|
|
446
|
+
border: 1px #{$style} #E9E9E9;
|
|
447
|
+
} @else {
|
|
448
|
+
border-#{$direction}: 1px #{$style} #E9E9E9;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
@for $i from 2 through 10 {
|
|
453
|
+
.w-border-#{$style-name}#{$direction-suffix}#{$i} {
|
|
454
|
+
@if $direction == 'all' {
|
|
455
|
+
border: #{$i}px #{$style} #E9E9E9;
|
|
456
|
+
} @else {
|
|
457
|
+
border-#{$direction}: #{$i}px #{$style} #E9E9E9;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
//0到100的循环生成类
|
|
466
|
+
@for $i from 0 through 100 {
|
|
467
|
+
/**
|
|
468
|
+
* 动态生成flex间隔类
|
|
469
|
+
* 示例:
|
|
470
|
+
* .w-flex-gap10 { gap: 10px !important; }
|
|
471
|
+
* .w-flex-column-gap20 { column-gap: 20px !important; }
|
|
472
|
+
* .w-flex-row-gap15 { row-gap: 15px !important; }
|
|
473
|
+
*/
|
|
474
|
+
// 普通间隔(行列间隔相同)
|
|
475
|
+
.w-flex-gap#{$i} {
|
|
476
|
+
display: flex;
|
|
477
|
+
gap: #{$i}px !important;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
// 列间隔(水平方向)
|
|
481
|
+
.w-flex-column-gap#{$i} {
|
|
482
|
+
display: flex;
|
|
483
|
+
column-gap: #{$i}px !important;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
// 行间隔(垂直方向)
|
|
487
|
+
.w-flex-row-gap#{$i} {
|
|
488
|
+
display: flex;
|
|
489
|
+
row-gap: #{$i}px !important;
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* 动态生成行高类
|
|
493
|
+
* 示例:
|
|
494
|
+
* .w-line-height32 { line-height: 32px !important; }
|
|
495
|
+
* .w-line-height40 { line-height: 40px !important; }
|
|
496
|
+
*/
|
|
497
|
+
.w-line-height#{$i} {
|
|
498
|
+
line-height: #{$i}px !important;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* 动态生成圆角类
|
|
502
|
+
* 示例:
|
|
503
|
+
* .w-radius20 { radius: 20px !important; }
|
|
504
|
+
*/
|
|
505
|
+
|
|
506
|
+
.w-radius#{$i} {
|
|
507
|
+
border-radius: #{$i}px !important;
|
|
508
|
+
}
|
|
509
|
+
.w-radius-bl#{$i} {
|
|
510
|
+
border-bottom-left-radius: #{$i}px !important;
|
|
511
|
+
}
|
|
512
|
+
.w-radius-br#{$i} {
|
|
513
|
+
border-bottom-right-radius: #{$i}px !important;
|
|
514
|
+
}
|
|
515
|
+
.w-radius-tl#{$i} {
|
|
516
|
+
border-top-left-radius: #{$i}px !important;
|
|
517
|
+
}
|
|
518
|
+
.w-radius-tr#{$i} {
|
|
519
|
+
border-top-right-radius: #{$i}px !important;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* 动态生成padding和margin类
|
|
523
|
+
* 示例:
|
|
524
|
+
* .w-padding20 { padding: 20px !important; }
|
|
525
|
+
* .w-padding-left30 { padding-left: 30px !important; }
|
|
526
|
+
* .w-margin15 { margin: 15px !important; }
|
|
527
|
+
* .w-margin-top25 { margin-top: 25px !important; }
|
|
528
|
+
*/
|
|
529
|
+
// padding类
|
|
530
|
+
.w-padding#{$i} {
|
|
531
|
+
padding: #{$i}px !important;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.w-padding-left#{$i} {
|
|
535
|
+
padding-left: #{$i}px !important;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.w-padding-right#{$i} {
|
|
539
|
+
padding-right: #{$i}px !important;
|
|
540
|
+
}
|
|
541
|
+
.w-padding-lr#{$i} {
|
|
542
|
+
padding-left: #{$i}px !important;
|
|
543
|
+
padding-right: #{$i}px !important;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.w-padding-top#{$i} {
|
|
547
|
+
padding-top: #{$i}px !important;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.w-padding-bottom#{$i} {
|
|
551
|
+
padding-bottom: #{$i}px !important;
|
|
552
|
+
}
|
|
553
|
+
.w-padding-tb#{$i} {
|
|
554
|
+
padding-top: #{$i}px !important;
|
|
555
|
+
padding-bottom: #{$i}px !important;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
// margin类
|
|
559
|
+
.w-margin#{$i} {
|
|
560
|
+
margin: #{$i}px !important;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.w-margin-left#{$i} {
|
|
564
|
+
margin-left: #{$i}px !important;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.w-margin-right#{$i} {
|
|
568
|
+
margin-right: #{$i}px !important;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.w-margin-lr#{$i} {
|
|
572
|
+
margin-left: #{$i}px !important;
|
|
573
|
+
margin-right: #{$i}px !important;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.w-margin-top#{$i} {
|
|
577
|
+
margin-top: #{$i}px !important;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.w-margin-bottom#{$i} {
|
|
581
|
+
margin-bottom: #{$i}px !important;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.w-margin-tb#{$i} {
|
|
585
|
+
margin-top: #{$i}px !important;
|
|
586
|
+
margin-bottom: #{$i}px !important;
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* 动态生成字体大小类
|
|
590
|
+
* 示例:
|
|
591
|
+
* .w-font14 { font-size: 14px !important; }
|
|
592
|
+
* .w-font24 { font-size: 24px !important; }
|
|
593
|
+
*/
|
|
594
|
+
.w-font#{$i} {
|
|
595
|
+
font-size: #{$i}px !important;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
// 基础类名声明(用于编辑器自动补全)
|
|
600
|
+
.w-padding,
|
|
601
|
+
.w-padding-left,
|
|
602
|
+
.w-padding-right,
|
|
603
|
+
.w-padding-lr,
|
|
604
|
+
.w-padding-top,
|
|
605
|
+
.w-padding-bottom,
|
|
606
|
+
.w-padding-tb,
|
|
607
|
+
.w-margin,
|
|
608
|
+
.w-margin-left,
|
|
609
|
+
.w-margin-right,
|
|
610
|
+
.w-margin-top,
|
|
611
|
+
.w-margin-bottom,
|
|
612
|
+
.w-margin-lr,
|
|
613
|
+
.w-margin-tb,
|
|
614
|
+
.w-font-weight,
|
|
615
|
+
.w-color-black,
|
|
616
|
+
.w-line-height,
|
|
617
|
+
.w-border-solid,
|
|
618
|
+
.w-border-solid-top,
|
|
619
|
+
.w-border-solid-right,
|
|
620
|
+
.w-border-solid-bottom,
|
|
621
|
+
.w-border-solid-left,
|
|
622
|
+
.w-border-dashed,
|
|
623
|
+
.w-border-dashed-top,
|
|
624
|
+
.w-border-dashed-right,
|
|
625
|
+
.w-border-dashed-bottom,
|
|
626
|
+
.w-border-dashed-left,
|
|
627
|
+
.w-border-dotted,
|
|
628
|
+
.w-border-dotted-top,
|
|
629
|
+
.w-border-dotted-right,
|
|
630
|
+
.w-border-dotted-bottom,
|
|
631
|
+
.w-border-dotted-left,
|
|
632
|
+
.w-flex-gap,
|
|
633
|
+
.w-flex-column-gap,
|
|
634
|
+
.w-flex-row-gap,
|
|
635
|
+
.w-color-black,
|
|
636
|
+
.w-color-black3,
|
|
637
|
+
.w-color-black4,
|
|
638
|
+
.w-color-black5,
|
|
639
|
+
.w-color-black6,
|
|
640
|
+
.w-color-black7,
|
|
641
|
+
.w-color-black8,
|
|
642
|
+
.w-color-black85,
|
|
643
|
+
.w-color-black9,
|
|
644
|
+
.w-color-white,
|
|
645
|
+
.w-color-red,
|
|
646
|
+
.w-color-blue,
|
|
647
|
+
.w-color-yellow,
|
|
648
|
+
.w-color-gray,
|
|
649
|
+
.w-color-green,
|
|
650
|
+
.w-color-green-min,
|
|
651
|
+
.w-color-orange,
|
|
652
|
+
.w-color-purple,
|
|
653
|
+
.w-color-pink,
|
|
654
|
+
.w-color-teal,
|
|
655
|
+
.w-color-cyan,
|
|
656
|
+
.w-color-brown,
|
|
657
|
+
.w-color-indigo,
|
|
658
|
+
.w-color-lime,
|
|
659
|
+
.w-color-amber,
|
|
660
|
+
.w-color-deep-orange,
|
|
661
|
+
.w-color-navy,
|
|
662
|
+
.w-color-olive,
|
|
663
|
+
.w-color-maroon,
|
|
664
|
+
.w-color-coral,
|
|
665
|
+
.w-color-turquoise,
|
|
666
|
+
.w-color-violet,
|
|
667
|
+
.w-color-gold,
|
|
668
|
+
.w-radius,
|
|
669
|
+
.w-radius-bl,
|
|
670
|
+
.w-radius-br,
|
|
671
|
+
.w-radius-tl,
|
|
672
|
+
.w-radius-tr
|
|
673
|
+
{
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
// 班牛旗帜颜色
|
|
677
|
+
.flag-color-gray {
|
|
678
|
+
color: #999999;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.flag-color-red {
|
|
682
|
+
color: #EA3D3D;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.flag-color-yellow {
|
|
686
|
+
color: #FFC60B;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.flag-color-green {
|
|
690
|
+
color: #3ACB36;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.flag-color-blue {
|
|
694
|
+
color: #0664F0;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.flag-color-purple {
|
|
698
|
+
color: #BA2FFF;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.flag-color-orange {
|
|
702
|
+
color: #F48804;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.flag-color-lightBlue {
|
|
706
|
+
color: #41B4FA;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.flag-color-lightPink {
|
|
710
|
+
color: #E5B6B6;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.flag-color-bottleGreen {
|
|
714
|
+
color: #9BA217;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.flag-color-peach {
|
|
718
|
+
color: #E4248E;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
// 青色(抖音的,在班牛没有这个颜色,班牛这边是深绿色)
|
|
722
|
+
.flag-color-cyan {
|
|
723
|
+
color: #9BA217;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
// 固定的不可变的UI统一图标颜色
|
|
727
|
+
.sIcon-worksheet {
|
|
728
|
+
color: #2783F2 !important;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.sIcon-workflow {
|
|
732
|
+
color: #722ed1 !important;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.sIcon-board {
|
|
736
|
+
color: #52C41A !important;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.sIcon-folderOpen {
|
|
740
|
+
color: #FAAD14 !important;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.sIcon-folderClose {
|
|
744
|
+
color: #FAAD14 !important;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.sIcon-cooApp {
|
|
748
|
+
color: #ff4d4f !important;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/** =============================================
|
|
752
|
+
* 第三部分:Element UI 组件样式覆盖
|
|
753
|
+
* 说明:以下为覆盖 Element UI 组件的默认样式
|
|
754
|
+
* ============================================= */
|
|
755
|
+
//覆盖elementUI相关组件样式,写在最下面
|
|
756
|
+
.el-timeline.is-start {
|
|
757
|
+
padding-left: 0;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.e-clear-tabs-border {
|
|
761
|
+
.el-tabs__nav-wrap::after {
|
|
762
|
+
display: none;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
//Message 消息提醒样式重写
|
|
767
|
+
.el-message {
|
|
768
|
+
min-width: 0 !important;
|
|
769
|
+
padding: 10px 16px !important;
|
|
770
|
+
background-color: #fff !important;
|
|
771
|
+
border-radius: 4px !important;
|
|
772
|
+
border: none !important;
|
|
773
|
+
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
|
|
774
|
+
display: inline-flex !important;
|
|
775
|
+
align-items: center !important;
|
|
776
|
+
|
|
777
|
+
.el-message__icon {
|
|
778
|
+
flex-shrink: 0 !important;
|
|
779
|
+
font-size: 16px !important;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.el-message__content {
|
|
783
|
+
font-size: 14px !important;
|
|
784
|
+
color: rgba(0, 0, 0, 0.85) !important;
|
|
785
|
+
line-height: 1.5715 !important;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.el-message__closeBtn {
|
|
789
|
+
color: rgba(0, 0, 0, 0.45) !important;
|
|
790
|
+
font-size: 12px !important;
|
|
791
|
+
top: 50% !important;
|
|
792
|
+
transform: translateY(-50%) !important;
|
|
793
|
+
|
|
794
|
+
&:hover {
|
|
795
|
+
color: rgba(0, 0, 0, 0.75) !important;
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
//MessageBox.confirm 样式重写
|
|
801
|
+
.el-message-box__header {
|
|
802
|
+
margin-bottom: 0 !important;
|
|
803
|
+
padding: 15px !important;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.el-message-box__content {
|
|
807
|
+
padding: 15px !important;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.el-message-box__btns button:nth-child(2) {
|
|
811
|
+
margin-left: 15px !important;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.el-message-box {
|
|
815
|
+
padding-bottom: 15px !important;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.el-message-box__title {
|
|
819
|
+
color: #4D4D4D !important;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.el-button {
|
|
823
|
+
border-radius: 4px;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/* 统一修改 element 走马灯组件样式 */
|
|
827
|
+
.el-carousel.el-carousel--horizontal {
|
|
828
|
+
border-radius: 18px;
|
|
829
|
+
overflow: hidden;
|
|
830
|
+
border: 1px solid #e4e7ed;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.el-carousel__item {
|
|
834
|
+
border-radius: 18px;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.el-carousel__indicator {
|
|
838
|
+
.el-carousel__button {
|
|
839
|
+
height: 8px;
|
|
840
|
+
width: 8px;
|
|
841
|
+
border-radius: 4px;
|
|
842
|
+
background: #d7d5d5;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
&.is-active {
|
|
846
|
+
.el-carousel__button {
|
|
847
|
+
background: #fff;
|
|
848
|
+
width: 24px;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
//输入框圆角修改为8px
|
|
853
|
+
.el-input__wrapper{
|
|
854
|
+
border-radius: 8px;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/*穿梭框圆角加大*/
|
|
858
|
+
.el-segmented {
|
|
859
|
+
--el-border-radius-base: 12px;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
/* Element Plus Dialog 样式修改 */
|
|
863
|
+
.el-dialog {
|
|
864
|
+
border-radius: 18px;
|
|
865
|
+
overflow: hidden;
|
|
866
|
+
margin-bottom: 0;
|
|
867
|
+
}
|