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, }, })