罗广聪

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

@@ -91,6 +91,7 @@ const ProtectGod = StackNavigator( @@ -91,6 +91,7 @@ const ProtectGod = StackNavigator(
91 },{ 91 },{
92 navigationOptions: { 92 navigationOptions: {
93 // headerTintColor: "blue", 93 // headerTintColor: "blue",
  94 + headerBackTitle: "返回",
94 headerStyle: { 95 headerStyle: {
95 backgroundColor: "white" 96 backgroundColor: "white"
96 } 97 }

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 { @@ -37,7 +37,6 @@ export default class AllProduct extends Component {
37 const { navigate } = this.props.navigation; 37 const { navigate } = this.props.navigation;
38 return ( 38 return (
39 <View style={styles.container}> 39 <View style={styles.container}>
40 - {/* <NewsList /> */}  
41 <ScrollView 40 <ScrollView
42 style={styles.scrollViewContainer} 41 style={styles.scrollViewContainer}
43 automaticallyAdjustContentInsets={false} 42 automaticallyAdjustContentInsets={false}
@@ -47,7 +46,7 @@ export default class AllProduct extends Component { @@ -47,7 +46,7 @@ export default class AllProduct extends Component {
47 <TouchableOpacity 46 <TouchableOpacity
48 style={styles.itemContainer} 47 style={styles.itemContainer}
49 key={index} 48 key={index}
50 - onPress={() => navigate("CommonWebView", { item: item })} 49 + onPress={() => navigate("CommonWebview", { item: item })}
51 > 50 >
52 <Image style={styles.itemImgWrapper} source={item.imgurl} /> 51 <Image style={styles.itemImgWrapper} source={item.imgurl} />
53 <View style={styles.itemRightWrapper}> 52 <View style={styles.itemRightWrapper}>
@@ -75,7 +74,6 @@ const styles = StyleSheet.create({ @@ -75,7 +74,6 @@ const styles = StyleSheet.create({
75 }, 74 },
76 scrollViewContainer: { 75 scrollViewContainer: {
77 height: 300 76 height: 300
78 - // backgroundColor: "red"  
79 }, 77 },
80 scrollViewText: { 78 scrollViewText: {
81 color: "#7A7A7A", 79 color: "#7A7A7A",
@@ -177,10 +177,10 @@ export default class Mine extends Component { @@ -177,10 +177,10 @@ export default class Mine extends Component {
177 }} 177 }}
178 > 178 >
179 <View style={styles.itemLeft}> 179 <View style={styles.itemLeft}>
180 - <Image 180 + {/* <Image
181 style={styles.leftIcon} 181 style={styles.leftIcon}
182 source={require("../../assets/tabbar/ic_circle_s.png")} 182 source={require("../../assets/tabbar/ic_circle_s.png")}
183 - /> 183 + /> */}
184 <Text style={styles.leftTitle}>设置昵称</Text> 184 <Text style={styles.leftTitle}>设置昵称</Text>
185 </View> 185 </View>
186 <View style={styles.itemRight}> 186 <View style={styles.itemRight}>
@@ -207,10 +207,10 @@ export default class Mine extends Component { @@ -207,10 +207,10 @@ export default class Mine extends Component {
207 }} 207 }}
208 > 208 >
209 <View style={styles.itemLeft}> 209 <View style={styles.itemLeft}>
210 - <Image 210 + {/* <Image
211 style={styles.leftIcon} 211 style={styles.leftIcon}
212 source={require("../../assets/tabbar/ic_circle_s.png")} 212 source={require("../../assets/tabbar/ic_circle_s.png")}
213 - /> 213 + /> */}
214 <Text style={styles.leftTitle}>设置职业</Text> 214 <Text style={styles.leftTitle}>设置职业</Text>
215 </View> 215 </View>
216 <View style={styles.itemRight}> 216 <View style={styles.itemRight}>