From 3d1e4777db3c0861177b55dc04ec10b0431f9d96 Mon Sep 17 00:00:00 2001 From: caserKing Date: Mon, 12 Aug 2019 12:59:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=87=8D=E6=96=B0=E5=AE=89?= =?UTF-8?q?=E8=A3=8502?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/App.js b/App.js index 2554e56..cc8c99e 100644 --- a/App.js +++ b/App.js @@ -655,8 +655,8 @@ getAdView(){ ref={'carousel02'} data={adDataList} renderItem={this.setSwiperItemDom} - sliderWidth={1080} - itemWidth={1080} + sliderWidth={1000} + itemWidth={1000} itemHeight={134} sliderHeight={134} activeSlideOffset={0} @@ -1206,8 +1206,8 @@ MyPage = CodePush(codePushOptions)(MyPage); contentItemTopForAd:{ flex: 1, - // width: 1127/PixelRatio.get(), - width: '100%', + width: 1000/PixelRatio.get(), + // width: '100%', height:'100%', paddingLeft: 22/PixelRatio.get(), paddingRight: 26/PixelRatio.get(),