...
|
...
|
@@ -34,6 +34,7 @@ export default class BrandIntro extends Component { |
|
|
let detail = brandIntro.get('detail').toJS();
|
|
|
let favIcon = brandFav.get('isFav') ? require("../../images/red_heart.png") : require("../../images/gray_heart.png");
|
|
|
let titleFoldArrowIcon = brandIntro.titleUnfold ? require("../../images/arrow_small_up.png") : require("../../images/arrow_small_down.png");
|
|
|
let url = SlicedImage.getSlicedUrl(detail.brand_ico, brandIconWidth-2, brandIconWidth-2, 2);
|
|
|
return (
|
|
|
<View style={styles.container}>
|
|
|
<SlicedImage style={[styles.coverImage, {width, height:coverImageHeight}]} source={{uri: detail.cover_img}}/>
|
...
|
...
|
@@ -67,7 +68,7 @@ export default class BrandIntro extends Component { |
|
|
</TouchableOpacity>
|
|
|
|
|
|
<View style={styles.brandIcon}>
|
|
|
<SlicedImage resizeMode={'contain'} source={{uri: detail.brand_ico}} style={{width:brandIconWidth-2, height:brandIconWidth-2, backgroundColor:'white'}}/>
|
|
|
<Image resizeMode={'contain'} style={{width:brandIconWidth-2, height:brandIconWidth-2, backgroundColor:'white'}} source={{uri: url}} />
|
|
|
</View>
|
|
|
|
|
|
<View style={styles.blackView}>
|
...
|
...
|
|