mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 18:32:10 +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 { scaleSizeW } from '@/utils/pixelRatio'
|
||||||
import { useIsPlay } from '@/store/player/hook'
|
import { useIsPlay } from '@/store/player/hook'
|
||||||
|
|
||||||
const WIDTH = scaleSizeW(50)
|
const WIDTH = scaleSizeW(48)
|
||||||
|
|
||||||
const PrevBtn = () => {
|
const PrevBtn = () => {
|
||||||
const theme = useTheme()
|
const theme = useTheme()
|
||||||
|
@ -27,7 +27,7 @@ export default () => {
|
|||||||
// console.log('render playInfo')
|
// console.log('render playInfo')
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<View style={styles.container}>
|
||||||
<View style={styles.progress}><Progress progress={progress} duration={maxPlayTime} /></View>
|
<View style={styles.progress}><Progress progress={progress} duration={maxPlayTime} /></View>
|
||||||
<View style={styles.info}>
|
<View style={styles.info}>
|
||||||
<View style={styles.status} >
|
<View style={styles.status} >
|
||||||
@ -39,12 +39,15 @@ export default () => {
|
|||||||
<PlayTimeMax timeStr={maxPlayTimeStr} />
|
<PlayTimeMax timeStr={maxPlayTimeStr} />
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</>
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const styles = createStyle({
|
const styles = createStyle({
|
||||||
|
container: {
|
||||||
|
paddingLeft: 15,
|
||||||
|
},
|
||||||
progress: {
|
progress: {
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
|
@ -25,7 +25,7 @@ const styles = createStyle({
|
|||||||
container: {
|
container: {
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
flexGrow: 0,
|
flexGrow: 0,
|
||||||
paddingLeft: 15,
|
// paddingLeft: 15,
|
||||||
// paddingRight: 15,
|
// paddingRight: 15,
|
||||||
},
|
},
|
||||||
controlBtn: {
|
controlBtn: {
|
||||||
@ -33,6 +33,7 @@ const styles = createStyle({
|
|||||||
// alignItems: 'flex-end',
|
// alignItems: 'flex-end',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
paddingTop: 8,
|
paddingTop: 8,
|
||||||
|
paddingLeft: 5,
|
||||||
// paddingBottom: 10,
|
// paddingBottom: 10,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user