Authored by shixiang

重新设置筛选选项的index review 于良

@@ -126,7 +126,7 @@ export default class BrandProductFilter extends React.Component { @@ -126,7 +126,7 @@ export default class BrandProductFilter extends React.Component {
126 126
127 _renderRow(rowData, sectionID, rowID) { 127 _renderRow(rowData, sectionID, rowID) {
128 let colorStyle = rowID == this.state.selectedIndex ? {color: '#444444'} : {color: '#b0b0b0'}; 128 let colorStyle = rowID == this.state.selectedIndex ? {color: '#444444'} : {color: '#b0b0b0'};
129 - if (rowID == 3) { 129 + if (rowID == 4) {
130 colorStyle = this.props.lastSelected ? {color: '#444444'} : {color: '#b0b0b0'}; 130 colorStyle = this.props.lastSelected ? {color: '#444444'} : {color: '#b0b0b0'};
131 } 131 }
132 132
@@ -147,7 +147,7 @@ export default class BrandProductFilter extends React.Component { @@ -147,7 +147,7 @@ export default class BrandProductFilter extends React.Component {
147 // this.props.onPressFilter && this.props.onPressFilter(filters[0].key); 147 // this.props.onPressFilter && this.props.onPressFilter(filters[0].key);
148 // return; 148 // return;
149 // } 149 // }
150 - if (rowID == 3) { 150 + if (rowID == 4) {
151 let value = 'filter'; 151 let value = 'filter';
152 this.props.onPressFilter && this.props.onPressFilter(value); 152 this.props.onPressFilter && this.props.onPressFilter(value);
153 return; 153 return;