Authored by shixiang

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

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