mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 13:02:09 +08:00
调小横屏按钮边距
This commit is contained in:
parent
241fdb4818
commit
b33f848589
@ -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()
|
||||
|
@ -27,7 +27,7 @@ export default () => {
|
||||
// console.log('render playInfo')
|
||||
|
||||
return (
|
||||
<>
|
||||
<View style={styles.container}>
|
||||
<View style={styles.progress}><Progress progress={progress} duration={maxPlayTime} /></View>
|
||||
<View style={styles.info}>
|
||||
<View style={styles.status} >
|
||||
@ -39,12 +39,15 @@ export default () => {
|
||||
<PlayTimeMax timeStr={maxPlayTimeStr} />
|
||||
</View>
|
||||
</View>
|
||||
</>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
const styles = createStyle({
|
||||
container: {
|
||||
paddingLeft: 15,
|
||||
},
|
||||
progress: {
|
||||
flexGrow: 1,
|
||||
flexShrink: 0,
|
||||
|
@ -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,
|
||||
},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user