...
|
...
|
@@ -27,12 +27,11 @@ export default class ShopTopBanner extends React.Component { |
|
|
if (backgroundImage === '') {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
let icon = info.shop_logo.replace('{width}', 100).replace('{height}', 100); // 商品缩略图
|
|
|
let name = info.shop_name;
|
|
|
let buttonIcon = require('../../../../image/btn_gz_p.png');
|
|
|
if (!this.props.info.is_addFav) {
|
|
|
buttonIcon = require('../../../../image/btn_gz_n.png');
|
|
|
}
|
|
|
let name = info.is_show_shop_name == 'N'?info.shop_name:null;
|
|
|
let buttonIcon = this.props.info.is_addFav?require('../../../../image/btn_gz_p.png'):require('../../../../image/btn_gz_n.png');
|
|
|
|
|
|
return (
|
|
|
<View style={{width: backgroundWidth, height:backgroundHeight}}>
|
|
|
|
...
|
...
|
|