Authored by 孙凯

修改 图片模糊的bug review by hongmo

@@ -45,7 +45,7 @@ export default class DoubleImage extends React.Component { @@ -45,7 +45,7 @@ export default class DoubleImage extends React.Component {
45 return ( 45 return (
46 <View style={{flexDirection: 'row',width: width,height: backgroundHeight,backgroundColor:'#f0f0f0'}}> 46 <View style={{flexDirection: 'row',width: width,height: backgroundHeight,backgroundColor:'#f0f0f0'}}>
47 {list.map((data, i) => { 47 {list.map((data, i) => {
48 - let backgroundImage = YH_Image.getSlicedUrl(data.pic, width/2, height/2, 2); 48 + let backgroundImage = data.pic?data.pic:''; //YH_Image.getSlicedUrl(data.pic, width/2, height/2, 2);
49 let linkType = data.linkType; 49 let linkType = data.linkType;
50 let showProductInfo = data.showProductInfo?data.showProductInfo:false; 50 let showProductInfo = data.showProductInfo?data.showProductInfo:false;
51 let product = data.product; 51 let product = data.product;
@@ -62,7 +62,7 @@ export default class SingleImage extends React.Component { @@ -62,7 +62,7 @@ export default class SingleImage extends React.Component {
62 let linkReource = data.resource; 62 let linkReource = data.resource;
63 let moduleOrder = resource.get('module_order') + 1; 63 let moduleOrder = resource.get('module_order') + 1;
64 let moduleType = resource.get('module_type'); 64 let moduleType = resource.get('module_type');
65 - let backgroundImage = YH_Image.getSlicedUrl(data.pic, width/2, imageHeight/2, 2); 65 + let backgroundImage = data.pic?data.pic:'';//YH_Image.getSlicedUrl(data.pic, width/2, imageHeight/2, 2);
66 66
67 let yh_exposureData = this.props.yh_exposureData?this.props.yh_exposureData:null; 67 let yh_exposureData = this.props.yh_exposureData?this.props.yh_exposureData:null;
68 let url = ''; 68 let url = '';