|
|
@@ -627,7 +627,6 @@ getAdView(){ |
|
|
|
</ImageBackground> |
|
|
|
); |
|
|
|
} else if (this.state.adType == 2) { |
|
|
|
let curWidthNum = 394*PixelRatio.get(); |
|
|
|
|
|
|
|
return ( |
|
|
|
// <ImageBackground style={styles.adTypeBg} source={require('./image/ad1.jpg')}> |
|
|
@@ -642,8 +641,8 @@ getAdView(){ |
|
|
|
ref={'carousel'} |
|
|
|
data={adDataList} |
|
|
|
renderItem={this.setSwiperItemDom} |
|
|
|
sliderWidth={curWidthNum} |
|
|
|
itemWidth={curWidthNum} |
|
|
|
sliderWidth={1084} |
|
|
|
itemWidth={1084} |
|
|
|
itemHeight={134} |
|
|
|
sliderHeight={134} |
|
|
|
activeSlideOffset={0} |
|
|
|