From 98e6a116910e0c9e05764924a41e2383397d7ad8 Mon Sep 17 00:00:00 2001 From: caserKing Date: Wed, 18 Sep 2019 12:44:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A4=A7=E5=B1=8F=E3=80=91=E3=80=90?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E3=80=91=E3=80=90=E6=B5=8B=E8=AF=95=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E9=94=99=E8=AF=AF=E5=8E=9F=E5=9B=A0]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/App.js b/App.js index b7bb0d1..a28c58d 100644 --- a/App.js +++ b/App.js @@ -21,7 +21,7 @@ import DeviceInfo from "react-native-device-info"; import * as Animatable from 'react-native-animatable'; import Swiper from 'react-native-swiper'; import Carousel from 'react-native-snap-carousel'; -// import {BoxShadow} from 'react-native-shadow'; +import {BoxShadow} from 'react-native-shadow'; import StarRatingBar from 'react-native-star-rating-view/StarRatingBar'; var testMac = 'FF:FF:FF:FF:FF:FF' @@ -332,7 +332,7 @@ codePushStatusDidChange(syncStatus) { } //aaa // this.setState({adType: num }) - this.setState({adType: 0 }) + this.setState({adType: 2 }) adDataList.map(item => { item.starNum = 3.4; item.logoUrl = item.coverImg; @@ -551,7 +551,7 @@ rankDom() { } else if (index == 4) { animation = this.state.animationTheme.third; } - } else if (this.state.adType == 1) { + } else if (this.state.adType == 2) { animation = 'fadeIn'; } @@ -717,7 +717,7 @@ setSwiperItemDom(item) { } return ( - {/* */} + @@ -747,7 +747,7 @@ setSwiperItemDom(item) { - {/* */} + ) } @@ -1580,7 +1580,7 @@ MyPage = CodePush(codePushOptions)(MyPage); rankRun02: { marginTop: 12/PixelRatio.get(), - marginLeft: -12/PixelRatio.get(), + marginLeft: -18/PixelRatio.get(), }, merchantText: {