...
|
...
|
@@ -33,11 +33,11 @@ export default class NavBarTitle extends React.Component { |
|
|
);
|
|
|
} else if (width == 375) {
|
|
|
return (
|
|
|
<Text style={[styles.text, {marginLeft: 6.5}]}>逛</Text>
|
|
|
<Text style={[styles.text, {marginLeft: 6.5, marginTop: 2}]}>逛</Text>
|
|
|
);
|
|
|
} else {
|
|
|
return (
|
|
|
<Text style={[styles.text, {marginLeft:7}]}>逛</Text>
|
|
|
<Text style={[styles.text, {marginLeft: 7.2}]}>逛</Text>
|
|
|
);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -166,7 +166,10 @@ export default class NavBarTitle extends React.Component { |
|
|
|
|
|
render() {
|
|
|
let index = this.props.index;
|
|
|
|
|
|
let lineTop = 30;
|
|
|
if (width == 320) {
|
|
|
lineTop = 31;
|
|
|
}
|
|
|
return (
|
|
|
<Animated.View
|
|
|
style={[
|
...
|
...
|
@@ -208,7 +211,7 @@ export default class NavBarTitle extends React.Component { |
|
|
width: 45,
|
|
|
height: 2,
|
|
|
left: (titleWidth - 45) / 2 + 6,
|
|
|
top: 30,
|
|
|
top: lineTop,
|
|
|
}}/>
|
|
|
</Animated.View>
|
|
|
);
|
...
|
...
|
|