Showing
1 changed file
with
3 additions
and
2 deletions
| @@ -23,11 +23,13 @@ export default class AllProduct extends Component { | @@ -23,11 +23,13 @@ export default class AllProduct extends Component { | ||
| 23 | time: "刚刚", | 23 | time: "刚刚", |
| 24 | // url: "http://hankschan.legendh5.com/h5/b8302dac-0563-478c-ff82-ba8ab20c1cb3.html", | 24 | // url: "http://hankschan.legendh5.com/h5/b8302dac-0563-478c-ff82-ba8ab20c1cb3.html", |
| 25 | url: require("../../assets/home/product_long_1.jpg"), | 25 | url: require("../../assets/home/product_long_1.jpg"), |
| 26 | + Subtitle: "200万医疗险,续保至99岁免审核", | ||
| 26 | imgurl: require("../../assets/home/product_1.png") | 27 | imgurl: require("../../assets/home/product_1.png") |
| 27 | }, | 28 | }, |
| 28 | { | 29 | { |
| 29 | title: "泰康在线“住院宝”必备版(0-49周岁)", | 30 | title: "泰康在线“住院宝”必备版(0-49周岁)", |
| 30 | time: "刚刚", | 31 | time: "刚刚", |
| 32 | + Subtitle: "疾病意外全面保障,补充社保不足,公共交通意外双倍赔付", | ||
| 31 | // url: "http://hankschan.legendh5.com/h5/f782ab69-6515-3e70-025a-5da78f1f745f.html", | 33 | // url: "http://hankschan.legendh5.com/h5/f782ab69-6515-3e70-025a-5da78f1f745f.html", |
| 32 | url: require("../../assets/home/product_long_2.jpg"), | 34 | url: require("../../assets/home/product_long_2.jpg"), |
| 33 | imgurl: require("../../assets/home/product_2.png") | 35 | imgurl: require("../../assets/home/product_2.png") |
| @@ -38,7 +40,6 @@ export default class AllProduct extends Component { | @@ -38,7 +40,6 @@ export default class AllProduct extends Component { | ||
| 38 | 40 | ||
| 39 | render() { | 41 | render() { |
| 40 | const { navigate } = this.props.navigation; | 42 | const { navigate } = this.props.navigation; |
| 41 | - {/* onPress={() => navigate("CommonWebview", { item: item })} */} | ||
| 42 | return ( | 43 | return ( |
| 43 | <View style={styles.container}> | 44 | <View style={styles.container}> |
| 44 | <ScrollView | 45 | <ScrollView |
| @@ -57,7 +58,7 @@ export default class AllProduct extends Component { | @@ -57,7 +58,7 @@ export default class AllProduct extends Component { | ||
| 57 | <Text style={styles.itemTextTop} numberOfLines={2}> | 58 | <Text style={styles.itemTextTop} numberOfLines={2}> |
| 58 | {item.title} | 59 | {item.title} |
| 59 | </Text> | 60 | </Text> |
| 60 | - <Text style={styles.itemTextBottom}>{item.time}</Text> | 61 | + <Text style={styles.itemTextBottom} numberOfLines={1}>{item.Subtitle}</Text> |
| 61 | </View> | 62 | </View> |
| 62 | </TouchableOpacity> | 63 | </TouchableOpacity> |
| 63 | ); | 64 | ); |
-
Please register or login to post a comment