Authored by 王海元

Merge branch 'cherry-pick-89050505' into '730_0.49'

UI修改 --review by 孙凯



See merge request !13
... ... @@ -172,15 +172,12 @@ export default class Product extends Component {
currentTab,
} = this.props.data;
let {productList} = globalProduct;
if (productList.size == 0) {
return null;
}
let {selectedProductList, categoryList, selectedCategoryIndex} = commonProduct;
let isShow = currentTab === 'common' && selectedProductList.size > 0;
return (
<View>
<TabHeader
{productList.size > 0 ? <TabHeader
currentTab={currentTab}
onPressTab={(tab)=>{
if (tab == currentTab) {
... ... @@ -190,7 +187,7 @@ export default class Product extends Component {
this.setState({currentlyOpenSwipeable: null});
this.props.onPressTab && this.props.onPressTab(tab);
}}
/>
/> : null}
{isShow ? <CategorySelector
data={categoryList}
selectedCategoryIndex={selectedCategoryIndex}
... ...