Authored by chenl

修复redefine color 和 B版品类null 保护。review by 张丽霞。

... ... @@ -97,8 +97,8 @@ export default class CategoryBList extends Component {
}
renderRow(rowData, sectionID, rowID, highlightRow) {
let selectText = rowData.get('category_name');
let selectId = rowData.get('category_id');
let selectText = rowData ? rowData.get('category_name') : "";
let selectId = rowData ? rowData.get('category_id') : "";
let selectBg = this.props.currentCateId == selectId ? {backgroundColor: '#ffffff'} : {backgroundColor: '#f0f0f0'};
... ...
... ... @@ -81,7 +81,7 @@ export default class VIPLevelHeader extends Component {
<View style={styles.nextLevelNeedProcess}>
{VIPLevel == '3'?null:
<View style={styles.nextLevelCost}>
<Text style={{color:'#b0b0b0',fontSize:13,color:'#b0b0b0'}}>
<Text style={{color:'#b0b0b0',fontSize:13}}>
¥0.00{vipInfo.next_need_cost}
</Text>
</View>
... ...