From 1b6263bc194e761b18c61f86a82b67c7d2eaa5df Mon Sep 17 00:00:00 2001 From: lyswhut Date: Thu, 23 Dec 2021 16:00:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E5=9B=BE=E7=89=87=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/screens/PlayDetail/Landscape/Pic.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/screens/PlayDetail/Landscape/Pic.js b/src/screens/PlayDetail/Landscape/Pic.js index ddfe2902..b0e892bc 100644 --- a/src/screens/PlayDetail/Landscape/Pic.js +++ b/src/screens/PlayDetail/Landscape/Pic.js @@ -12,7 +12,8 @@ export default memo(({ componentId, animated }) => { return (playMusicInfo && playMusicInfo.musicInfo) || {} }, [playMusicInfo]) - const imgWidth = getWindowSise().width * 0.5 * 0.42 + const { width: winWidth, height: winHeight } = getWindowSise() + const imgWidth = Math.min(winWidth * 0.6 * 0.45, winHeight * 0.5) return (