优化大屏的UI布局

This commit is contained in:
lyswhut
2022-03-11 21:36:33 +08:00
parent 377f665361
commit fc72d99ab3
7 changed files with 32 additions and 22 deletions
+1 -10
View File
@@ -17,16 +17,7 @@
import { useRefGetter, watch, onMounted } from '@renderer/utils/vueTools'
import useApp from '@renderer/core/useApp'
import { isFullscreen } from '@renderer/core/share'
const getFontSizeWithScreen = screenWidth => {
return screenWidth <= 1440
? 16
: screenWidth <= 1920
? 18
: screenWidth <= 2560
? 20
: screenWidth <= 2560 ? 20 : 22
}
import { getFontSizeWithScreen } from '@renderer/utils'
export default {
setup() {