Authored by 于良

Merge branch '5.8.0-0.44.0' of http://git.yoho.cn/mobile/YH_RNComponent into 5.8.0-0.44.0

... ... @@ -130,7 +130,7 @@ export default class ProductListCell extends Component {
}
//新品到着升级为sectionList后价格会被遮挡
let priceMarginTop = (Platform.OS === 'android' && fromPage === 'newArrival') ? Math.ceil(-18 * DEVICE_WIDTH_RATIO) : Math.ceil(-4 * DEVICE_WIDTH_RATIO);
let priceMarginTop = Math.ceil(-4 * DEVICE_WIDTH_RATIO);
return (
<View style={[styles.priceContainer, {marginTop: priceMarginTop,} ]}>
... ...
... ... @@ -93,7 +93,6 @@ export default class NewArrivalCell extends Component {
rowID={index}
data={rowData}
similarIndex={similarIndex}
fromPage={'newArrival'}
onPressProduct={this.props.onPressProductListProduct}
onLongPressProduct={this.props.onLongPressProduct}
onPressFindSimilar={this.props.onPressFindSimilar}
... ...
... ... @@ -83,6 +83,6 @@ let styles = StyleSheet.create({
subContainer: {
flexDirection: 'row',
width: width,
height: rowHeight,
height: Platform.OS === 'ios'? rowHeight : rowHeight + 15 * DEVICE_WIDTH_RATIO,
}
});
... ...
... ... @@ -254,7 +254,7 @@ let styles = StyleSheet.create({
fontSize: 12,
color: 'white',
textAlign: 'center',
width: 63,
width: 70,
fontWeight: 'bold',
},
line: {
... ...