...
|
...
|
@@ -17,8 +17,8 @@ export default class ContentMessageCell extends Component { |
|
|
let {rowData} = this.props;
|
|
|
let status = rowData.businessType === 1003 ? true : false;
|
|
|
|
|
|
let resource = typeof rowData.coverImg === 'string' ? JSON.parse(rowData.coverImg) : rowData.coverImg;
|
|
|
let picItem = typeof resource.data === 'string' ? JSON.parse(resource.data) : resource.data;
|
|
|
let resource = rowData.coverImg ? typeof rowData.coverImg === 'string' ? JSON.parse(rowData.coverImg) : rowData.coverImg : '';
|
|
|
let picItem = resource ? 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);
|
|
|
|
...
|
...
|
|