| | |
| | | const days = date.daysInMonth(); |
| | | |
| | | // 强制 2025 年 6 月显示六行 |
| | | if (date.year() === 2025 && date.month() === 5) { |
| | | return 6; |
| | | } |
| | | //if (date.year() === 2025 && date.month() === 5) { |
| | | // return 6; |
| | | // } |
| | | |
| | | // 其他月份按原逻辑计算 |
| | | return Math.ceil((firstDay + days) / 7); |
| | |
| | | font-size: 14px; |
| | | color: #363636; |
| | | } |
| | | // .el-calendar-table .el-calendar-day { |
| | | // height: pxToVh(88) !important; |
| | | // } |
| | | |
| | | &.five-rows .el-calendar-table .el-calendar-day { |
| | | height: pxToVh(88) !important; |
| | | height: pxToVh(92) !important; |
| | | } |
| | | |
| | | &.six-rows .el-calendar-table .el-calendar-day { |