mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 13:22:10 +08:00
修复设置面板内容滚动问题
This commit is contained in:
parent
c8e5be3a7f
commit
cc9ae3e4f3
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -55,8 +55,8 @@ const styles = createStyle({
|
|||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
paddingLeft: '10%',
|
paddingLeft: '10%',
|
||||||
paddingRight: '10%',
|
paddingRight: '10%',
|
||||||
paddingTop: '6%',
|
paddingTop: '8.6%',
|
||||||
paddingBottom: '6%',
|
paddingBottom: '8.6%',
|
||||||
},
|
},
|
||||||
row: {
|
row: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import React, { forwardRef, useImperativeHandle, useRef, useState } from 'react'
|
import React, { forwardRef, useImperativeHandle, useRef, useState } from 'react'
|
||||||
|
import { ScrollView, View } from 'react-native'
|
||||||
import Popup, { type PopupType, type PopupProps } from '@/components/common/Popup'
|
import Popup, { type PopupType, type PopupProps } from '@/components/common/Popup'
|
||||||
import { useI18n } from '@/lang'
|
import { useI18n } from '@/lang'
|
||||||
|
|
||||||
@ -36,10 +37,14 @@ export default forwardRef<SettingPopupType, SettingPopupProps>((props, ref) => {
|
|||||||
visible
|
visible
|
||||||
? (
|
? (
|
||||||
<Popup ref={popupRef} title={t('play_detail_setting_title')} {...props}>
|
<Popup ref={popupRef} title={t('play_detail_setting_title')} {...props}>
|
||||||
<SettingVolume />
|
<ScrollView>
|
||||||
<SettingPlaybackRate />
|
<View onStartShouldSetResponder={() => true}>
|
||||||
<SettingLrcFontSize />
|
<SettingVolume />
|
||||||
<SettingLrcAlign />
|
<SettingPlaybackRate />
|
||||||
|
<SettingLrcFontSize />
|
||||||
|
<SettingLrcAlign />
|
||||||
|
</View>
|
||||||
|
</ScrollView>
|
||||||
</Popup>
|
</Popup>
|
||||||
)
|
)
|
||||||
: null
|
: null
|
||||||
|
@ -2,9 +2,10 @@ import { createStyle } from '@/utils/tools'
|
|||||||
|
|
||||||
export default createStyle({
|
export default createStyle({
|
||||||
container: {
|
container: {
|
||||||
|
paddingTop: 5,
|
||||||
paddingLeft: 15,
|
paddingLeft: 15,
|
||||||
paddingRight: 15,
|
paddingRight: 15,
|
||||||
marginBottom: 15,
|
paddingBottom: 15,
|
||||||
alignItems: 'flex-start',
|
alignItems: 'flex-start',
|
||||||
},
|
},
|
||||||
// title: {
|
// title: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user