Authored by 孙凯

修改全球购 UI review by zhanglixia

... ... @@ -53,7 +53,7 @@ const styles = StyleSheet.create({
flexWrap: 'wrap',
},
listContainer: {
width: Math.ceil(width / 3),
width: width / 3,
backgroundColor: 'transparent',
flexDirection: 'row',
flexWrap: 'wrap',
... ...
... ... @@ -165,17 +165,17 @@ let styles = StyleSheet.create({
thumbnailLeft: {
width: image0W,
height: detailImageH,
backgroundColor: 'red',
backgroundColor: '#f0f0f0',
},
thumbnailRight: {
width: (width - image0W)/2,
height: detailImageH,
backgroundColor: 'red',
backgroundColor: '#f0f0f0',
flexDirection: 'column',
},
thumbnail: {
width: thumbW,
height: thumbH,
backgroundColor: 'red',
backgroundColor: '#f0f0f0',
},
});
... ...
... ... @@ -121,7 +121,7 @@ export default class RecommendContentTwo extends React.Component {
let {width, height} = Dimensions.get('window');
let itemWidth= Math.ceil(width/3);
let itemWidth= width/3;
let itemHeight = itemWidth;
let largeImageW = width;
let largeImageH = Math.ceil((200/320)*width);
... ...