...
|
...
|
@@ -15,6 +15,7 @@ import ReactNative, { |
|
|
NativeAppEventEmitter,
|
|
|
StyleSheet,
|
|
|
} from 'react-native';
|
|
|
import Immutable from 'immutable';
|
|
|
import SingleImage from './SingleImage';
|
|
|
|
|
|
import {SlicedImage} from '../../../common/components/SlicedImage';
|
...
|
...
|
@@ -26,7 +27,14 @@ export default class BrandArticleCell extends Component { |
|
|
constructor(props) {
|
|
|
super(props);
|
|
|
this._renderTimeAndVisit = this._renderTimeAndVisit.bind(this);
|
|
|
}
|
|
|
|
|
|
shouldComponentUpdate(nextProps,nextState){
|
|
|
if (Immutable.is(nextProps.rowData, this.props.rowData)) {
|
|
|
return false;
|
|
|
} else {
|
|
|
return true;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//时间和访问次数以及是否喜欢
|
...
|
...
|
|