fix
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 17s
Docker Build & Deploy / Deploy to Production (push) Successful in 11s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s

This commit is contained in:
孙诚
2026-01-15 18:42:32 +08:00
parent c80e5daf7d
commit df3a06051b

View File

@@ -78,7 +78,7 @@ onMounted(async () => {
await nextTick();
setTimeout(() => {
// 计算页面高度滚动3/4高度以显示更多日期
const height = document.querySelector(".calendar-container").clientHeight * 0.55;
const height = document.querySelector(".calendar-container").clientHeight * 0.50;
document.querySelector(".van-calendar__body").scrollBy({
top: -height,
behavior: "smooth",
@@ -315,7 +315,7 @@ onBeforeUnmount(() => {
}
.calendar-container :deep(.van-calendar) {
height: auto !important;
height: calc(auto + 20px) !important;
flex: 1;
overflow: auto;
margin: 0;