罗广聪

done

... ... @@ -23,11 +23,13 @@ export default class AllProduct extends Component {
time: "刚刚",
// url: "http://hankschan.legendh5.com/h5/b8302dac-0563-478c-ff82-ba8ab20c1cb3.html",
url: require("../../assets/home/product_long_1.jpg"),
Subtitle: "200万医疗险,续保至99岁免审核",
imgurl: require("../../assets/home/product_1.png")
},
{
title: "泰康在线“住院宝”必备版(0-49周岁)",
time: "刚刚",
Subtitle: "疾病意外全面保障,补充社保不足,公共交通意外双倍赔付",
// url: "http://hankschan.legendh5.com/h5/f782ab69-6515-3e70-025a-5da78f1f745f.html",
url: require("../../assets/home/product_long_2.jpg"),
imgurl: require("../../assets/home/product_2.png")
... ... @@ -38,7 +40,6 @@ export default class AllProduct extends Component {
render() {
const { navigate } = this.props.navigation;
{/* onPress={() => navigate("CommonWebview", { item: item })} */}
return (
<View style={styles.container}>
<ScrollView
... ... @@ -57,7 +58,7 @@ export default class AllProduct extends Component {
<Text style={styles.itemTextTop} numberOfLines={2}>
{item.title}
</Text>
<Text style={styles.itemTextBottom}>{item.time}</Text>
<Text style={styles.itemTextBottom} numberOfLines={1}>{item.Subtitle}</Text>
</View>
</TouchableOpacity>
);
... ...