修复时间组件问题

This commit is contained in:
liaozetao
2023-09-27 14:51:21 +08:00
parent 6b0e5aa1f1
commit dadc1a4859
2 changed files with 3 additions and 4 deletions

View File

@@ -1580,12 +1580,12 @@
d: j.getUTCDate(), d: j.getUTCDate(),
D: a[q].daysShort[j.getUTCDay()], D: a[q].daysShort[j.getUTCDay()],
DD: a[q].days[j.getUTCDay()], DD: a[q].days[j.getUTCDay()],
p: (a[q].meridiem.length == 2 ? a[q].meridiem[j.getUTCHours() < 12 ? 0 : 1] : ""), p: ((a[q].meridiem && a[q].meridiem.length == 2) ? a[q].meridiem[j.getUTCHours() < 12 ? 0 : 1] : ""),
h: j.getUTCHours(), h: j.getUTCHours(),
i: j.getUTCMinutes(), i: j.getUTCMinutes(),
s: j.getUTCSeconds() s: j.getUTCSeconds()
}; };
if (a[q].meridiem.length == 2) { if (a[q].meridiem && a[q].meridiem.length == 2) {
p.H = (p.h % 12 == 0 ? 12 : p.h % 12) p.H = (p.h % 12 == 0 ? 12 : p.h % 12)
} else { } else {
p.H = p.h p.H = p.h

View File

@@ -53,7 +53,6 @@
.login_box .form-control { .login_box .form-control {
display: inline-block; display: inline-block;
*display: inline;
zoom: 1; zoom: 1;
width: auto; width: auto;
font-size: 18px; font-size: 18px;
@@ -112,7 +111,7 @@
height: 100%; height: 100%;
z-index: -1; z-index: -1;
overflow: hidden; overflow: hidden;
background: linear-gradient(to bottom right, #00BFFF, #00FFFF); background: linear-gradient(to bottom right, #7bbfea, #4e72b8);
} }
#bubble-wrapper li { #bubble-wrapper li {