look-ui 1.0.11 → 1.1.12
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 +16 -0
- package/jsconfig.json +19 -0
- package/package.json +19 -2
- package/src/App.vue +197 -0
- package/src/main.js +14 -0
- package/src/normalize.css +9 -0
- package/utils/api.js +13 -0
- package/utils/request.js +26 -0
- package/index.scss +0 -43
- package/src/components/look-empty.vue +0 -30
- package/src/components/tab-scroll.vue +0 -221
- package/src/css/alert/index.scss +0 -66
- package/src/css/bread-crumb/index.scss +0 -6
- package/src/css/button/index.scss +0 -250
- package/src/css/calendar/index.scss +0 -22
- package/src/css/card/index.scss +0 -34
- package/src/css/cascader/index.scss +0 -25
- package/src/css/checkbox/index.scss +0 -29
- package/src/css/date-picker/index.scss +0 -73
- package/src/css/descriptions/index.scss +0 -10
- package/src/css/dialog/index.scss +0 -17
- package/src/css/dropdown/index.scss +0 -19
- package/src/css/form/index.scss +0 -9
- package/src/css/index.scss +0 -42
- package/src/css/input/index.scss +0 -75
- package/src/css/input-number/index.scss +0 -45
- package/src/css/loading/index.scss +0 -15
- package/src/css/message-box/index.scss +0 -43
- package/src/css/nav-menu/index.scss +0 -169
- package/src/css/notification/index.scss +0 -10
- package/src/css/page-header/index.scss +0 -39
- package/src/css/pagination/index.scss +0 -40
- package/src/css/picker/index.scss +0 -17
- package/src/css/popover/index.scss +0 -23
- package/src/css/radio/index.scss +0 -23
- package/src/css/select/index.scss +0 -43
- package/src/css/slider/index.scss +0 -9
- package/src/css/steps/index.scss +0 -52
- package/src/css/switch/index.scss +0 -10
- package/src/css/table/index.scss +0 -305
- package/src/css/tabs/index.scss +0 -24
- package/src/css/time-picker/index.scss +0 -58
- package/src/css/transfer/index.scss +0 -19
- package/src/css/upload/index.scss +0 -32
- package/src/imgs/empty.png +0 -0
- package/src/index.js +0 -10
package/src/css/table/index.scss
DELETED
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
.lookui-table {
|
|
2
|
-
font-family: Helvetica CE;
|
|
3
|
-
&::before {
|
|
4
|
-
display: none;
|
|
5
|
-
}
|
|
6
|
-
.el-table__header-wrapper {
|
|
7
|
-
.el-table__header {
|
|
8
|
-
.is-leaf {
|
|
9
|
-
border-bottom: 2px solid #506eda;
|
|
10
|
-
}
|
|
11
|
-
.el-table__cell {
|
|
12
|
-
font-weight: 700;
|
|
13
|
-
color: #333333;
|
|
14
|
-
font-size: 14px;
|
|
15
|
-
padding: 14px 0;
|
|
16
|
-
background-color: #f1f4fa;
|
|
17
|
-
// border-radius: 4px 4px 0px 0px;
|
|
18
|
-
.cell {
|
|
19
|
-
line-height: 24px;
|
|
20
|
-
.caret-wrapper {
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: 50%;
|
|
23
|
-
transform: translateY(-50%);
|
|
24
|
-
.descending {
|
|
25
|
-
border-top-color: #506eda;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
.el-table__body-wrapper {
|
|
33
|
-
.el-table__body {
|
|
34
|
-
tr {
|
|
35
|
-
&:hover td {
|
|
36
|
-
&.el-table__cell {
|
|
37
|
-
background-color: #f1f4fa;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.el-table__cell {
|
|
42
|
-
padding: 14px 0;
|
|
43
|
-
|
|
44
|
-
.cell {
|
|
45
|
-
color: #666;
|
|
46
|
-
.lookui-table-status {
|
|
47
|
-
position: relative;
|
|
48
|
-
box-sizing: border-box;
|
|
49
|
-
padding-left: 14px;
|
|
50
|
-
&::before {
|
|
51
|
-
content: '';
|
|
52
|
-
width: 6px;
|
|
53
|
-
height: 6px;
|
|
54
|
-
border-radius: 50%;
|
|
55
|
-
position: absolute;
|
|
56
|
-
top: 50%;
|
|
57
|
-
left: 0;
|
|
58
|
-
transform: translateY(-50%);
|
|
59
|
-
background-color: currentColor;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.lookui-table-option {
|
|
63
|
-
.el-button {
|
|
64
|
-
padding: 0;
|
|
65
|
-
&:hover {
|
|
66
|
-
opacity: 0.65;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
.el-button + .el-button {
|
|
70
|
-
margin-left: 16px;
|
|
71
|
-
position: relative;
|
|
72
|
-
&::after {
|
|
73
|
-
content: '';
|
|
74
|
-
height: 80%;
|
|
75
|
-
width: 1px;
|
|
76
|
-
background-color: #d9d9d9;
|
|
77
|
-
position: absolute;
|
|
78
|
-
top: 50%;
|
|
79
|
-
left: -9px;
|
|
80
|
-
transform: translateY(-50%);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
.lookui-status__primary {
|
|
85
|
-
color: #506eda;
|
|
86
|
-
}
|
|
87
|
-
.lookui-status__warning {
|
|
88
|
-
color: #f68d52;
|
|
89
|
-
}
|
|
90
|
-
.lookui-status__danger {
|
|
91
|
-
color: #ff4d4f;
|
|
92
|
-
}
|
|
93
|
-
.lookui-status__success {
|
|
94
|
-
color: #55bf96;
|
|
95
|
-
}
|
|
96
|
-
.lookui-status__process {
|
|
97
|
-
color: #43bcff;
|
|
98
|
-
}
|
|
99
|
-
.lookui-status__info {
|
|
100
|
-
color: #000000a6;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
.el-table__row {
|
|
105
|
-
&.lookui-table-status__primary {
|
|
106
|
-
background-color: #e1e7ff;
|
|
107
|
-
}
|
|
108
|
-
&.lookui-table-status__warning {
|
|
109
|
-
background-color: #ffede2;
|
|
110
|
-
}
|
|
111
|
-
&.lookui-table-status__danger {
|
|
112
|
-
background-color: #ffe1e1;
|
|
113
|
-
}
|
|
114
|
-
&.lookui-table-status__success {
|
|
115
|
-
background-color: #def9f1;
|
|
116
|
-
}
|
|
117
|
-
&.lookui-table-status__process {
|
|
118
|
-
background-color: #e4f5ff;
|
|
119
|
-
}
|
|
120
|
-
&.lookui-table-status__info {
|
|
121
|
-
background-color: #fff9f9;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
.el-table__row--striped {
|
|
125
|
-
.el-table__cell {
|
|
126
|
-
background-color: #d3d9f91a;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
.el-table__fixed,
|
|
132
|
-
.el-table__fixed-right {
|
|
133
|
-
.el-table__fixed-header-wrapper {
|
|
134
|
-
.el-table__header {
|
|
135
|
-
.el-table__cell {
|
|
136
|
-
font-weight: 700;
|
|
137
|
-
color: #333333;
|
|
138
|
-
font-size: 14px;
|
|
139
|
-
padding: 14px 0;
|
|
140
|
-
background-color: #f1f4fa;
|
|
141
|
-
// border-radius: 4px 4px 0px 0px;
|
|
142
|
-
border-bottom: 2px solid #506eda;
|
|
143
|
-
.cell {
|
|
144
|
-
line-height: 24px;
|
|
145
|
-
.caret-wrapper {
|
|
146
|
-
position: absolute;
|
|
147
|
-
top: 50%;
|
|
148
|
-
transform: translateY(-50%);
|
|
149
|
-
.descending {
|
|
150
|
-
border-top-color: #506eda;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
.el-table__fixed-body-wrapper {
|
|
158
|
-
.el-table__body {
|
|
159
|
-
tr {
|
|
160
|
-
&:hover td {
|
|
161
|
-
&.el-table__cell {
|
|
162
|
-
background-color: #f1f4fa;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
.el-table__cell {
|
|
167
|
-
padding: 14px 0;
|
|
168
|
-
.cell {
|
|
169
|
-
color: #666;
|
|
170
|
-
.lookui-table-status {
|
|
171
|
-
position: relative;
|
|
172
|
-
box-sizing: border-box;
|
|
173
|
-
padding-left: 14px;
|
|
174
|
-
&::before {
|
|
175
|
-
content: '';
|
|
176
|
-
width: 6px;
|
|
177
|
-
height: 6px;
|
|
178
|
-
border-radius: 50%;
|
|
179
|
-
position: absolute;
|
|
180
|
-
top: 50%;
|
|
181
|
-
left: 0;
|
|
182
|
-
transform: translateY(-50%);
|
|
183
|
-
background-color: currentColor;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
.lookui-table-option {
|
|
187
|
-
.el-button {
|
|
188
|
-
padding: 0;
|
|
189
|
-
&:hover {
|
|
190
|
-
opacity: 0.65;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
.el-button + .el-button {
|
|
194
|
-
margin-left: 16px;
|
|
195
|
-
position: relative;
|
|
196
|
-
&::after {
|
|
197
|
-
content: '';
|
|
198
|
-
height: 80%;
|
|
199
|
-
width: 1px;
|
|
200
|
-
background-color: #d9d9d9;
|
|
201
|
-
position: absolute;
|
|
202
|
-
top: 50%;
|
|
203
|
-
left: -9px;
|
|
204
|
-
transform: translateY(-50%);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
.lookui-status__primary {
|
|
209
|
-
color: #506eda;
|
|
210
|
-
}
|
|
211
|
-
.lookui-status__warning {
|
|
212
|
-
color: #f68d52;
|
|
213
|
-
}
|
|
214
|
-
.lookui-status__danger {
|
|
215
|
-
color: #ff4d4f;
|
|
216
|
-
}
|
|
217
|
-
.lookui-status__success {
|
|
218
|
-
color: #55bf96;
|
|
219
|
-
}
|
|
220
|
-
.lookui-status__process {
|
|
221
|
-
color: #43bcff;
|
|
222
|
-
}
|
|
223
|
-
.lookui-status__info {
|
|
224
|
-
color: #000000a6;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
.el-table__row {
|
|
229
|
-
&.lookui-table-status__primary {
|
|
230
|
-
background-color: #e1e7ff;
|
|
231
|
-
}
|
|
232
|
-
&.lookui-table-status__warning {
|
|
233
|
-
background-color: #ffede2;
|
|
234
|
-
}
|
|
235
|
-
&.lookui-table-status__danger {
|
|
236
|
-
background-color: #ffe1e1;
|
|
237
|
-
}
|
|
238
|
-
&.lookui-table-status__success {
|
|
239
|
-
background-color: #def9f1;
|
|
240
|
-
}
|
|
241
|
-
&.lookui-table-status__process {
|
|
242
|
-
background-color: #e4f5ff;
|
|
243
|
-
}
|
|
244
|
-
&.lookui-table-status__info {
|
|
245
|
-
background-color: #fff9f9;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
.el-table__row--striped {
|
|
249
|
-
.el-table__cell {
|
|
250
|
-
background-color: #d3d9f91a;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
.el-checkbox {
|
|
257
|
-
.is-checked {
|
|
258
|
-
.el-checkbox__inner {
|
|
259
|
-
background-color: #506eda;
|
|
260
|
-
border-color: #506eda;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
// 修复element-ui表格表头与表体不对齐
|
|
265
|
-
&.el-table th.gutter {
|
|
266
|
-
display: table-cell !important;
|
|
267
|
-
}
|
|
268
|
-
&.el-table::before {
|
|
269
|
-
height: 0;
|
|
270
|
-
}
|
|
271
|
-
// 调整滚动条样式
|
|
272
|
-
::-webkit-scrollbar {
|
|
273
|
-
width: 6px;
|
|
274
|
-
height: 8px;
|
|
275
|
-
background-color: #ebeef5;
|
|
276
|
-
}
|
|
277
|
-
::-webkit-scrollbar-thumb {
|
|
278
|
-
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
279
|
-
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
280
|
-
background-color: #ccc;
|
|
281
|
-
}
|
|
282
|
-
::-webkit-scrollbar-track {
|
|
283
|
-
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
284
|
-
border-radius: 3px;
|
|
285
|
-
background: rgba(255, 255, 255, 1);
|
|
286
|
-
}
|
|
287
|
-
// 修复固定列最后一行宽度问题
|
|
288
|
-
.el-table__fixed,
|
|
289
|
-
.el-table__fixed-right {
|
|
290
|
-
height: auto !important;
|
|
291
|
-
bottom: 16px;
|
|
292
|
-
&::before {
|
|
293
|
-
height: 0;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
// 取消文档默认样式
|
|
297
|
-
th,
|
|
298
|
-
td {
|
|
299
|
-
border: 0;
|
|
300
|
-
}
|
|
301
|
-
// 取消文档默认样式
|
|
302
|
-
tr:nth-child(2n) {
|
|
303
|
-
background-color: #fff;
|
|
304
|
-
}
|
|
305
|
-
}
|
package/src/css/tabs/index.scss
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-tabs {
|
|
3
|
-
.el-tabs__item {
|
|
4
|
-
font-size: 16px;
|
|
5
|
-
height: 46px;
|
|
6
|
-
line-height: 46px;
|
|
7
|
-
}
|
|
8
|
-
.el-tabs__item.is-active {
|
|
9
|
-
color: $--themeColor;
|
|
10
|
-
font-weight: bold;
|
|
11
|
-
}
|
|
12
|
-
.el-tabs__active-bar {
|
|
13
|
-
background-color: $--themeColor;
|
|
14
|
-
}
|
|
15
|
-
.el-tabs__item:hover {
|
|
16
|
-
color: $--themeColor;
|
|
17
|
-
}
|
|
18
|
-
&.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
|
|
19
|
-
color: $--themeColor;
|
|
20
|
-
}
|
|
21
|
-
&.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover {
|
|
22
|
-
color: $--themeColor;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-time-popper {
|
|
3
|
-
.time-select-item {
|
|
4
|
-
&:hover {
|
|
5
|
-
background-color: $--themeColor-100;
|
|
6
|
-
font-weight: normal;
|
|
7
|
-
}
|
|
8
|
-
&.selected:not(.disabled) {
|
|
9
|
-
color: #333;
|
|
10
|
-
font-weight: normal;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
/*修改选中日期的背景色*/
|
|
14
|
-
.el-date-table td.current:not(.disabled) span {
|
|
15
|
-
background-color: #4364bf;
|
|
16
|
-
}
|
|
17
|
-
/*修改今天日期颜色*/
|
|
18
|
-
.el-date-table td.today span {
|
|
19
|
-
color: #4364bf;
|
|
20
|
-
}
|
|
21
|
-
.el-date-table td span {
|
|
22
|
-
border-radius: 2px;
|
|
23
|
-
}
|
|
24
|
-
input[type="text"] {
|
|
25
|
-
color: #000;
|
|
26
|
-
}
|
|
27
|
-
.el-button--text {
|
|
28
|
-
color: #4364bf;
|
|
29
|
-
}
|
|
30
|
-
.el-button {
|
|
31
|
-
color: #4364bf;
|
|
32
|
-
border-color: #4364bf;
|
|
33
|
-
&.is-plain {
|
|
34
|
-
&:focus,&:hover {
|
|
35
|
-
color: #4364bf;
|
|
36
|
-
border-color: #4364bf;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
.el-date-table td.available:hover {
|
|
41
|
-
color: #4364bf;
|
|
42
|
-
}
|
|
43
|
-
.el-input.is-active .el-input__inner, .el-input__inner:focus {
|
|
44
|
-
border-color: #4364bf;
|
|
45
|
-
}
|
|
46
|
-
.el-time-panel__btn.confirm {
|
|
47
|
-
color: $--themeColor;
|
|
48
|
-
}
|
|
49
|
-
button:hover {
|
|
50
|
-
background: none;
|
|
51
|
-
}
|
|
52
|
-
.el-time-spinner__item:hover:not(.disabled):not(.active) {
|
|
53
|
-
background-color: $--themeColor-100;
|
|
54
|
-
}
|
|
55
|
-
.el-button--text {
|
|
56
|
-
border-color: transparent;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-transfer {
|
|
3
|
-
.el-checkbox__input.is-checked, .el-checkbox__input.is-indeterminate {
|
|
4
|
-
.el-checkbox__inner {
|
|
5
|
-
border-color: $--themeColor;
|
|
6
|
-
background-color: $--themeColor;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.el-button--primary {
|
|
10
|
-
background-color: $--themeColor;
|
|
11
|
-
border-color: $--themeColor;
|
|
12
|
-
}
|
|
13
|
-
.el-checkbox__input.is-checked+.el-checkbox__label {
|
|
14
|
-
color: #666;
|
|
15
|
-
}
|
|
16
|
-
.el-transfer-panel__item:hover {
|
|
17
|
-
color: $--themeColor;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-upload {
|
|
3
|
-
.el-upload-list__item.is-success .el-upload-list__item-name:focus, .el-upload-list__item.is-success .el-upload-list__item-name:hover {
|
|
4
|
-
color: $--themeColor;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
}
|
|
7
|
-
.el-tree-node__content:hover, .el-upload-list__item:hover {
|
|
8
|
-
border-color: $--themeColor;
|
|
9
|
-
}
|
|
10
|
-
.el-button--primary {
|
|
11
|
-
background-color: $--themeColor;
|
|
12
|
-
border-color: $--themeColor;
|
|
13
|
-
}
|
|
14
|
-
&.avatar-uploader .el-upload:hover {
|
|
15
|
-
border-color: $--themeColor;
|
|
16
|
-
}
|
|
17
|
-
.el-upload--picture-card:hover, .el-upload:focus {
|
|
18
|
-
border-color: $--themeColor;
|
|
19
|
-
color: $--themeColor;
|
|
20
|
-
}
|
|
21
|
-
.el-upload-dragger:hover {
|
|
22
|
-
border-color: $--themeColor;
|
|
23
|
-
}
|
|
24
|
-
.el-upload-dragger .el-upload__text em {
|
|
25
|
-
color: $--themeColor;
|
|
26
|
-
font-style: normal;
|
|
27
|
-
}
|
|
28
|
-
.el-button--success {
|
|
29
|
-
background-color: $--green-900;
|
|
30
|
-
border-color: $--green-900;
|
|
31
|
-
}
|
|
32
|
-
}
|
package/src/imgs/empty.png
DELETED
|
Binary file
|
package/src/index.js
DELETED