...
|
...
|
@@ -26,12 +26,13 @@ export default class GroupPurchase extends Component { |
|
|
} = this.props;
|
|
|
let banner = productList.banner;
|
|
|
let url = productList.url;
|
|
|
console.log('banner', banner);
|
|
|
|
|
|
if(banner === '' || url === '') return null;
|
|
|
if(banner === '') return null;
|
|
|
|
|
|
return (
|
|
|
<View style={styles.header}>
|
|
|
<TouchableOpacity activeOpacity={0.8} onPress={() => {
|
|
|
<TouchableOpacity activeOpacity={1} onPress={() => {
|
|
|
this.props.didTouchBanner && this.props.didTouchBanner(url);
|
|
|
}}>
|
|
|
<YH_Image style={{width: '100%', height: '100%'}} url={banner}></YH_Image>
|
...
|
...
|
|