Authored by 孙凯

add 资源 review by hongmo

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