test
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 19s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
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:54:08 +08:00
parent df3a06051b
commit caf6f3fe60
2 changed files with 48 additions and 17 deletions

View File

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