From 1b48fdb6d6ce62bd2f0f1340fff00672a41e6634 Mon Sep 17 00:00:00 2001 From: caserKing Date: Wed, 14 Aug 2019 10:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A4=A7=E5=B1=8F=E3=80=91=E3=80=90?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=91=E3=80=90=E8=B0=83=E6=95=B4=E6=AF=94?= =?UTF-8?q?=E4=BE=8B=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/App.js b/App.js index 36201c6..a51deda 100644 --- a/App.js +++ b/App.js @@ -58,7 +58,7 @@ var animationThemes = [ } ] const shadowOpt = { - width: 683/PixelRatio.get(), + width: 800/PixelRatio.get(), height: 240/PixelRatio.get(), color:"#000", border:2, @@ -545,17 +545,6 @@ setAdSwiperItemDom(item) { setSwiperItemDom(item) { let contentItem = item.item; let index = item.index; - actionText = '扫码秒杀'; - if (contentItem.type == 0) { - if (contentItem.subType == 2) - actionText = '扫码秒杀'; - else if (contentItem.subType == 6) - actionText = '扫码砍价'; - else if (contentItem.subType == 7) - actionText = '扫码拼团'; - else - actionText = '扫码领取'; - } return ( @@ -581,7 +570,6 @@ setSwiperItemDom(item) { {/* */} - {actionText} @@ -685,7 +673,7 @@ getAdView(){ - + {/* @@ -698,7 +686,7 @@ getAdView(){ 公众号 {this.state.versionInfo} - + */} ); } else if (this.state.adType == 1) { @@ -999,8 +987,8 @@ MyPage = CodePush(codePushOptions)(MyPage); }, contentItemTopQrcode02:{ - width:'80%', - height:'70%', + width:'90%', + height:'90%', }, //layer content item bottom @@ -1200,7 +1188,7 @@ MyPage = CodePush(codePushOptions)(MyPage); alignItems: 'center', position: 'absolute', left: 0, - bottom: 70/PixelRatio.get(), + bottom: 30/PixelRatio.get(), width: '100%', height: 369/PixelRatio.get(), }, @@ -1235,7 +1223,7 @@ MyPage = CodePush(codePushOptions)(MyPage); contentItemTopForAd:{ flex: 1, - width: 680/PixelRatio.get(), + width: 800/PixelRatio.get(), // width: '100%', height:'100%', paddingLeft: 12/PixelRatio.get(),