Authored by 张文文

新品到着店铺logo规范 reviewd by 朱傲哲

... ... @@ -27,7 +27,7 @@ export default class BrandCell extends Component {
let shop_logo = data.get('shop_logo');
let shops_id = data.get('shops_id');
let new_product_num = data.get('new_product_num');
shop_logo = YH_Image.getSlicedUrl(shop_logo, 100, 50, 2);
shop_logo = YH_Image.getSlicedUrl(shop_logo, 70, 35, 2);
let yh_exposureData = data.get('yh_exposureData');
return (
<TouchableOpacity style={styles.container} yh_exposureData={yh_exposureData} onPress={()=>{this.props.onPressShop&&this.props.onPressShop(data, index);}}>
... ... @@ -46,20 +46,22 @@ let {width, height} = Dimensions.get('window');
let styles = StyleSheet.create({
container: {
height: 76,
width: 80,
backgroundColor: 'white',
marginTop: 10,
marginRight: 4,
},
image: {
marginTop: 0,
width: 80,
height: 40,
marginTop: 5,
marginLeft: 5,
marginRight: 5,
width: 70,
height: 35,
resizeMode: 'contain',
},
footerContainer: {
marginTop: 12,
marginBottom: 8,
width: 80,
height: 16,
flexDirection: 'row',
... ...