vsyswin-ui 0.3.1 → 0.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/img/pick-left.61cd74f4.png +0 -0
- package/lib/vsyswin-ui.common.js +623 -402
- package/lib/vsyswin-ui.common.js.map +1 -1
- package/lib/vsyswin-ui.umd.js +623 -402
- package/lib/vsyswin-ui.umd.js.map +1 -1
- package/lib/vsyswin-ui.umd.min.js +49 -49
- package/lib/vsyswin-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/button-ellipsis/src/button-container.vue +22 -8
- package/packages/drag-set/src/dragSet.vue +31 -15
- package/packages/full-dialog/index.js +10 -0
- package/packages/full-dialog/src/full-dialog.vue +166 -0
- package/packages/index.js +4 -2
- package/packages/layout/src/layout.vue +34 -25
- package/packages/layout/src/pick-left.png +0 -0
- package/packages/layout/src/pick-right.png +0 -0
- package/packages/newSearchBar/src/newSearchBar.vue +1 -2
- package/packages/search-bar/src/search-bar.scss +30 -16
- package/packages/search-tree/src/zTree.vue +8 -5
- package/packages/select-project/h.png +0 -0
- package/packages/select-project/src/select-project.vue +34 -4
- package/packages/styles/common/variables.scss +1 -0
- package/packages/styles/common-old.scss +228 -99
- package/packages/styles/common.scss +631 -418
- package/packages/table/src/table.vue +644 -661
|
@@ -49,24 +49,96 @@ input:focus {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/* 一些共用的样式 */
|
|
52
|
-
|
|
53
52
|
.main-container {
|
|
54
53
|
height: 100%;
|
|
55
54
|
overflow: hidden;
|
|
56
|
-
background: #
|
|
57
|
-
padding:
|
|
55
|
+
background: #f5f6fa;
|
|
56
|
+
padding: 24px;
|
|
58
57
|
box-sizing: border-box;
|
|
59
|
-
|
|
58
|
+
display: flex;
|
|
59
|
+
.container-left {
|
|
60
|
+
background-color: #fff;
|
|
61
|
+
border-radius: 8px;
|
|
62
|
+
margin-right: 16px;
|
|
63
|
+
height: 100%;
|
|
64
|
+
flex-shrink: 0;
|
|
65
|
+
position: relative;
|
|
66
|
+
|
|
67
|
+
.pick-left {
|
|
68
|
+
position: absolute;
|
|
69
|
+
width: 28px;
|
|
70
|
+
height: 79px;
|
|
71
|
+
right: -16px;
|
|
72
|
+
top: 50%;
|
|
73
|
+
margin-top: -34px;
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
}
|
|
76
|
+
.west-tree-box {
|
|
77
|
+
/* 左侧树盒子 */
|
|
78
|
+
width: 260px;
|
|
79
|
+
height: 100%;
|
|
80
|
+
// overflow-x: scroll;
|
|
81
|
+
position: relative;
|
|
82
|
+
transition: all 0.5s;
|
|
83
|
+
.west-tree-content {
|
|
84
|
+
position: absolute;
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: 100%;
|
|
87
|
+
padding: 0;
|
|
88
|
+
overflow-x: hidden;
|
|
89
|
+
overflow-y: auto;
|
|
90
|
+
box-sizing: border-box;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
.container-right {
|
|
95
|
+
flex: 1;
|
|
96
|
+
height: 100%;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
position: relative;
|
|
101
|
+
|
|
102
|
+
.container-page-hd {
|
|
103
|
+
margin-bottom: 16px;
|
|
104
|
+
background-color: #fff;
|
|
105
|
+
border-top-left-radius: 8px;
|
|
106
|
+
border-top-right-radius: 8px;
|
|
107
|
+
|
|
108
|
+
.page-hd-others {
|
|
109
|
+
padding: 0 20px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
60
112
|
.bd {
|
|
61
|
-
height:
|
|
113
|
+
height: 0;
|
|
114
|
+
flex: 1;
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-direction: column;
|
|
62
118
|
}
|
|
63
119
|
}
|
|
120
|
+
.pick-right {
|
|
121
|
+
position: absolute;
|
|
122
|
+
width: 28px;
|
|
123
|
+
height: 79px;
|
|
124
|
+
right: -33px;
|
|
125
|
+
top: 50%;
|
|
126
|
+
margin-top: -34px;
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
}
|
|
64
129
|
.hd {
|
|
65
|
-
height: 44px;
|
|
130
|
+
// height: 44px;
|
|
131
|
+
background: #fff;
|
|
66
132
|
display: flex;
|
|
67
|
-
padding:
|
|
133
|
+
padding: 20px;
|
|
68
134
|
align-items: center;
|
|
69
135
|
justify-content: space-between;
|
|
136
|
+
border-bottom: 1px solid #f1f1f1;
|
|
137
|
+
border-radius: 8px 8px 0 0;
|
|
138
|
+
-webkit-border-radius: 8px 8px 0 0;
|
|
139
|
+
-moz-border-radius: 8px 8px 0 0;
|
|
140
|
+
-ms-border-radius: 8px 8px 0 0;
|
|
141
|
+
-o-border-radius: 8px 8px 0 0;
|
|
70
142
|
> h2 {
|
|
71
143
|
font-size: 14px;
|
|
72
144
|
margin: 0;
|
|
@@ -80,69 +152,29 @@ input:focus {
|
|
|
80
152
|
}
|
|
81
153
|
}
|
|
82
154
|
.bd {
|
|
83
|
-
/* 本来想使用flex布局,但是vxe-table支持不友好,还是需要改成 calc计算的方式 */
|
|
84
|
-
height: calc(100% - 64px);
|
|
85
|
-
padding: 4px 20px 10px;
|
|
86
155
|
box-sizing: border-box;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
display: flex;
|
|
92
|
-
}
|
|
156
|
+
// 内容页的背景,内容页自己加
|
|
157
|
+
// background: linear-gradient(to bottom, #f5f6fa, #fff 52px);
|
|
158
|
+
// border-bottom-left-radius: 8px;
|
|
159
|
+
// border-bottom-right-radius: 8px;
|
|
93
160
|
.con-main {
|
|
94
|
-
height:
|
|
161
|
+
height: 100%;
|
|
95
162
|
.con-scroll-wrapper {
|
|
96
163
|
height: 100%;
|
|
97
164
|
overflow: hidden;
|
|
98
165
|
}
|
|
99
166
|
}
|
|
100
|
-
.west-tree-box {
|
|
101
|
-
/* 左侧树盒子 */
|
|
102
|
-
width: 260px;
|
|
103
|
-
height: 100%;
|
|
104
|
-
background: #fff;
|
|
105
|
-
border-right: 1px solid #e3e3e3;
|
|
106
|
-
// overflow-x: scroll;
|
|
107
|
-
position: relative;
|
|
108
|
-
transition: all 0.5s;
|
|
109
|
-
.west-tree-content {
|
|
110
|
-
position: absolute;
|
|
111
|
-
width: 100%;
|
|
112
|
-
height: 100%;
|
|
113
|
-
padding: 0;
|
|
114
|
-
overflow-x: hidden;
|
|
115
|
-
overflow-y: auto;
|
|
116
|
-
box-sizing: border-box;
|
|
117
|
-
}
|
|
118
|
-
.pick-left {
|
|
119
|
-
position: absolute;
|
|
120
|
-
width: 21px;
|
|
121
|
-
height: 54px;
|
|
122
|
-
right: 0;
|
|
123
|
-
top: 50%;
|
|
124
|
-
margin-top: -27px;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
167
|
.east-content {
|
|
129
168
|
/* 右侧表格内容区域盒子 */
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
169
|
+
background-color: #fff;
|
|
170
|
+
border-radius: 0px 0px 8px 8px;
|
|
171
|
+
padding: 20px;
|
|
133
172
|
height: 100%;
|
|
134
|
-
padding: 4px 20px 10px;
|
|
135
173
|
box-sizing: border-box;
|
|
136
174
|
transition: all 0.5s;
|
|
137
175
|
position: relative;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
width: 21px;
|
|
141
|
-
height: 54px;
|
|
142
|
-
left: 0;
|
|
143
|
-
top: 50%;
|
|
144
|
-
margin-top: -27px;
|
|
145
|
-
cursor: pointer;
|
|
176
|
+
&.no-padding {
|
|
177
|
+
padding: 0;
|
|
146
178
|
}
|
|
147
179
|
}
|
|
148
180
|
}
|
|
@@ -160,33 +192,41 @@ input:focus {
|
|
|
160
192
|
width: 260px;
|
|
161
193
|
height: 100%;
|
|
162
194
|
background: #fff;
|
|
163
|
-
border-right: 1px solid #e3e3e3;
|
|
195
|
+
// border-right: 1px solid #e3e3e3;
|
|
164
196
|
// overflow-x: scroll;
|
|
165
197
|
position: relative;
|
|
166
198
|
transition: all 0.5s;
|
|
199
|
+
border-radius: 0px 0px 8px 8px;
|
|
200
|
+
margin-right: 16px;
|
|
167
201
|
.pick-left {
|
|
168
202
|
position: absolute;
|
|
169
|
-
width:
|
|
170
|
-
height:
|
|
171
|
-
right:
|
|
203
|
+
width: 121px;
|
|
204
|
+
height: 63px;
|
|
205
|
+
right: -80px;
|
|
172
206
|
top: 50%;
|
|
173
|
-
margin-top: -
|
|
207
|
+
margin-top: -32px;
|
|
174
208
|
cursor: pointer;
|
|
209
|
+
transform: rotate(90deg);
|
|
210
|
+
z-index: 10;
|
|
175
211
|
}
|
|
176
212
|
}
|
|
177
213
|
.east-content {
|
|
178
214
|
/* 右侧表格内容区域盒子 */
|
|
179
215
|
height: 100%;
|
|
180
216
|
transition: all 0.5s;
|
|
217
|
+
background-color: #fff;
|
|
181
218
|
position: relative;
|
|
219
|
+
border-radius: 0px 0px 8px 8px;
|
|
182
220
|
.pick-right {
|
|
183
221
|
position: absolute;
|
|
184
|
-
width:
|
|
185
|
-
height:
|
|
186
|
-
left:
|
|
222
|
+
width: 121px;
|
|
223
|
+
height: 63px;
|
|
224
|
+
left: -40px;
|
|
187
225
|
top: 50%;
|
|
188
|
-
margin-top: -
|
|
226
|
+
margin-top: -32px;
|
|
189
227
|
cursor: pointer;
|
|
228
|
+
transform: rotate(90deg);
|
|
229
|
+
z-index: 100;
|
|
190
230
|
}
|
|
191
231
|
}
|
|
192
232
|
.tab-bd {
|
|
@@ -225,12 +265,11 @@ input:focus {
|
|
|
225
265
|
}
|
|
226
266
|
}
|
|
227
267
|
.sub-hd {
|
|
228
|
-
height: 44px;
|
|
229
268
|
display: flex;
|
|
230
|
-
padding:
|
|
269
|
+
padding: 20px;
|
|
231
270
|
align-items: center;
|
|
232
271
|
justify-content: space-between;
|
|
233
|
-
background-color:
|
|
272
|
+
background-color: #fff;
|
|
234
273
|
> h2 {
|
|
235
274
|
font-size: 14px;
|
|
236
275
|
margin: 0;
|
|
@@ -261,26 +300,62 @@ input:focus {
|
|
|
261
300
|
}
|
|
262
301
|
}
|
|
263
302
|
}
|
|
303
|
+
.syswin-page-tabs {
|
|
304
|
+
.el-tabs__header {
|
|
305
|
+
margin-bottom: 0;
|
|
306
|
+
.el-tabs__nav-wrap::after {
|
|
307
|
+
height: 0;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
.bg-white {
|
|
312
|
+
background-color: #fff;
|
|
313
|
+
}
|
|
314
|
+
.page-content-bg {
|
|
315
|
+
background-color: #fff;
|
|
316
|
+
border-bottom-left-radius: 8px;
|
|
317
|
+
border-bottom-right-radius: 8px;
|
|
318
|
+
}
|
|
319
|
+
.page-content-bg-linear {
|
|
320
|
+
background: linear-gradient(180deg, #f5f6fa, #fff 52px);
|
|
321
|
+
border-bottom-left-radius: 8px;
|
|
322
|
+
border-bottom-right-radius: 8px;
|
|
323
|
+
}
|
|
264
324
|
|
|
265
|
-
.title-tabs
|
|
325
|
+
.title-tabs,
|
|
326
|
+
.syswin-top-tabs {
|
|
266
327
|
// 自定义的tabs
|
|
267
328
|
&.el-tabs {
|
|
268
|
-
height:
|
|
329
|
+
height: 22px !important;
|
|
269
330
|
.el-tabs__header {
|
|
270
|
-
|
|
271
|
-
// padding-left: 20px;
|
|
272
|
-
padding-right: 20px;
|
|
331
|
+
margin: 0;
|
|
273
332
|
.el-tabs__active-bar {
|
|
274
|
-
|
|
333
|
+
display: none;
|
|
275
334
|
}
|
|
276
335
|
.el-tabs__item {
|
|
277
|
-
height:
|
|
278
|
-
line-height:
|
|
279
|
-
font-weight:
|
|
336
|
+
height: 22px;
|
|
337
|
+
line-height: 22px;
|
|
338
|
+
font-weight: 400;
|
|
339
|
+
font-size: 16px;
|
|
340
|
+
color: #888888;
|
|
341
|
+
position: relative;
|
|
342
|
+
&::after {
|
|
343
|
+
content: '';
|
|
344
|
+
width: 1px;
|
|
345
|
+
height: 12px;
|
|
346
|
+
background-color: #888;
|
|
347
|
+
position: absolute;
|
|
348
|
+
right: 0;
|
|
349
|
+
top: 5px;
|
|
350
|
+
}
|
|
280
351
|
&.is-active,
|
|
281
352
|
&:hover {
|
|
353
|
+
font-weight: 600;
|
|
282
354
|
color: $primary-color;
|
|
283
355
|
}
|
|
356
|
+
&:last-child::after {
|
|
357
|
+
display: none;
|
|
358
|
+
}
|
|
284
359
|
}
|
|
285
360
|
.el-tabs__nav-wrap::after {
|
|
286
361
|
background-color: transparent;
|
|
@@ -306,13 +381,15 @@ input:focus {
|
|
|
306
381
|
padding-left: 12px;
|
|
307
382
|
padding-right: 10px;
|
|
308
383
|
color: #fff;
|
|
384
|
+
border-color: transparent !important;
|
|
385
|
+
background-color: transparent !important;
|
|
309
386
|
}
|
|
310
387
|
}
|
|
311
388
|
.el-input__icon {
|
|
312
389
|
line-height: 32px;
|
|
313
390
|
}
|
|
314
391
|
.header-filter-btns {
|
|
315
|
-
min-height: 40px;
|
|
392
|
+
// min-height: 40px;
|
|
316
393
|
.el-button--text {
|
|
317
394
|
color: $primary-color;
|
|
318
395
|
}
|
|
@@ -371,15 +448,23 @@ input:focus {
|
|
|
371
448
|
.el-input-group__append.select-append {
|
|
372
449
|
padding: 0 8px;
|
|
373
450
|
.el-button {
|
|
374
|
-
margin
|
|
375
|
-
|
|
376
|
-
padding-left: 5px;
|
|
377
|
-
padding-right: 5px;
|
|
451
|
+
margin: 0 -8px;
|
|
452
|
+
padding: 0 5px;
|
|
378
453
|
}
|
|
379
454
|
}
|
|
380
455
|
|
|
381
456
|
/* 自定义分页样式 */
|
|
382
|
-
|
|
457
|
+
.el-pagination {
|
|
458
|
+
padding: 12px 20px !important;
|
|
459
|
+
background: #fff !important;
|
|
460
|
+
}
|
|
461
|
+
.el-pagination__total {
|
|
462
|
+
color: #888888 !important;
|
|
463
|
+
}
|
|
464
|
+
.el-pagination__sizes,
|
|
465
|
+
.el-pagination__jump {
|
|
466
|
+
color: #282828 !important;
|
|
467
|
+
}
|
|
383
468
|
.el-pagination.cus-pagination .el-input__inner {
|
|
384
469
|
padding-left: 0px !important;
|
|
385
470
|
}
|
|
@@ -406,20 +491,31 @@ input:focus {
|
|
|
406
491
|
background-color: transparent !important;
|
|
407
492
|
border: 1px solid #eaedf1;
|
|
408
493
|
}
|
|
409
|
-
|
|
494
|
+
.el-pagination.is-background .el-pager li:not(.disabled):hover {
|
|
495
|
+
background: #eeeff3;
|
|
496
|
+
color: #888888;
|
|
497
|
+
}
|
|
410
498
|
.el-pagination.is-background.cus-pagination .btn-prev,
|
|
411
499
|
.el-pagination.is-background.cus-pagination .btn-next,
|
|
412
500
|
.el-pagination.is-background.cus-pagination .el-pager li {
|
|
413
501
|
background-color: transparent;
|
|
414
|
-
border: 1px solid #eaedf1;
|
|
502
|
+
// border: 1px solid #eaedf1;
|
|
503
|
+
color: #888888;
|
|
415
504
|
border-radius: 2px;
|
|
416
505
|
}
|
|
417
|
-
|
|
506
|
+
.el-pagination__total {
|
|
507
|
+
color: #282828;
|
|
508
|
+
}
|
|
509
|
+
.el-pagination.is-background .el-pager li:not(.disabled).active {
|
|
510
|
+
background: --primary-color;
|
|
511
|
+
}
|
|
418
512
|
.el-pagination.is-background.cus-pagination .el-pager li:not(.disabled).active {
|
|
419
513
|
border-radius: 2px;
|
|
420
514
|
border-color: transparent;
|
|
421
515
|
}
|
|
422
|
-
|
|
516
|
+
.el-table__fixed-footer-wrapper tbody td.el-table__cell {
|
|
517
|
+
border-top: none;
|
|
518
|
+
}
|
|
423
519
|
.cus-pagination .el-pagination__jump {
|
|
424
520
|
margin-left: 0;
|
|
425
521
|
}
|
|
@@ -427,6 +523,7 @@ input:focus {
|
|
|
427
523
|
.cus-pagination .el-input__inner {
|
|
428
524
|
height: 28px !important;
|
|
429
525
|
line-height: 28px !important;
|
|
526
|
+
color: #282828;
|
|
430
527
|
}
|
|
431
528
|
|
|
432
529
|
// 使表格树的单元格radio不显示
|
|
@@ -471,7 +568,7 @@ input:focus {
|
|
|
471
568
|
.el-tag {
|
|
472
569
|
margin-bottom: 10px;
|
|
473
570
|
}
|
|
474
|
-
|
|
571
|
+
|
|
475
572
|
.tags:not(:first-child) {
|
|
476
573
|
margin-left: 6px;
|
|
477
574
|
}
|
|
@@ -493,6 +590,10 @@ input:focus {
|
|
|
493
590
|
color: #000;
|
|
494
591
|
font-weight: 600;
|
|
495
592
|
}
|
|
593
|
+
.el-input__inner {
|
|
594
|
+
line-height: 32px;
|
|
595
|
+
height: 32px;
|
|
596
|
+
}
|
|
496
597
|
.el-input__icon {
|
|
497
598
|
width: 0;
|
|
498
599
|
display: none;
|
|
@@ -507,14 +608,42 @@ input:focus {
|
|
|
507
608
|
|
|
508
609
|
.sy-btn-ellipsis {
|
|
509
610
|
.el-button {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
}
|
|
515
|
-
.el-button:hover, .el-button:active, .el-button:focus {
|
|
516
|
-
background: none !important;
|
|
517
|
-
color: $primary-color !important;
|
|
518
|
-
border: 1px solid transparent !important;
|
|
611
|
+
outline: none !important;
|
|
612
|
+
&.el-button--text {
|
|
613
|
+
color: $primary-color;
|
|
614
|
+
}
|
|
519
615
|
}
|
|
520
|
-
}
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.el-button.el-button--primary {
|
|
619
|
+
color: #ffffff;
|
|
620
|
+
background: #027aff !important;
|
|
621
|
+
border-color: #027aff !important;
|
|
622
|
+
}
|
|
623
|
+
.el-button.el-button--primary:hover {
|
|
624
|
+
color: #ffffff;
|
|
625
|
+
background: #3595ff !important;
|
|
626
|
+
border-color: #3595ff !important;
|
|
627
|
+
}
|
|
628
|
+
.el-button.el-button--primary:active,
|
|
629
|
+
.el-button.el-button--primary:focus {
|
|
630
|
+
color: #ffffff;
|
|
631
|
+
background-color: #026ee6 !important;
|
|
632
|
+
border-color: #026ee6 !important;
|
|
633
|
+
}
|
|
634
|
+
.el-button.el-button--default {
|
|
635
|
+
color: #535353;
|
|
636
|
+
background-color: #ffffff !important;
|
|
637
|
+
border-color: #dcdfe6 !important;
|
|
638
|
+
}
|
|
639
|
+
.el-button.el-button--default:hover {
|
|
640
|
+
color: #3595ff;
|
|
641
|
+
background: #f5faff !important;
|
|
642
|
+
border-color: #3595ff !important;
|
|
643
|
+
}
|
|
644
|
+
.el-button.el-button--default:active,
|
|
645
|
+
.el-button.el-button--default:focus {
|
|
646
|
+
color: #026ee6;
|
|
647
|
+
background: #ecf6ff !important;
|
|
648
|
+
border-color: #026ee6 !important;
|
|
649
|
+
}
|