Authored by 孙凯

update 新品到着 UI review by chenling

... ... @@ -232,7 +232,7 @@ export default class NewArrival extends React.PureComponent {
recommendForYou,
cart_goods_count,
} = this.props;
let cart_goods_countString = cart_goods_count > 99 ? '99+' : cart_goods_count;
let latest = productList.get('list')&&productList.get('list').size?productList.get('list').toArray():[];
let isLoadingMore = productList.isFetching && productList.currentPage > 0;
... ... @@ -384,7 +384,7 @@ export default class NewArrival extends React.PureComponent {
{cart_goods_count > 0 ? <View style={styles.cart_goods_countView} >
<Text style={styles.cart_goods_count}>
{cart_goods_count}
{cart_goods_countString}
</Text>
</View> : null}
... ... @@ -483,10 +483,12 @@ let styles = StyleSheet.create({
cart_goods_countView: {
backgroundColor: 'red',
position: 'absolute',
right: 6.5,
right: 1.5,
top: 2,
borderRadius: 100,
minWidth: 15,
paddingLeft: 3,
paddingRight: 3,
},
cart_goods_count: {
... ...