From 9b43fb6387d7f4fb46e798e2e4ecd7e18f8976e7 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 21 Jan 2022 08:59:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A8=AA=E5=B1=8F=E4=B8=8B?= =?UTF-8?q?=E7=9A=84=E6=92=AD=E6=94=BE=E8=AF=A6=E6=83=85=E9=A1=B5=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6=E6=A0=8F=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/screens/PlayDetail/Landscape/PlayBar/Progress.js | 4 ++-- src/screens/PlayDetail/Landscape/PlayBar/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screens/PlayDetail/Landscape/PlayBar/Progress.js b/src/screens/PlayDetail/Landscape/PlayBar/Progress.js index 87072b7..a2abad9 100644 --- a/src/screens/PlayDetail/Landscape/PlayBar/Progress.js +++ b/src/screens/PlayDetail/Landscape/PlayBar/Progress.js @@ -52,8 +52,8 @@ const Progress = ({ progress, bufferedProgress, duration }) => { const { width } = getWindowSise() const progressContentPadding = width * 0.0140625 -const progressHeight = width * 0.0046875 -const progressDotSize = progressHeight * 4 +const progressHeight = width * 0.005 +const progressDotSize = progressHeight * 3.8 const styles = StyleSheet.create({ progress: { width: '100%', diff --git a/src/screens/PlayDetail/Landscape/PlayBar/index.js b/src/screens/PlayDetail/Landscape/PlayBar/index.js index 3345a77..44dd668 100644 --- a/src/screens/PlayDetail/Landscape/PlayBar/index.js +++ b/src/screens/PlayDetail/Landscape/PlayBar/index.js @@ -20,7 +20,7 @@ const PlayTimeMax = memo(({ timeStr, size }) => { export default () => { const { curTimeStr, maxTimeStr, progress, bufferedProgress, duration } = usePlayTime() const { window } = useDimensions() - const size = useMemo(() => window.width * 0.4 * 0.4 * 0.14, [window.width]) + const size = useMemo(() => window.width * 0.4 * 0.4 * 0.125, [window.width]) return (