调整多个组件的样式,修正高度计算并移除 scoped 样式

This commit is contained in:
jxxghp
2025-03-31 19:27:47 +08:00
parent 5a8eb5b10e
commit 9055b95d00
4 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -174,15 +174,15 @@ function fileListUpdated(items: FileItem[]) {
// 外层DIV大小控制
const scrollStyle = computed(() => {
return appMode
? 'height: calc(100vh - 12rem - env(safe-area-inset-bottom) - 3.5rem)'
: 'height: calc(100vh - 10.5rem - env(safe-area-inset-bottom)'
? 'height: calc(100vh - 10rem - env(safe-area-inset-bottom) - 6rem)'
: 'height: calc(100vh - 10rem - env(safe-area-inset-bottom)'
})
// 文件列表大小限制
const fileListStyle = computed(() => {
return appMode
? 'height: calc(100vh - 16rem - env(safe-area-inset-bottom) - 3.5rem)'
: 'height: calc(100vh - 14.5rem - env(safe-area-inset-bottom)'
? 'height: calc(100vh - 14rem - env(safe-area-inset-bottom) - 6rem)'
: 'height: calc(100vh - 14rem - env(safe-area-inset-bottom)'
})
</script>