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: {