Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-08-26 11:56:35 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3ba7797824d1e64a25d128b60639566b815b6a1d
3ba77978
1 parent
59f66741
fix(IndexCheckInPage): 调整小屏和平板设备的日历高度比例
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/checkin/IndexCheckInPage.vue
src/views/checkin/IndexCheckInPage.vue
View file @
3ba7797
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-08-26 1
0:14:04
* @LastEditTime: 2025-08-26 1
1:52:20
* @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue
* @Description: 文件描述
-->
...
...
@@ -211,13 +211,13 @@ const calendarHeight = computed(() => {
if (windowWidth.value < 375) {
// 小屏手机
heightRatio = 0.
7
5;
heightRatio = 0.
9
5;
} else if (windowWidth.value < 414) {
// 中等屏幕手机
heightRatio = 0.95;
} else if (windowWidth.value >= 768) {
// 平板或更大屏幕
heightRatio = 0.
7
5;
heightRatio = 0.
9
5;
}
const calculatedHeight = Math.floor(availableHeight * heightRatio);
...
...
Please
register
or
login
to post a comment