...
|
...
|
@@ -11,6 +11,7 @@ const { |
|
|
TouchableOpacity,
|
|
|
StyleSheet,
|
|
|
Dimensions,
|
|
|
Platform,
|
|
|
} = ReactNative;
|
|
|
|
|
|
export default class BrandSwiper extends React.Component {
|
...
|
...
|
@@ -26,7 +27,7 @@ export default class BrandSwiper extends React.Component { |
|
|
borderRadius: 3,
|
|
|
marginLeft: 3,
|
|
|
marginRight: 3,
|
|
|
marginTop: 3,
|
|
|
marginTop: (Platform.OS === 'ios')?3:23,
|
|
|
marginBottom: 23,
|
|
|
}}
|
|
|
/>;
|
...
|
...
|
@@ -78,7 +79,7 @@ export default class BrandSwiper extends React.Component { |
|
|
autoplayTimeout={2}
|
|
|
paginationStyle={{bottom: 8}}
|
|
|
dot={this.dot}
|
|
|
activeDot={this.activeDot}
|
|
|
activeDot={(Platform.OS === 'ios')?this.activeDot:null}
|
|
|
width={width}
|
|
|
height={swiperHeight}
|
|
|
>
|
...
|
...
|
@@ -93,7 +94,7 @@ export default class BrandSwiper extends React.Component { |
|
|
>
|
|
|
<Image
|
|
|
source={{uri: item.src}}
|
|
|
style={{width: width, height: swiperHeight - 20}}
|
|
|
style={{width: width, height: swiperHeight}}
|
|
|
/>
|
|
|
</TouchableOpacity>
|
|
|
);
|
...
|
...
|
|