罗广聪

修改头像,返回按钮文案,全部产品的跳转有问题

... ... @@ -91,6 +91,7 @@ const ProtectGod = StackNavigator(
},{
navigationOptions: {
// headerTintColor: "blue",
headerBackTitle: "返回",
headerStyle: {
backgroundColor: "white"
}
... ...

12.7 KB | W: | H:

76.4 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -37,7 +37,6 @@ export default class AllProduct extends Component {
const { navigate } = this.props.navigation;
return (
<View style={styles.container}>
{/* <NewsList /> */}
<ScrollView
style={styles.scrollViewContainer}
automaticallyAdjustContentInsets={false}
... ... @@ -47,7 +46,7 @@ export default class AllProduct extends Component {
<TouchableOpacity
style={styles.itemContainer}
key={index}
onPress={() => navigate("CommonWebView", { item: item })}
onPress={() => navigate("CommonWebview", { item: item })}
>
<Image style={styles.itemImgWrapper} source={item.imgurl} />
<View style={styles.itemRightWrapper}>
... ... @@ -75,7 +74,6 @@ const styles = StyleSheet.create({
},
scrollViewContainer: {
height: 300
// backgroundColor: "red"
},
scrollViewText: {
color: "#7A7A7A",
... ...
... ... @@ -177,10 +177,10 @@ export default class Mine extends Component {
}}
>
<View style={styles.itemLeft}>
<Image
{/* <Image
style={styles.leftIcon}
source={require("../../assets/tabbar/ic_circle_s.png")}
/>
/> */}
<Text style={styles.leftTitle}>设置昵称</Text>
</View>
<View style={styles.itemRight}>
... ... @@ -207,10 +207,10 @@ export default class Mine extends Component {
}}
>
<View style={styles.itemLeft}>
<Image
{/* <Image
style={styles.leftIcon}
source={require("../../assets/tabbar/ic_circle_s.png")}
/>
/> */}
<Text style={styles.leftTitle}>设置职业</Text>
</View>
<View style={styles.itemRight}>
... ...