@bytenew/bn-bus-ui 1.1.471 → 1.1.473

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