diff --git a/App.js b/App.js index 438b096..e53382e 100644 --- a/App.js +++ b/App.js @@ -627,7 +627,6 @@ getAdView(){ ); } else if (this.state.adType == 2) { - let curWidthNum = 394*PixelRatio.get(); return ( // @@ -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}