hookehuyr

fix(页面布局): 调整日历组件在不同屏幕尺寸下的高度比例

优化移动端和平板设备上日历显示区域的高度比例,提升用户体验
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-30 17:09:48
* @LastEditTime: 2025-08-26 09:53:56
* @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue
* @Description: 文件描述
-->
......@@ -211,13 +211,13 @@ const calendarHeight = computed(() => {
if (windowWidth.value < 375) {
// 小屏手机
heightRatio = 0.45;
heightRatio = 0.75;
} else if (windowWidth.value < 414) {
// 中等屏幕手机
heightRatio = 0.42;
heightRatio = 0.82;
} else if (windowWidth.value >= 768) {
// 平板或更大屏幕
heightRatio = 0.35;
heightRatio = 0.75;
}
const calculatedHeight = Math.floor(availableHeight * heightRatio);
......