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