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: {
|
||||
position: 'absolute',
|
||||
borderWidth: StyleSheet.hairlineWidth,
|
||||
// borderWidth: StyleSheet.hairlineWidth,
|
||||
borderColor: 'lightgray',
|
||||
borderRadius: 2,
|
||||
backgroundColor: 'white',
|
||||
elevation: 1,
|
||||
elevation: 3,
|
||||
},
|
||||
menuItem: {
|
||||
paddingLeft: 10,
|
||||
@ -92,7 +92,7 @@ const Menu = ({
|
||||
|
||||
// console.log(menuStyle)
|
||||
return (
|
||||
<View style={{ ...styles.menu, ...menuStyle, backgroundColor: theme.primary }} onStartShouldSetResponder={() => true}>
|
||||
<View style={{ ...styles.menu, ...menuStyle }} onStartShouldSetResponder={() => true}>
|
||||
<Animated.ScrollView keyboardShouldPersistTaps={'always'}>
|
||||
{
|
||||
menus.map((menu, index) => (
|
||||
|
@ -13,7 +13,7 @@ const styles = StyleSheet.create({
|
||||
// alignItems: 'center',
|
||||
},
|
||||
modalView: {
|
||||
elevation: 3,
|
||||
elevation: 6,
|
||||
flexGrow: 0,
|
||||
flexShrink: 1,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user