Authored by chenl

合并了资讯组件与信息组件。review by shixiang。

... ... @@ -68,7 +68,7 @@ export default class BrandArticleList extends Component {
<ListView
contentContainerStyle={styles.contentContainer}
dataSource={this.dataSource.cloneWithRows(articleList.toArray())}
dataSource={this.dataSource.cloneWithRows(articleList)}
renderRow={this._renderRow}
enableEmptySections = {true}
renderSeparator={this._renderSeparator}
... ...
... ... @@ -145,13 +145,12 @@ class DetailContainer extends Component {
/>
);
case 'articleList':
return null;
// return(
// <BrandArticleList
// articleList={detail.get('articleList')}
// onPressArticle={this._onPressArticle}
// onPressArticleLike={this._onPressArticleLike} />
// )
return(
<BrandArticleList
articleList={rowData}
onPressArticle={this._onPressArticle}
onPressArticleLike={this._onPressArticleLike} />
);
default:
return null;
... ...