Authored by huangyCode

ios轮播白屏修复

... ... @@ -75,7 +75,8 @@ export default class ImageSlider extends React.Component {
loop={true}
autoplay={true}
autoplayTimeout={8}
style={{width:sliderWidth,height:sliderHeight}}
width={sliderWidth}
height={sliderHeight}
paginationStyle={{
backgroundColor: 'rgba(68, 68, 68, 0.2)',
bottom: 10,
... ... @@ -98,7 +99,7 @@ export default class ImageSlider extends React.Component {
}}
>
<YH_Image
url={imageUrl} resizeMode="contain"
url={imageUrl}
style={{width: sliderWidth, height: sliderHeight}}
/>
</TouchableOpacity>
... ...