优化 FileBrowser 和 TransferHistoryView 组件的高度计算逻辑,调整 Footer 组件的动态按钮样式和动画效果

This commit is contained in:
jxxghp
2025-04-21 08:38:21 +08:00
parent 93005518d2
commit 71437a2122
4 changed files with 92 additions and 56 deletions

View File

@@ -181,14 +181,14 @@ function fileListUpdated(items: FileItem[]) {
// 外层DIV大小控制
const scrollStyle = computed(() => {
return appMode
? 'height: calc(100vh - 10rem - env(safe-area-inset-bottom) - 6rem)'
? 'height: calc(100vh - 10rem - env(safe-area-inset-bottom) - 7rem)'
: 'height: calc(100vh - 10rem - env(safe-area-inset-bottom)'
})
// 文件列表大小限制
const fileListStyle = computed(() => {
return appMode
? 'height: calc(100vh - 14rem - env(safe-area-inset-bottom) - 6rem)'
? 'height: calc(100vh - 14rem - env(safe-area-inset-bottom) - 7rem)'
: 'height: calc(100vh - 14rem - env(safe-area-inset-bottom)'
})
</script>