Authored by 叶弯弯

修改我的页面navbar背景,调整UserContainer高度。

... ... @@ -51,7 +51,7 @@ export default class NavBar extends React.Component {
<Animated.View style={[styles.header, this.props.navigationBarStyle, state.navigationBarStyle, selected.navigationBarStyle]}
>
<Image source={require('../images/navbar.png')} style={[styles.image, CONFIG.sceneKey.user === sceneKey && styles.imageMy]}>
<Image source={CONFIG.sceneKey.user === sceneKey ? require('../images/mybg.png') : require('../images/navbar.png')} style={[styles.image, CONFIG.sceneKey.user === sceneKey && styles.imageMy]}>
{selected.renderTitle ? selected.renderTitle(state) : state.children.map(this._renderTitle, this)}
{renderBackButton() || renderLeftButton()}
{renderRightButton()}
... ...
... ... @@ -75,7 +75,7 @@ const styles = StyleSheet.create({
padding: 10,
},
listView: {
marginTop: 56,
},
separator: {
... ...
... ... @@ -83,7 +83,7 @@ class UserContainer extends Component {
}
let {width, height} = Dimensions.get('window');
let navbarHeight = (Platform.OS === 'android') ? 50 : 64;
let navbarHeight = 120;
let styles = StyleSheet.create({
container: {
... ...