...
|
...
|
@@ -29,7 +29,7 @@ export default class ListBannerSwiper extends React.Component { |
|
|
borderRadius: 3,
|
|
|
marginLeft: 3,
|
|
|
marginRight: 3,
|
|
|
marginTop: (Platform.OS === 'ios')?3:23,
|
|
|
marginTop: (Platform.OS === 'ios')?0:1,
|
|
|
marginBottom: 0,
|
|
|
}}
|
|
|
/>;
|
...
|
...
|
@@ -41,7 +41,7 @@ export default class ListBannerSwiper extends React.Component { |
|
|
borderRadius: 3,
|
|
|
marginLeft: 3,
|
|
|
marginRight: 3,
|
|
|
marginTop: 3,
|
|
|
marginTop: (Platform.OS === 'ios')?0:1,
|
|
|
marginBottom: 0,
|
|
|
}}
|
|
|
/>;
|
...
|
...
|
@@ -62,7 +62,8 @@ export default class ListBannerSwiper extends React.Component { |
|
|
dot={this.dot}
|
|
|
activeDot={(Platform.OS === 'ios')?this.activeDot:null}
|
|
|
width={width}
|
|
|
height={height}
|
|
|
height={height-15}
|
|
|
paginationStyle={{backgroundColor: 'rgba(0,0,0,0.2)',bottom: 10,height: 10,width: resource.length * 12,borderRadius: 5,marginLeft: (width-resource.length * 12)/2}}
|
|
|
>
|
|
|
{resource.map((item, i) => {
|
|
|
return (
|
...
|
...
|
@@ -94,7 +95,7 @@ let styles = StyleSheet.create({ |
|
|
backgroundColor:'#f0f0f0',
|
|
|
},
|
|
|
banner: {
|
|
|
|
|
|
backgroundColor: '#ffffff',
|
|
|
},
|
|
|
|
|
|
}); |
...
|
...
|
|