Authored by hongyong.zhao

bug fix --reviewed by 傲哲

... ... @@ -76,11 +76,10 @@ export default class Mine extends Component {
/>
);
} else if (templatename === 'newSingleImage' && rowData) {
console.log('------>mine')
console.log(rowData.toJS());
return (
<SingleImage
data={rowData.get('data')}
data={rowData}
resourceJumpWithUrl={this.props.resourceJumpWithUrl}
/>)
} else {
... ...
... ... @@ -99,8 +99,8 @@ export default class ShareDetail extends Component {
<View style={styles.alignBottom}>
<Text style={styles.priceUnit}></Text>
<Text style={styles.price}>{productPriceBo.salesPrice}</Text>
<Text style={styles.origpriceUnit}></Text>
<Text style={styles.origPrice}>{productPriceBo.marketPrice}</Text>
{productPriceBo.salesPrice !== productPriceBo.marketPrice && <Text style={styles.origpriceUnit}></Text>}
{productPriceBo.salesPrice !== productPriceBo.marketPrice && <Text style={styles.origPrice}>{productPriceBo.marketPrice}</Text>}
</View>
</View>
</View>
... ...
... ... @@ -48,7 +48,7 @@ export default class ImageSingle extends React.Component {
if (!resource || resource.size === 0) {
return null;
}
let data = resource.toJS();
let data = resource.get('data').toJS();
let list = data && data.list;
if (!list || list.length === 0) {
return null;
... ...