maochaoying 2 years ago
parent
commit
a0dd5addbc
  1. 4
      src/common/utils.js

4
src/common/utils.js

@ -8,7 +8,6 @@ export const handleScreenAuto = (showEmpty, id) => {
handleBottomFont(id, scale) handleBottomFont(id, scale)
handleImgScale(id, scale) handleImgScale(id, scale)
handleCooperation(id, scale) handleCooperation(id, scale)
handleSwiper(id, scale)
showEmpty.value = false showEmpty.value = false
} else { } else {
if (clientHeight >= 1764) { if (clientHeight >= 1764) {
@ -17,7 +16,6 @@ export const handleScreenAuto = (showEmpty, id) => {
handleBottomFont(id, scale) handleBottomFont(id, scale)
handleImgScale(id, scale) handleImgScale(id, scale)
handleCooperation(id, scale) handleCooperation(id, scale)
handleSwiper(id, scale)
showEmpty.value = false showEmpty.value = false
} else { } else {
if (clientHeight >= 1323) { if (clientHeight >= 1323) {
@ -26,7 +24,6 @@ export const handleScreenAuto = (showEmpty, id) => {
handleBottomFont(id, scale) handleBottomFont(id, scale)
handleImgScale(id, scale) handleImgScale(id, scale)
handleCooperation(id, scale) handleCooperation(id, scale)
handleSwiper(id, scale)
showEmpty.value = false showEmpty.value = false
} else { } else {
const scale = 1080 / clientHeight const scale = 1080 / clientHeight
@ -34,7 +31,6 @@ export const handleScreenAuto = (showEmpty, id) => {
handleBottomFont(id, scale) handleBottomFont(id, scale)
handleImgScale(id, scale) handleImgScale(id, scale)
handleCooperation(id, scale) handleCooperation(id, scale)
handleSwiper(id, scale)
showEmpty.value = false showEmpty.value = false
} }
} }

Loading…
Cancel
Save