mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-05-23 22:37:41 +08:00
优化播放详情页竖屏布局适配
This commit is contained in:
parent
0cda246799
commit
84517f5c40
@ -61,6 +61,7 @@ const styles = createStyle({
|
||||
flexShrink: 1,
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
// backgroundColor: 'rgba(0,0,0,0.1)',
|
||||
},
|
||||
content: {
|
||||
// elevation: 3,
|
||||
|
@ -65,7 +65,7 @@ const styles = createStyle({
|
||||
flexGrow: 1,
|
||||
flexShrink: 1,
|
||||
paddingHorizontal: '4%',
|
||||
paddingVertical: 6,
|
||||
paddingVertical: 12,
|
||||
// backgroundColor: 'rgba(0, 0, 0, .1)',
|
||||
},
|
||||
cotrolBtn: {
|
||||
|
@ -31,7 +31,9 @@ const styles = createStyle({
|
||||
// paddingTop: progressContentPadding,
|
||||
// marginTop: -progressContentPadding,
|
||||
// backgroundColor: 'rgba(0, 0, 0, .1)',
|
||||
padding: 15,
|
||||
paddingHorizontal: 15,
|
||||
paddingBottom: 15,
|
||||
paddingTop: 5,
|
||||
// backgroundColor: AppColors.primary,
|
||||
// backgroundColor: 'red',
|
||||
flexDirection: 'column',
|
||||
|
@ -76,7 +76,7 @@ export default memo(({ componentId }: { componentId: string }) => {
|
||||
<PagerView
|
||||
onPageSelected={onPageSelected}
|
||||
// onPageScrollStateChanged={onPageScrollStateChanged}
|
||||
style={{ flexGrow: 0, flexShrink: 1, height: `${64 * global.lx.fontSize}%` }}
|
||||
style={{ flexGrow: 0, flexShrink: 1, height: '64%' }}
|
||||
>
|
||||
<View collapsable={false}>
|
||||
<Pic componentId={componentId} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user