commit
5fa72a5d50
|
@ -70,7 +70,7 @@
|
|||
c = ((new Date).getTime() - a) / (i - a) * 100,
|
||||
u = c <= 100 ? c + "%" : "100%",
|
||||
m = c <= 100 ? c.toFixed(0) + "%" : "已达标 ";
|
||||
n.style.setProperty("--past-time-percentage", c + "%"), t.style.setProperty("--progress-percentage", u), o.textContent = m, o.style.left = `calc(${c}% - 33px)`, r.textContent = "" + new Date(a).toLocaleDateString(), s.textContent = "" + new Date(i).toLocaleDateString(), setTimeout(() => {
|
||||
n.style.setProperty("--past-time-percentage", c + "%"), t.style.setProperty("--progress-percentage", u), o.textContent = m, o.style.left = `calc(${c}% - 3rem)`, r.textContent = "" + new Date(a).toLocaleDateString(), s.textContent = "" + new Date(i).toLocaleDateString(), setTimeout(() => {
|
||||
o.style.visibility = "visible"
|
||||
}, 2500);
|
||||
})()
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
|
||||
.author-content-item.map:hover .map-title {
|
||||
bottom: -100%;
|
||||
border-radius: 0 0 1rem 1rem;
|
||||
}
|
||||
|
||||
.author-content-item.map .map-title b {
|
||||
|
|
Loading…
Reference in New Issue