From b33f8485893a212a3aa0cadd62d382f0c46f22aa Mon Sep 17 00:00:00 2001 From: lyswhut Date: Mon, 20 Mar 2023 17:15:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E5=B0=8F=E6=A8=AA=E5=B1=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/screens/PlayDetail/Horizontal/Player/ControlBtn.tsx | 2 +- src/screens/PlayDetail/Horizontal/Player/PlayInfo.tsx | 7 +++++-- src/screens/PlayDetail/Horizontal/Player/index.tsx | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/screens/PlayDetail/Horizontal/Player/ControlBtn.tsx b/src/screens/PlayDetail/Horizontal/Player/ControlBtn.tsx index 6e36933..db4f530 100644 --- a/src/screens/PlayDetail/Horizontal/Player/ControlBtn.tsx +++ b/src/screens/PlayDetail/Horizontal/Player/ControlBtn.tsx @@ -7,7 +7,7 @@ import { playNext, playPrev, togglePlay } from '@/core/player/player' import { scaleSizeW } from '@/utils/pixelRatio' import { useIsPlay } from '@/store/player/hook' -const WIDTH = scaleSizeW(50) +const WIDTH = scaleSizeW(48) const PrevBtn = () => { const theme = useTheme() diff --git a/src/screens/PlayDetail/Horizontal/Player/PlayInfo.tsx b/src/screens/PlayDetail/Horizontal/Player/PlayInfo.tsx index 1fceaf7..c1cec2d 100644 --- a/src/screens/PlayDetail/Horizontal/Player/PlayInfo.tsx +++ b/src/screens/PlayDetail/Horizontal/Player/PlayInfo.tsx @@ -27,7 +27,7 @@ export default () => { // console.log('render playInfo') return ( - <> + @@ -39,12 +39,15 @@ export default () => { - + ) } const styles = createStyle({ + container: { + paddingLeft: 15, + }, progress: { flexGrow: 1, flexShrink: 0, diff --git a/src/screens/PlayDetail/Horizontal/Player/index.tsx b/src/screens/PlayDetail/Horizontal/Player/index.tsx index 3039f8a..fc82871 100644 --- a/src/screens/PlayDetail/Horizontal/Player/index.tsx +++ b/src/screens/PlayDetail/Horizontal/Player/index.tsx @@ -25,7 +25,7 @@ const styles = createStyle({ container: { flexShrink: 0, flexGrow: 0, - paddingLeft: 15, + // paddingLeft: 15, // paddingRight: 15, }, controlBtn: { @@ -33,6 +33,7 @@ const styles = createStyle({ // alignItems: 'flex-end', justifyContent: 'space-between', paddingTop: 8, + paddingLeft: 5, // paddingBottom: 10, }, })