...
|
...
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
import React from 'react';
|
|
|
import ReactNative from 'react-native';
|
|
|
import {getSlicedUrl} from '../../../../../classify/utils/Utils';
|
|
|
|
|
|
const {
|
|
|
Image,
|
...
|
...
|
@@ -27,7 +28,7 @@ export default class ShopTopBanner extends React.Component { |
|
|
if (backgroundImage === '') {
|
|
|
return null;
|
|
|
}
|
|
|
let icon = info&&info.shop_logo?info.shop_logo.replace('{width}', 100).replace('{height}', 100):''; // 商品缩略图
|
|
|
let icon = info&&info.shop_logo ? getSlicedUrl(info.shop_logo, 100, 100) : '';
|
|
|
let name = info.is_show_shop_name == 'Y'?info.shop_name:null;
|
|
|
let buttonIcon = this.props.info.is_addFav?require('../../../../image/btn_gz_p.png'):require('../../../../image/btn_gz_n.png');
|
|
|
|
...
|
...
|
|