...
|
...
|
@@ -39,10 +39,9 @@ export default class NewProductFloor extends Component{ |
|
|
let rightSmallTopRightImageUrl = SlicedImage.getSlicedUrl(imglst.get(3).get("src"), rightSmallImageWidth, rightSmallImageHeight, 2);
|
|
|
let rightSmallBottomRightImageUrl = SlicedImage.getSlicedUrl(imglst.get(4).get("src"), rightSmallImageWidth, rightSmallImageHeight, 2);
|
|
|
|
|
|
let containerHeight = 40 + leftBigImageHeight;
|
|
|
|
|
|
return(
|
|
|
<View style={[styles.container, {height: containerHeight}]}>
|
|
|
<View style={styles.container}>
|
|
|
<HeadTitleCell title={title.get('title')} moreUrl={title.get('more_url')} onPressTitleMore={this.props.onPressTitleMore}/>
|
|
|
|
|
|
<View style={styles.imageContainer}>
|
...
|
...
|
@@ -84,12 +83,15 @@ let leftBigImageWidth = width * 315 / 750; |
|
|
let leftBigImageHeight = leftBigImageWidth * 420 / 315;
|
|
|
let rightSmallImageWidth = (width - leftBigImageWidth) / 2;
|
|
|
let rightSmallImageHeight = leftBigImageHeight / 2;
|
|
|
let containerHeight = 40 + leftBigImageHeight;
|
|
|
|
|
|
|
|
|
|
|
|
let styles = StyleSheet.create({
|
|
|
|
|
|
container: {
|
|
|
width: width,
|
|
|
height: containerHeight,
|
|
|
backgroundColor: "#e5e5e5",
|
|
|
},
|
|
|
|
...
|
...
|
|