Authored by 孙凯

整理代码 review by 红魔

@@ -85,12 +85,16 @@ export default class BrandStore extends Component { @@ -85,12 +85,16 @@ export default class BrandStore extends Component {
85 switch (rowID) { 85 switch (rowID) {
86 case '0': 86 case '0':
87 { 87 {
88 - return null; 88 + return (
  89 + <CouponCell />
  90 + );
89 } 91 }
90 break; 92 break;
91 case '1': 93 case '1':
92 { 94 {
93 - return null; 95 + return (
  96 + <BrandListCell />
  97 + );
94 } 98 }
95 break; 99 break;
96 case '2': 100 case '2':
@@ -80,6 +80,7 @@ export default class Recommend extends React.Component { @@ -80,6 +80,7 @@ export default class Recommend extends React.Component {
80 renderRow={this.renderRow.bind(this)} 80 renderRow={this.renderRow.bind(this)}
81 renderHeader = {this.renderHeader.bind(this)} 81 renderHeader = {this.renderHeader.bind(this)}
82 pageSize={Math.ceil(data.length/4)} 82 pageSize={Math.ceil(data.length/4)}
  83 + enableEmptySections = {true}
83 /> 84 />
84 </View> 85 </View>
85 ); 86 );