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
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-msgbox {
|
|
3
|
-
.el-message-box__header {
|
|
4
|
-
border-bottom: 1px solid #d9d9d9;
|
|
5
|
-
.el-message-box__title {
|
|
6
|
-
color: $--themeColor;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.el-message-box__content {
|
|
10
|
-
.el-input {
|
|
11
|
-
input {
|
|
12
|
-
&:focus {
|
|
13
|
-
border-color: $--themeColor;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
&.el-message-box--center {
|
|
19
|
-
.el-message-box__header {
|
|
20
|
-
border-bottom: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.el-button--default {
|
|
25
|
-
color: #666;
|
|
26
|
-
&:hover {
|
|
27
|
-
color: $--themeColor;
|
|
28
|
-
background-color: #f1f4fa;
|
|
29
|
-
border-color: $--themeColor-100;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.el-button--primary {
|
|
34
|
-
color: #fff;
|
|
35
|
-
background-color: $--themeColor;
|
|
36
|
-
border-color: $--themeColor;
|
|
37
|
-
&:hover {
|
|
38
|
-
color: #fff;
|
|
39
|
-
background-color: #8493e9;
|
|
40
|
-
border-color: #8493e9;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-submenu {
|
|
3
|
-
&.el-submenu {
|
|
4
|
-
&.is-opened {
|
|
5
|
-
.el-submenu__title {
|
|
6
|
-
font-weight: bold !important;
|
|
7
|
-
// color:#333 !important;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
.el-submenu__title:hover {
|
|
12
|
-
background-color: $--themeColor-100 !important;
|
|
13
|
-
color: $--themeColor !important;
|
|
14
|
-
i {
|
|
15
|
-
color: $--themeColor;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.lookui-menu-item {
|
|
21
|
-
&:hover {
|
|
22
|
-
background-color: $--themeColor-100 !important;
|
|
23
|
-
color: $--themeColor !important;
|
|
24
|
-
i {
|
|
25
|
-
color: $--themeColor;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.lookui-submenu-theme {
|
|
31
|
-
&.el-submenu {
|
|
32
|
-
&.is-opened {
|
|
33
|
-
.el-submenu__title {
|
|
34
|
-
font-weight: bold !important;
|
|
35
|
-
color: #fff !important;
|
|
36
|
-
i {
|
|
37
|
-
color: #fff;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.lookui-menu-item-theme {
|
|
45
|
-
&:hover {
|
|
46
|
-
color: #fff !important;
|
|
47
|
-
i {
|
|
48
|
-
color: #fff !important;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.lookui-submenu-collapse {
|
|
54
|
-
.el-submenu__title {
|
|
55
|
-
i {
|
|
56
|
-
color: #fff;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.lookui-submenu-collapse-item {
|
|
62
|
-
&.el-menu-item {
|
|
63
|
-
&.is-active {
|
|
64
|
-
// background-color: #3d5bc9 !important;
|
|
65
|
-
color: #fff;
|
|
66
|
-
}
|
|
67
|
-
i {
|
|
68
|
-
color: #fff;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.lookui-submenu-collapse--poppper {
|
|
74
|
-
.el-menu--popup-right-start {
|
|
75
|
-
margin-left: 2px;
|
|
76
|
-
background-color: #fff !important;
|
|
77
|
-
}
|
|
78
|
-
.el-menu--popup {
|
|
79
|
-
padding: 0;
|
|
80
|
-
}
|
|
81
|
-
.el-menu-item {
|
|
82
|
-
height: 40px;
|
|
83
|
-
line-height: 40px;
|
|
84
|
-
padding-left: 38px !important;
|
|
85
|
-
background-color: #fff !important;
|
|
86
|
-
color: #666 !important;
|
|
87
|
-
display: flex;
|
|
88
|
-
align-items: center;
|
|
89
|
-
&:hover {
|
|
90
|
-
background-color: $--themeColor-100 !important;
|
|
91
|
-
color: $--themeColor !important;
|
|
92
|
-
i {
|
|
93
|
-
color: $--themeColor !important;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.lookui-menu-item-divider {
|
|
100
|
-
display: block;
|
|
101
|
-
height: 1px ;
|
|
102
|
-
background-color: #ccc;
|
|
103
|
-
margin: 16px 12px 16px 38px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.lookui-aside-menu {
|
|
107
|
-
display: flex;
|
|
108
|
-
.lookui-aside-menu-icons {
|
|
109
|
-
display: flex;
|
|
110
|
-
flex-direction: column;
|
|
111
|
-
justify-content: space-between;
|
|
112
|
-
width: 64px;
|
|
113
|
-
height: 100%;
|
|
114
|
-
background-color: $--themeColor;
|
|
115
|
-
.icon-item {
|
|
116
|
-
height: 56px;
|
|
117
|
-
display: flex;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
align-items: center;
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
i {
|
|
122
|
-
font-size: 20px;
|
|
123
|
-
color: #fff;
|
|
124
|
-
}
|
|
125
|
-
&:hover {
|
|
126
|
-
background-color: rgba(61, 91, 201, .5);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
.actived-icon {
|
|
130
|
-
background-color: rgba(61, 91, 201, 1);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
.lookui-aside-menu-items {
|
|
134
|
-
display: flex;
|
|
135
|
-
flex-direction: column;
|
|
136
|
-
justify-content: space-between;
|
|
137
|
-
width: 208px;
|
|
138
|
-
height: 100%;
|
|
139
|
-
background-color:#ffffff;
|
|
140
|
-
box-shadow:0px 3px 6px rgba(0, 0, 0, 0.16);
|
|
141
|
-
.actived-item {
|
|
142
|
-
background-color: rgba(228, 232, 251, 1);
|
|
143
|
-
color: $--themeColor;
|
|
144
|
-
cursor: pointer;
|
|
145
|
-
border-right: 2px solid $--themeColor;
|
|
146
|
-
}
|
|
147
|
-
.menu-item {
|
|
148
|
-
height: 56px;
|
|
149
|
-
line-height: 56px;
|
|
150
|
-
padding-left: 40px;
|
|
151
|
-
&:hover {
|
|
152
|
-
background-color: rgba(228, 232, 251, .5);
|
|
153
|
-
color: $--themeColor;
|
|
154
|
-
cursor: pointer;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
.items-fold {
|
|
158
|
-
height: 56px;
|
|
159
|
-
display: flex;
|
|
160
|
-
justify-content: flex-end;
|
|
161
|
-
align-items: center;
|
|
162
|
-
margin-right: 20px;
|
|
163
|
-
cursor: pointer;
|
|
164
|
-
i {
|
|
165
|
-
font-size: 20px;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-page-header-auxiliary-text {
|
|
3
|
-
display: flex;
|
|
4
|
-
padding: 16px;
|
|
5
|
-
&.white-bg {
|
|
6
|
-
background-color: #fff;
|
|
7
|
-
}
|
|
8
|
-
&.theme-bg {
|
|
9
|
-
background-color: $--themeColor;
|
|
10
|
-
color: #fff;
|
|
11
|
-
}
|
|
12
|
-
.right {
|
|
13
|
-
padding-left: 16px;
|
|
14
|
-
border-left: 1px solid #d9d9d9;
|
|
15
|
-
margin-left: 16px;
|
|
16
|
-
.title {
|
|
17
|
-
font-size: 18px;
|
|
18
|
-
}
|
|
19
|
-
.sub-title {
|
|
20
|
-
font-size: 14px;
|
|
21
|
-
margin-top: 8px;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.lookui-page-header {
|
|
27
|
-
background-color: $--themeColor;
|
|
28
|
-
padding: 14px;
|
|
29
|
-
&.white-bg {
|
|
30
|
-
background-color: #fff;
|
|
31
|
-
}
|
|
32
|
-
&.theme-bg {
|
|
33
|
-
background-color: $--themeColor;
|
|
34
|
-
color: #fff;
|
|
35
|
-
.el-page-header__content {
|
|
36
|
-
color: #fff;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
|
|
3
|
-
.lookui-pagination {
|
|
4
|
-
.el-pager li {
|
|
5
|
-
&.active,
|
|
6
|
-
&:hover {
|
|
7
|
-
color: $--themeColor;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
button:hover {
|
|
11
|
-
color: $--themeColor;
|
|
12
|
-
}
|
|
13
|
-
&.is-background .el-pager li:not(.disabled) {
|
|
14
|
-
&.active,
|
|
15
|
-
&:hover {
|
|
16
|
-
background-color: $--themeColor;
|
|
17
|
-
color: #fff;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
.el-pagination__sizes .el-input .el-input__inner:hover {
|
|
21
|
-
border-color: $--themeColor;
|
|
22
|
-
}
|
|
23
|
-
.el-select .el-input.is-focus .el-input__inner {
|
|
24
|
-
border-color: $--themeColor;
|
|
25
|
-
}
|
|
26
|
-
.el-select .el-input__inner:focus {
|
|
27
|
-
border-color: $--themeColor;
|
|
28
|
-
}
|
|
29
|
-
.el-pagination__jump {
|
|
30
|
-
.el-input__inner:focus {
|
|
31
|
-
border-color: $--themeColor;
|
|
32
|
-
outline: 0;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.el-select-dropdown__item.selected {
|
|
38
|
-
color: $--themeColor;
|
|
39
|
-
font-weight: 700;
|
|
40
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-picker {
|
|
3
|
-
&.el-input.is-active .el-input__inner {
|
|
4
|
-
border-color: $--themeColor;
|
|
5
|
-
}
|
|
6
|
-
.el-input__inner {
|
|
7
|
-
&:focus {
|
|
8
|
-
border-color: $--themeColor;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
&.el-range-editor.is-active {
|
|
12
|
-
border-color: $--themeColor;
|
|
13
|
-
&:hover {
|
|
14
|
-
border-color: $--themeColor;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-popover {
|
|
3
|
-
&.el-popover {
|
|
4
|
-
&--plain {
|
|
5
|
-
padding: 14px;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
.el-popover__title {
|
|
9
|
-
border-bottom: 1px solid #d9d9d9;
|
|
10
|
-
padding-bottom: 14px;
|
|
11
|
-
color: $--themeColor;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.el-button--text {
|
|
15
|
-
color: $--themeColor;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.el-button--primary {
|
|
19
|
-
color: #FFF;
|
|
20
|
-
background-color: $--themeColor;
|
|
21
|
-
border-color: $--themeColor;
|
|
22
|
-
}
|
|
23
|
-
}
|
package/src/css/radio/index.scss
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-radio {
|
|
3
|
-
.el-radio__inner {
|
|
4
|
-
width: 16px;
|
|
5
|
-
height: 16px;
|
|
6
|
-
}
|
|
7
|
-
.el-radio__input.is-checked .el-radio__inner {
|
|
8
|
-
border-color: $--themeColor;
|
|
9
|
-
background-color: #fff;
|
|
10
|
-
}
|
|
11
|
-
.el-radio__input.is-disabled.is-checked .el-radio__inner {
|
|
12
|
-
background-color: #f5f7fa;
|
|
13
|
-
border-color: #e4e7ed;
|
|
14
|
-
}
|
|
15
|
-
.el-radio__inner::after {
|
|
16
|
-
width: 8px;
|
|
17
|
-
height: 8px;
|
|
18
|
-
background-color: $--themeColor;
|
|
19
|
-
}
|
|
20
|
-
.el-radio__input.is-checked + .el-radio__label {
|
|
21
|
-
color: #666;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-select {
|
|
3
|
-
.el-input.is-focus .el-input__inner {
|
|
4
|
-
border: 1px solid $--themeColor;
|
|
5
|
-
}
|
|
6
|
-
.el-input__inner:focus {
|
|
7
|
-
border-color: $--themeColor;
|
|
8
|
-
}
|
|
9
|
-
.el-select {
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: 100%;
|
|
12
|
-
}
|
|
13
|
-
.el-select > .el-input {
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
16
|
-
.el-select__caret.el-input__icon.el-icon-arrow-up {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.lookui-select-dropdown .el-select-dropdown__item.hover {
|
|
24
|
-
width: 100%;
|
|
25
|
-
background-color: $--themeColor-100;
|
|
26
|
-
}
|
|
27
|
-
.lookui-select-dropdown .el-select-dropdown__item,
|
|
28
|
-
.lookui-select-dropdown .el-select-dropdown__item.selected {
|
|
29
|
-
color: #666666;
|
|
30
|
-
font-weight: normal;
|
|
31
|
-
&.selected {
|
|
32
|
-
color: $--themeColor;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.lookui-select-dropdown .property-item input:focus {
|
|
36
|
-
border: 1px solid $--themeColor;
|
|
37
|
-
}
|
|
38
|
-
.lookui-select-dropdown .row-panel.select-panel {
|
|
39
|
-
background: none;
|
|
40
|
-
}
|
|
41
|
-
.lookui-select-dropdown .el-input__icon {
|
|
42
|
-
line-height: 32px;
|
|
43
|
-
}
|
package/src/css/steps/index.scss
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
@import '../index.scss';
|
|
2
|
-
.lookui-steps {
|
|
3
|
-
.el-step__head.is-process {
|
|
4
|
-
border-color: $--themeColor;
|
|
5
|
-
.el-step__icon {
|
|
6
|
-
&.is-text {
|
|
7
|
-
background-color: $--themeColor;
|
|
8
|
-
color: #fff;
|
|
9
|
-
.el-step__icon-inner {
|
|
10
|
-
font-weight: normal;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
&.is-icon {
|
|
14
|
-
background-color: rgba(255, 255, 255, 0);
|
|
15
|
-
color: $--themeColor;
|
|
16
|
-
.el-step__icon-inner {
|
|
17
|
-
font-weight: normal;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.el-step__head.is-success {
|
|
23
|
-
color: $--themeColor;
|
|
24
|
-
border-color: $--themeColor;
|
|
25
|
-
.el-step__line {
|
|
26
|
-
background-color: $--themeColor;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.el-step__head.is-finish {
|
|
30
|
-
color: $--themeColor;
|
|
31
|
-
border-color: $--themeColor;
|
|
32
|
-
.el-step__line {
|
|
33
|
-
background-color: $--themeColor;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.el-step__main {
|
|
38
|
-
.el-step__title.is-process {
|
|
39
|
-
font-weight: 400;
|
|
40
|
-
color: #000;
|
|
41
|
-
}
|
|
42
|
-
.el-step__title.is-success {
|
|
43
|
-
color: #666;
|
|
44
|
-
}
|
|
45
|
-
.el-step__description,
|
|
46
|
-
.el-step__title {
|
|
47
|
-
&.is-finish {
|
|
48
|
-
color: #666;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|