...
|
...
|
@@ -12,6 +12,7 @@ import ReactNative, { |
|
|
} from 'react-native';
|
|
|
|
|
|
import MessageListCellFooter from './MessageListCellFooter'
|
|
|
import SlicedImage from '../../../common/components/SlicedImage'
|
|
|
|
|
|
export default class MessageListBigIconCell extends Component {
|
|
|
constructor(props) {
|
...
|
...
|
@@ -23,7 +24,8 @@ export default class MessageListBigIconCell extends Component { |
|
|
let body = itemData.get('body');
|
|
|
let imageUri = body ? body.get('img_url', 'www.yohobuy.com') : 'www.yohobuy.com';
|
|
|
let content = body ? body.get('content','') : '';
|
|
|
imageUri = imageUri.replace('{width}', width).replace('{height}', iconHeight).replace('{mode}',2);
|
|
|
imageUri = SlicedImage.getSlicedUrl(imageUri, width, iconHeight, 2);
|
|
|
|
|
|
return(
|
|
|
<View style={styles.container}>
|
|
|
<TouchableOpacity
|
...
|
...
|
|