mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 14:52:09 +08:00
调整菜单栏阴影
This commit is contained in:
parent
47a169e7f5
commit
b3e364542f
@ -20,11 +20,11 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
menu: {
|
menu: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
borderWidth: StyleSheet.hairlineWidth,
|
// borderWidth: StyleSheet.hairlineWidth,
|
||||||
borderColor: 'lightgray',
|
borderColor: 'lightgray',
|
||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
backgroundColor: 'white',
|
backgroundColor: 'white',
|
||||||
elevation: 1,
|
elevation: 3,
|
||||||
},
|
},
|
||||||
menuItem: {
|
menuItem: {
|
||||||
paddingLeft: 10,
|
paddingLeft: 10,
|
||||||
@ -92,7 +92,7 @@ const Menu = ({
|
|||||||
|
|
||||||
// console.log(menuStyle)
|
// console.log(menuStyle)
|
||||||
return (
|
return (
|
||||||
<View style={{ ...styles.menu, ...menuStyle, backgroundColor: theme.primary }} onStartShouldSetResponder={() => true}>
|
<View style={{ ...styles.menu, ...menuStyle }} onStartShouldSetResponder={() => true}>
|
||||||
<Animated.ScrollView keyboardShouldPersistTaps={'always'}>
|
<Animated.ScrollView keyboardShouldPersistTaps={'always'}>
|
||||||
{
|
{
|
||||||
menus.map((menu, index) => (
|
menus.map((menu, index) => (
|
||||||
|
@ -13,7 +13,7 @@ const styles = StyleSheet.create({
|
|||||||
// alignItems: 'center',
|
// alignItems: 'center',
|
||||||
},
|
},
|
||||||
modalView: {
|
modalView: {
|
||||||
elevation: 3,
|
elevation: 6,
|
||||||
flexGrow: 0,
|
flexGrow: 0,
|
||||||
flexShrink: 1,
|
flexShrink: 1,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user