...
|
...
|
@@ -17,9 +17,8 @@ export default class ContentMessageCell extends Component { |
|
|
let {rowData} = this.props;
|
|
|
let status = rowData.businessType === 1003 ? true : false;
|
|
|
|
|
|
let resource = rowData.coverImg;
|
|
|
resource = resource ? JSON.parse(resource) : '';
|
|
|
let picItem = resource.data ? JSON.parse(resource.data) : '';
|
|
|
let resource = rowData.coverImg ? JSON.parse(rowData.coverImg) : '';
|
|
|
let picItem = typeof resource.data === 'string' ? JSON.parse(resource.data) : resource.data;
|
|
|
|
|
|
let imageUrl = YH_Image.getSlicedUrl(picItem.src, 50 * DEVICE_HEIGHT_RATIO, 50 * DEVICE_HEIGHT_RATIO, 2);
|
|
|
|
...
|
...
|
|