Authored by 孙凯

add 资源 review by hongmo

... ... @@ -66,6 +66,9 @@ export default class GoodsGroupHeader extends React.Component {
if (!list || list.size == 0) {
return null;
}
let n = ((Math.ceil(this.selectedIndex)+1) *2 - 1)*10 + (itemW-20) * ((Math.ceil(this.selectedIndex)+1) - 0.5) - 8;
let scrollEnabled = list.size > 5?true:false;
return (
<View style={[styles.container]}>
... ... @@ -77,6 +80,8 @@ export default class GoodsGroupHeader extends React.Component {
scrollEnabled={scrollEnabled}
scrollsToTop={false}
/>
<Image source={require('../../image/global_arrow_up.png')} style={{marginLeft: n,width: 16,height: 9,backgroundColor: 'transparent'}}></Image>
<View style={{width: width,height: 1,backgroundColor: '#e5e5e5',}}/>
</View>
);
}
... ...