...
|
...
|
@@ -41,12 +41,14 @@ export default class ShopTopBanner extends React.Component { |
|
|
style={{width: backgroundWidth, height: backgroundHeight }}
|
|
|
resizeMode={'cover'}
|
|
|
>
|
|
|
<TouchableOpacity activeOpacity={0.5} onPress={() => {
|
|
|
<TouchableOpacity activeOpacity={0.5}
|
|
|
style={{ width: buttonWidth, height: buttonHeight,position: 'absolute',borderRadius: 5,backgroundColor:'red',bottom:15,right:15}}
|
|
|
onPress={() => {
|
|
|
this.props.onPressCollection && this.props.onPressCollection(!this.props.info.is_addFav);
|
|
|
}}>
|
|
|
<Image
|
|
|
source={buttonIcon}
|
|
|
style={{ width: buttonWidth, height: buttonHeight,position: 'absolute',borderRadius: 5,bottom: -backgroundHeight + 15,right:15}}
|
|
|
style={{ width: buttonWidth, height: buttonHeight,position: 'absolute',borderRadius: 5}}
|
|
|
resizeMode={'cover'}/>
|
|
|
</TouchableOpacity>
|
|
|
|
...
|
...
|
|