@utogether/udp-core 1.0.1-beta.16 → 1.0.1-beta.18
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/build/plugins.ts +39 -39
- package/dist/{403-RBzulrcG.js → 403-B8xAGW0x.js} +1 -1
- package/dist/{404-DX-dU_6C.js → 404-BtgajMpP.js} +1 -1
- package/dist/{500-BCTk0__d.js → 500-DFWWZylZ.js} +1 -1
- package/dist/{AuthorityInfo-BADTOenq.js → AuthorityInfo-BxWSZs7n.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-Cv46yAx_.js → AuthorityInfo.vue_vue_type_style_index_0_lang-XIiFdjxN.js} +1 -1
- package/dist/{Company-B-61KrWd.js → Company-BbUJtuvr.js} +3 -3
- package/dist/{CompanyPanel-CawSrEff.js → CompanyPanel-KOOFrGjk.js} +8 -8
- package/dist/{Department-CrzJPtvP.js → Department-BimSgBm2.js} +3 -3
- package/dist/{DepartmentPanel-DYuL8H-j.js → DepartmentPanel-DYXPUCDs.js} +3 -3
- package/dist/{DesignPanel-DEAv6V68.js → DesignPanel-CHZ36J4q.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BsnXZ2td.js → DesignPanel.vue_vue_type_style_index_0_lang-ZbNixuuY.js} +2 -2
- package/dist/{DictView-BuO-2b-c.js → DictView-7RQYVj4H.js} +1 -1
- package/dist/{InvOrganization-CBgKBJAn.js → InvOrganization-esq9FI1K.js} +1 -1
- package/dist/{Org-BaQw2r-o.js → Org-BGswGV9g.js} +1 -1
- package/dist/{Preview-DvCrmKNk.js → Preview-DP0pD6Kf.js} +1 -1
- package/dist/{ReportDefine-DyhWz0as.js → ReportDefine-1rjKlbK-.js} +1 -1
- package/dist/{ReportDesign-DgZ2f2zv.js → ReportDesign-BIUj35Kh.js} +2 -2
- package/dist/{ReportQuery-DTZYbCDi.js → ReportQuery-CWevStRg.js} +1 -1
- package/dist/{ReportQueryFrom-B-vtJegP.js → ReportQueryFrom-vlOF5_gc.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-D6izgxph.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-BGyeoYxo.js} +1 -1
- package/dist/{ReportTemplate-DA1ZqKGf.js → ReportTemplate-BPURQOFZ.js} +1 -1
- package/dist/{Role-mbqoav5t.js → Role-D8xJ3rai.js} +3 -3
- package/dist/{RoleAssign-ltEJIEcr.js → RoleAssign-CE5FeHLd.js} +8 -8
- package/dist/{RolePanel-u90v9eS0.js → RolePanel-B6wskQVB.js} +1 -1
- package/dist/{RolePanel-1g1a-G8D.js → RolePanel-CqHsGjrK.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-LC4Egk-Q.js → RolePanel.vue_vue_type_script_setup_true_lang-Bjoq-nCm.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-D9YxpGnt.js → RolePanel.vue_vue_type_script_setup_true_lang-Dv5IVELj.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DZ3W1epK.js → ScrollPanel.vue_vue_type_style_index_0_lang-Bp8Y_5A2.js} +1 -1
- package/dist/{Staff-CJ2GgCL3.js → Staff-DuYrik71.js} +3 -3
- package/dist/{StaffInfo-3KkodDCK.js → StaffInfo-CZiak-1b.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CW-isIxJ.js → StaffInfo.vue_vue_type_script_setup_true_lang-LCuqxUh8.js} +1 -1
- package/dist/{StaffPanel-DoXPSoY5.js → StaffPanel-DI6MBAJH.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DvhGnOMZ.js → StaffPanel.vue_vue_type_script_setup_true_lang-DxJhnVpd.js} +2 -2
- package/dist/{SysUser-BuIZhMPh.js → SysUser-DoNj2tIV.js} +2 -2
- package/dist/{SysUserPanel-t1GJcJGM.js → SysUserPanel-CvfyRxel.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CDDkFLlN.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BoghL7F3.js} +43 -39
- package/dist/{SystemMenu-DuLEL6_l.js → SystemMenu-Cr3vUEQU.js} +2 -2
- package/dist/{UserInfo-WWby4lts.js → UserInfo-6c8UDIVO.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-B06ZSrJV.js → UserInfo.vue_vue_type_style_index_0_lang-DstUSeNQ.js} +1 -1
- package/dist/{childView-B0-EAoAi.js → childView-BlmHw5jv.js} +1 -1
- package/dist/{childView-IYY4L8VK.js → childView-C050pf1v.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-B56v6yK7.js → childView.vue_vue_type_style_index_0_lang-BxLT1Dz0.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CjF8nZuj.js → childView.vue_vue_type_style_index_0_lang-D0nlTIP-.js} +2 -2
- package/dist/{code-rule-DDLdi3pP.js → code-rule-Br1Mh3_M.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-p3-AFN1w.js → cron-task-DhuIk5pP.js} +1 -1
- package/dist/{frameView-B_WAZErD.js → frameView-hJoSI0Ai.js} +1 -1
- package/dist/index-1dgWFXT2.js +5436 -0
- package/dist/{layoutView-CoEp2afn.js → layoutView-DU-TVfOp.js} +1340 -1337
- package/dist/{login-DP0oP70W.js → login-CzJBV0x8.js} +2 -2
- package/dist/{lov-view-BDoZRK-v.js → lov-view-BxaHaVKE.js} +2 -2
- package/dist/{menuInfo-5Xls76qB.js → menuInfo-Dp7nAbgM.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BfZczW9a.js → menuInfo.vue_vue_type_style_index_0_lang-Ch4NbiCL.js} +1 -1
- package/dist/{pda-app-DxGYn4G7.js → pda-app-BmxY3H7y.js} +2 -2
- package/dist/{resource-BnYWe_-Q.js → resource-D2dCI_x9.js} +1 -1
- package/dist/{su-welcome-B2rNhhDH.js → su-welcome-BKGU5HUf.js} +1 -1
- package/dist/{sys-config-Bb4WkxZK.js → sys-config-s8DnZMOd.js} +1 -1
- package/dist/udp-core.css +1 -9
- package/index.ts +48 -48
- package/package.json +1 -1
- package/src/App.vue +65 -65
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/SuScrollTree/ScrollPanel.vue +170 -175
- package/src/components/udp/{grid.vue → grid/index.vue} +39 -25
- package/src/components/udp/index.ts +2 -9
- package/src/components/udp/utils.ts +63 -108
- package/src/layout/components/lay-navbar/index.vue +239 -239
- package/src/layout/components/lay-panel/index.vue +150 -150
- package/src/layout/components/lay-search/index.vue +25 -25
- package/src/layout/components/lay-select-org/index.vue +64 -64
- package/src/layout/components/lay-sidebar/horizontal.vue +190 -190
- package/src/layout/components/lay-sidebar/mixNav.vue +260 -260
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +1 -0
- package/src/layout/components/lay-tag/index.vue +20 -48
- package/src/layout/hooks/useNav.ts +173 -173
- package/src/layout/hooks/useTag.ts +5 -3
- package/src/layout/types.ts +3 -2
- package/src/main.ts +24 -21
- package/src/plugins/i18n/en.ts +302 -302
- package/src/plugins/i18n/zh.ts +356 -354
- package/src/plugins/vxe-table/index.ts +67 -4
- package/src/plugins/vxe-table/render.tsx +18 -29
- package/src/router/index.ts +186 -177
- package/src/router/modules/remaining.ts +58 -58
- package/src/router/utils.ts +393 -377
- package/src/store/modules/app.ts +1 -3
- package/src/store/modules/multiTags.ts +110 -109
- package/src/store/modules/permission.ts +113 -100
- package/src/style/button.scss +85 -85
- package/src/style/login.css +336 -336
- package/src/style/vxetable.scss +338 -321
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/department/DepartmentPanel.vue +269 -283
- package/src/views/system/menu/SystemMenu.vue +183 -183
- package/src/views/system/menu/menuInfo.vue +363 -363
- package/src/views/system/role/UserInfo.vue +195 -195
- package/src/views/system/role-assign/RoleAssign.vue +57 -57
- package/src/views/system/role-assign/RolePanel.vue +139 -139
- package/src/views/system/sys/sys-config.vue +336 -336
- package/src/views/system/sysUser/SysUserPanel.vue +279 -278
- package/src/views/uapp/pda/pda-app.vue +208 -208
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +1 -1
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/src/views/ulogin/login.vue +323 -323
- package/src/views/upms/interface/log-out.vue +101 -101
- package/src/views/urpt/design/DesignPanel.vue +507 -507
- package/types/global.d.ts +230 -230
- package/dist/index-24fnvUBy.js +0 -2822
- package/src/components/udp/count-down.vue +0 -536
- package/src/components/udp/flip-down/FlipCard/flip-card.vue +0 -251
- package/src/components/udp/flip-down/FlipCard/interfaces.ts +0 -4
- package/src/components/udp/flip-down/FlipClock/flip-clock.vue +0 -113
- package/src/components/udp/form-upload.vue +0 -482
- package/src/components/udp/form.vue +0 -112
- package/src/components/udp/lov.vue +0 -388
- package/src/components/udp/modal-form.vue +0 -190
- package/src/components/udp/modal-grid.vue +0 -298
- package/src/components/udp/upload.vue +0 -423
- package/src/utils/udp/http/index.ts +0 -294
- package/src/utils/udp/http/types.d.ts +0 -49
- package/src/utils/udp/useRender.ts +0 -431
package/src/style/login.css
CHANGED
|
@@ -1,336 +1,336 @@
|
|
|
1
|
-
.wave {
|
|
2
|
-
position: fixed;
|
|
3
|
-
height: 100%;
|
|
4
|
-
left: 0;
|
|
5
|
-
bottom: 0;
|
|
6
|
-
z-index: -1;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.login-container {
|
|
10
|
-
width: 100vw;
|
|
11
|
-
height: 100vh;
|
|
12
|
-
display: flex;
|
|
13
|
-
justify-content: flex-end;
|
|
14
|
-
background-color: #2a5f97;
|
|
15
|
-
/* background: url('../assets/login/default-bg.png') no-repeat center; */
|
|
16
|
-
background-repeat: no-repeat;
|
|
17
|
-
background-position: center;
|
|
18
|
-
/* display: grid; */
|
|
19
|
-
/* grid-template-columns: repeat(2, 1fr); */
|
|
20
|
-
/* grid-gap: 18rem; */
|
|
21
|
-
background-size: cover;
|
|
22
|
-
/* padding: 0 2rem; */
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.img {
|
|
26
|
-
display: flex;
|
|
27
|
-
justify-content: flex-end;
|
|
28
|
-
align-items: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.img img {
|
|
32
|
-
width: 800px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.login-box {
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
text-align: center;
|
|
39
|
-
padding-right: 60px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.login-form {
|
|
43
|
-
width: 360px;
|
|
44
|
-
padding: 20px;
|
|
45
|
-
background: url('../assets/images/login.png') no-repeat center;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.avatar {
|
|
49
|
-
width: 350px;
|
|
50
|
-
height: 80px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.login-form h2 {
|
|
54
|
-
text-transform: uppercase;
|
|
55
|
-
margin: 15px 0;
|
|
56
|
-
color: #fff;
|
|
57
|
-
font:
|
|
58
|
-
bold 200% Consolas,
|
|
59
|
-
Monaco,
|
|
60
|
-
monospace;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.input-group {
|
|
64
|
-
position: relative;
|
|
65
|
-
display: grid;
|
|
66
|
-
grid-template-columns: 7% 93%;
|
|
67
|
-
margin: 25px 0;
|
|
68
|
-
padding: 5px 0;
|
|
69
|
-
border-bottom: 2px solid #d9d9d9;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.input-group:nth-child(1) {
|
|
73
|
-
margin-bottom: 4px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.input-group::before,
|
|
77
|
-
.input-group::after {
|
|
78
|
-
content: '';
|
|
79
|
-
position: absolute;
|
|
80
|
-
bottom: -2px;
|
|
81
|
-
width: 0;
|
|
82
|
-
height: 2px;
|
|
83
|
-
background-color: #c5d3f7;
|
|
84
|
-
transition: 0.5s;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.input-group::after {
|
|
88
|
-
right: 50%;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.input-group::before {
|
|
92
|
-
left: 50%;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.icon {
|
|
96
|
-
display: flex;
|
|
97
|
-
justify-content: center;
|
|
98
|
-
align-items: center;
|
|
99
|
-
color: #fff;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.icon svg {
|
|
103
|
-
color: #fff;
|
|
104
|
-
transition: 0.5s;
|
|
105
|
-
height: 20px;
|
|
106
|
-
width: 20px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.input-group > div {
|
|
110
|
-
position: relative;
|
|
111
|
-
height: 45px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.input-group > div > h5 {
|
|
115
|
-
position: absolute;
|
|
116
|
-
left: 10px;
|
|
117
|
-
top: 50%;
|
|
118
|
-
transform: translateY(-50%);
|
|
119
|
-
color: #fff;
|
|
120
|
-
font-size: 18px;
|
|
121
|
-
transition: 0.3s;
|
|
122
|
-
margin: 0;
|
|
123
|
-
padding: 0;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.input-group.focus .icon svg {
|
|
127
|
-
color: #fff;
|
|
128
|
-
height: 20px;
|
|
129
|
-
width: 20px;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.input-group.focus div h5 {
|
|
133
|
-
top: -5px;
|
|
134
|
-
font-size: 15px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.input-group.focus::after,
|
|
138
|
-
.input-group.focus::before {
|
|
139
|
-
width: 50%;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.input {
|
|
143
|
-
position: absolute;
|
|
144
|
-
width: 100%;
|
|
145
|
-
/* height: 100%; */
|
|
146
|
-
top: 0;
|
|
147
|
-
left: 0;
|
|
148
|
-
border: none;
|
|
149
|
-
outline: none;
|
|
150
|
-
/* background: none; */
|
|
151
|
-
padding: 0.5rem 0.7rem;
|
|
152
|
-
font-size: 16px;
|
|
153
|
-
/* color: #fff; */
|
|
154
|
-
font-family: 'Roboto', sans-serif;
|
|
155
|
-
|
|
156
|
-
height: 36px;
|
|
157
|
-
border-radius: 5px;
|
|
158
|
-
top: 5px;
|
|
159
|
-
margin-left: 5px;
|
|
160
|
-
background-color: #fff;
|
|
161
|
-
color: #000;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.input-group.focus.input {
|
|
165
|
-
height: 36px;
|
|
166
|
-
border-radius: 5px;
|
|
167
|
-
top: 5px;
|
|
168
|
-
margin-left: 5px;
|
|
169
|
-
/* width: calc(100%-10px); */
|
|
170
|
-
background-color: #fff;
|
|
171
|
-
color: #000;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
a {
|
|
175
|
-
display: block;
|
|
176
|
-
text-align: right;
|
|
177
|
-
text-decoration: none;
|
|
178
|
-
color: #999;
|
|
179
|
-
font-size: 0.9rem;
|
|
180
|
-
transition: 0.3s;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
a:hover {
|
|
184
|
-
color: #5392f0;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/* .btn, */
|
|
188
|
-
/* .btn::before {
|
|
189
|
-
display: block;
|
|
190
|
-
width: 100%;
|
|
191
|
-
height: 40px;
|
|
192
|
-
border-radius: 10px;
|
|
193
|
-
margin: 1rem 0;
|
|
194
|
-
font-size: 1.2rem;
|
|
195
|
-
outline: none;
|
|
196
|
-
border: none;
|
|
197
|
-
background-image: linear-gradient(to right, #567dbe, #5392f0, #567dbe);
|
|
198
|
-
cursor: pointer;
|
|
199
|
-
color: #fff;
|
|
200
|
-
text-transform: uppercase;
|
|
201
|
-
font-family: 'Roboto', sans-serif;
|
|
202
|
-
background-size: 200%;
|
|
203
|
-
transition: 0.5s;
|
|
204
|
-
} */
|
|
205
|
-
|
|
206
|
-
.btn:hover {
|
|
207
|
-
background-position: right;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.btn,
|
|
211
|
-
.btn::before {
|
|
212
|
-
display: block;
|
|
213
|
-
width: 100%;
|
|
214
|
-
height: 40px;
|
|
215
|
-
line-height: 40px;
|
|
216
|
-
text-align: center;
|
|
217
|
-
border-radius: 10px;
|
|
218
|
-
font-size: 1.2rem;
|
|
219
|
-
outline: none;
|
|
220
|
-
border: none;
|
|
221
|
-
background-image: linear-gradient(to right, #567dbe, #5392f0, #567dbe);
|
|
222
|
-
cursor: pointer;
|
|
223
|
-
color: #fff;
|
|
224
|
-
text-transform: uppercase;
|
|
225
|
-
font-family: 'Roboto', sans-serif;
|
|
226
|
-
background-size: 200%;
|
|
227
|
-
transition: 0.5s;
|
|
228
|
-
}
|
|
229
|
-
.btn {
|
|
230
|
-
position: relative;
|
|
231
|
-
/* background: #5ad; */
|
|
232
|
-
/* color: #fff; */
|
|
233
|
-
cursor: pointer;
|
|
234
|
-
}
|
|
235
|
-
.btn::before {
|
|
236
|
-
content: '正在登录,请稍后...';
|
|
237
|
-
position: absolute;
|
|
238
|
-
display: none;
|
|
239
|
-
z-index: 2;
|
|
240
|
-
top: 0;
|
|
241
|
-
left: 0;
|
|
242
|
-
color: #fff;
|
|
243
|
-
text-shadow: rgba(100, 0, 0, 1) 0 0 3px;
|
|
244
|
-
background: linear-gradient(
|
|
245
|
-
45deg,
|
|
246
|
-
/* #fc0 0%,
|
|
247
|
-
#fc0 20%,
|
|
248
|
-
#fa0 20%,
|
|
249
|
-
#fa0 45%,
|
|
250
|
-
#fc0 45%,
|
|
251
|
-
#fc0 70%,
|
|
252
|
-
#fa0 70%,
|
|
253
|
-
#fa0 95%,
|
|
254
|
-
#fc0 95%,
|
|
255
|
-
#fc0 100% */
|
|
256
|
-
#4169e1 0%,
|
|
257
|
-
#4169e1 20%,
|
|
258
|
-
#5a7de7 20%,
|
|
259
|
-
#5a7de7 45%,
|
|
260
|
-
#4169e1 45%,
|
|
261
|
-
#4169e1 70%,
|
|
262
|
-
#5a7de7 70%,
|
|
263
|
-
#5a7de7 95%,
|
|
264
|
-
#4169e1 95%,
|
|
265
|
-
#4169e1 100%
|
|
266
|
-
);
|
|
267
|
-
background-size: 40px 40px;
|
|
268
|
-
background-position: 0 0;
|
|
269
|
-
animation: loading 1s infinite linear;
|
|
270
|
-
}
|
|
271
|
-
.btn.loading::before {
|
|
272
|
-
display: block;
|
|
273
|
-
}
|
|
274
|
-
@keyframes loading {
|
|
275
|
-
0% {
|
|
276
|
-
background-position: 0 0;
|
|
277
|
-
}
|
|
278
|
-
100% {
|
|
279
|
-
background-position: 40px 0;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.copyright {
|
|
284
|
-
position: absolute;
|
|
285
|
-
width: 100%;
|
|
286
|
-
height: 50px;
|
|
287
|
-
bottom: 2px;
|
|
288
|
-
color: #5392f0;
|
|
289
|
-
text-align: center;
|
|
290
|
-
font-size: 18px;
|
|
291
|
-
font-family: 'Roboto', sans-serif;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
@media screen and (max-width: 1080px) {
|
|
295
|
-
.login-container {
|
|
296
|
-
grid-gap: 9rem;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
@media screen and (max-width: 1024px) {
|
|
301
|
-
.login-form {
|
|
302
|
-
width: 290px;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.login-form h2 {
|
|
306
|
-
font-size: 2.4rem;
|
|
307
|
-
margin: 8px 0;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.img img {
|
|
311
|
-
width: 360px;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.avatar {
|
|
315
|
-
width: 280px;
|
|
316
|
-
height: 80px;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
@media screen and (max-width: 768px) {
|
|
321
|
-
.wave {
|
|
322
|
-
display: none;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.img {
|
|
326
|
-
display: none;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.login-container {
|
|
330
|
-
grid-template-columns: 1fr;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.login-box {
|
|
334
|
-
justify-content: center;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
1
|
+
.wave {
|
|
2
|
+
position: fixed;
|
|
3
|
+
height: 100%;
|
|
4
|
+
left: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
z-index: -1;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.login-container {
|
|
10
|
+
width: 100vw;
|
|
11
|
+
height: 100vh;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: flex-end;
|
|
14
|
+
background-color: #2a5f97;
|
|
15
|
+
/* background: url('../assets/login/default-bg.png') no-repeat center; */
|
|
16
|
+
background-repeat: no-repeat;
|
|
17
|
+
background-position: center;
|
|
18
|
+
/* display: grid; */
|
|
19
|
+
/* grid-template-columns: repeat(2, 1fr); */
|
|
20
|
+
/* grid-gap: 18rem; */
|
|
21
|
+
background-size: cover;
|
|
22
|
+
/* padding: 0 2rem; */
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.img {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: flex-end;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.img img {
|
|
32
|
+
width: 800px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.login-box {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
text-align: center;
|
|
39
|
+
padding-right: 60px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.login-form {
|
|
43
|
+
width: 360px;
|
|
44
|
+
padding: 20px;
|
|
45
|
+
background: url('../assets/images/login.png') no-repeat center;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.avatar {
|
|
49
|
+
width: 350px;
|
|
50
|
+
height: 80px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.login-form h2 {
|
|
54
|
+
text-transform: uppercase;
|
|
55
|
+
margin: 15px 0;
|
|
56
|
+
color: #fff;
|
|
57
|
+
font:
|
|
58
|
+
bold 200% Consolas,
|
|
59
|
+
Monaco,
|
|
60
|
+
monospace;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.input-group {
|
|
64
|
+
position: relative;
|
|
65
|
+
display: grid;
|
|
66
|
+
grid-template-columns: 7% 93%;
|
|
67
|
+
margin: 25px 0;
|
|
68
|
+
padding: 5px 0;
|
|
69
|
+
border-bottom: 2px solid #d9d9d9;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.input-group:nth-child(1) {
|
|
73
|
+
margin-bottom: 4px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.input-group::before,
|
|
77
|
+
.input-group::after {
|
|
78
|
+
content: '';
|
|
79
|
+
position: absolute;
|
|
80
|
+
bottom: -2px;
|
|
81
|
+
width: 0;
|
|
82
|
+
height: 2px;
|
|
83
|
+
background-color: #c5d3f7;
|
|
84
|
+
transition: 0.5s;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.input-group::after {
|
|
88
|
+
right: 50%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.input-group::before {
|
|
92
|
+
left: 50%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.icon {
|
|
96
|
+
display: flex;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
align-items: center;
|
|
99
|
+
color: #fff;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.icon svg {
|
|
103
|
+
color: #fff;
|
|
104
|
+
transition: 0.5s;
|
|
105
|
+
height: 20px;
|
|
106
|
+
width: 20px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.input-group > div {
|
|
110
|
+
position: relative;
|
|
111
|
+
height: 45px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.input-group > div > h5 {
|
|
115
|
+
position: absolute;
|
|
116
|
+
left: 10px;
|
|
117
|
+
top: 50%;
|
|
118
|
+
transform: translateY(-50%);
|
|
119
|
+
color: #fff;
|
|
120
|
+
font-size: 18px;
|
|
121
|
+
transition: 0.3s;
|
|
122
|
+
margin: 0;
|
|
123
|
+
padding: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.input-group.focus .icon svg {
|
|
127
|
+
color: #fff;
|
|
128
|
+
height: 20px;
|
|
129
|
+
width: 20px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.input-group.focus div h5 {
|
|
133
|
+
top: -5px;
|
|
134
|
+
font-size: 15px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.input-group.focus::after,
|
|
138
|
+
.input-group.focus::before {
|
|
139
|
+
width: 50%;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.input {
|
|
143
|
+
position: absolute;
|
|
144
|
+
width: 100%;
|
|
145
|
+
/* height: 100%; */
|
|
146
|
+
top: 0;
|
|
147
|
+
left: 0;
|
|
148
|
+
border: none;
|
|
149
|
+
outline: none;
|
|
150
|
+
/* background: none; */
|
|
151
|
+
padding: 0.5rem 0.7rem;
|
|
152
|
+
font-size: 16px;
|
|
153
|
+
/* color: #fff; */
|
|
154
|
+
font-family: 'Roboto', sans-serif;
|
|
155
|
+
|
|
156
|
+
height: 36px;
|
|
157
|
+
border-radius: 5px;
|
|
158
|
+
top: 5px;
|
|
159
|
+
margin-left: 5px;
|
|
160
|
+
background-color: #fff;
|
|
161
|
+
color: #000;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.input-group.focus.input {
|
|
165
|
+
height: 36px;
|
|
166
|
+
border-radius: 5px;
|
|
167
|
+
top: 5px;
|
|
168
|
+
margin-left: 5px;
|
|
169
|
+
/* width: calc(100%-10px); */
|
|
170
|
+
background-color: #fff;
|
|
171
|
+
color: #000;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
a {
|
|
175
|
+
display: block;
|
|
176
|
+
text-align: right;
|
|
177
|
+
text-decoration: none;
|
|
178
|
+
color: #999;
|
|
179
|
+
font-size: 0.9rem;
|
|
180
|
+
transition: 0.3s;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
a:hover {
|
|
184
|
+
color: #5392f0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* .btn, */
|
|
188
|
+
/* .btn::before {
|
|
189
|
+
display: block;
|
|
190
|
+
width: 100%;
|
|
191
|
+
height: 40px;
|
|
192
|
+
border-radius: 10px;
|
|
193
|
+
margin: 1rem 0;
|
|
194
|
+
font-size: 1.2rem;
|
|
195
|
+
outline: none;
|
|
196
|
+
border: none;
|
|
197
|
+
background-image: linear-gradient(to right, #567dbe, #5392f0, #567dbe);
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
color: #fff;
|
|
200
|
+
text-transform: uppercase;
|
|
201
|
+
font-family: 'Roboto', sans-serif;
|
|
202
|
+
background-size: 200%;
|
|
203
|
+
transition: 0.5s;
|
|
204
|
+
} */
|
|
205
|
+
|
|
206
|
+
.btn:hover {
|
|
207
|
+
background-position: right;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.btn,
|
|
211
|
+
.btn::before {
|
|
212
|
+
display: block;
|
|
213
|
+
width: 100%;
|
|
214
|
+
height: 40px;
|
|
215
|
+
line-height: 40px;
|
|
216
|
+
text-align: center;
|
|
217
|
+
border-radius: 10px;
|
|
218
|
+
font-size: 1.2rem;
|
|
219
|
+
outline: none;
|
|
220
|
+
border: none;
|
|
221
|
+
background-image: linear-gradient(to right, #567dbe, #5392f0, #567dbe);
|
|
222
|
+
cursor: pointer;
|
|
223
|
+
color: #fff;
|
|
224
|
+
text-transform: uppercase;
|
|
225
|
+
font-family: 'Roboto', sans-serif;
|
|
226
|
+
background-size: 200%;
|
|
227
|
+
transition: 0.5s;
|
|
228
|
+
}
|
|
229
|
+
.btn {
|
|
230
|
+
position: relative;
|
|
231
|
+
/* background: #5ad; */
|
|
232
|
+
/* color: #fff; */
|
|
233
|
+
cursor: pointer;
|
|
234
|
+
}
|
|
235
|
+
.btn::before {
|
|
236
|
+
content: '正在登录,请稍后...';
|
|
237
|
+
position: absolute;
|
|
238
|
+
display: none;
|
|
239
|
+
z-index: 2;
|
|
240
|
+
top: 0;
|
|
241
|
+
left: 0;
|
|
242
|
+
color: #fff;
|
|
243
|
+
text-shadow: rgba(100, 0, 0, 1) 0 0 3px;
|
|
244
|
+
background: linear-gradient(
|
|
245
|
+
45deg,
|
|
246
|
+
/* #fc0 0%,
|
|
247
|
+
#fc0 20%,
|
|
248
|
+
#fa0 20%,
|
|
249
|
+
#fa0 45%,
|
|
250
|
+
#fc0 45%,
|
|
251
|
+
#fc0 70%,
|
|
252
|
+
#fa0 70%,
|
|
253
|
+
#fa0 95%,
|
|
254
|
+
#fc0 95%,
|
|
255
|
+
#fc0 100% */
|
|
256
|
+
#4169e1 0%,
|
|
257
|
+
#4169e1 20%,
|
|
258
|
+
#5a7de7 20%,
|
|
259
|
+
#5a7de7 45%,
|
|
260
|
+
#4169e1 45%,
|
|
261
|
+
#4169e1 70%,
|
|
262
|
+
#5a7de7 70%,
|
|
263
|
+
#5a7de7 95%,
|
|
264
|
+
#4169e1 95%,
|
|
265
|
+
#4169e1 100%
|
|
266
|
+
);
|
|
267
|
+
background-size: 40px 40px;
|
|
268
|
+
background-position: 0 0;
|
|
269
|
+
animation: loading 1s infinite linear;
|
|
270
|
+
}
|
|
271
|
+
.btn.loading::before {
|
|
272
|
+
display: block;
|
|
273
|
+
}
|
|
274
|
+
@keyframes loading {
|
|
275
|
+
0% {
|
|
276
|
+
background-position: 0 0;
|
|
277
|
+
}
|
|
278
|
+
100% {
|
|
279
|
+
background-position: 40px 0;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.copyright {
|
|
284
|
+
position: absolute;
|
|
285
|
+
width: 100%;
|
|
286
|
+
height: 50px;
|
|
287
|
+
bottom: 2px;
|
|
288
|
+
color: #5392f0;
|
|
289
|
+
text-align: center;
|
|
290
|
+
font-size: 18px;
|
|
291
|
+
font-family: 'Roboto', sans-serif;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
@media screen and (max-width: 1080px) {
|
|
295
|
+
.login-container {
|
|
296
|
+
grid-gap: 9rem;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@media screen and (max-width: 1024px) {
|
|
301
|
+
.login-form {
|
|
302
|
+
width: 290px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.login-form h2 {
|
|
306
|
+
font-size: 2.4rem;
|
|
307
|
+
margin: 8px 0;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.img img {
|
|
311
|
+
width: 360px;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.avatar {
|
|
315
|
+
width: 280px;
|
|
316
|
+
height: 80px;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media screen and (max-width: 768px) {
|
|
321
|
+
.wave {
|
|
322
|
+
display: none;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.img {
|
|
326
|
+
display: none;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.login-container {
|
|
330
|
+
grid-template-columns: 1fr;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.login-box {
|
|
334
|
+
justify-content: center;
|
|
335
|
+
}
|
|
336
|
+
}
|