Pārlūkot izejas kodu

【大屏】【测试】【测试插件错误原因]

tags/jenkins-front-end-screenad-314-v170^0
caserKing pirms 5 gadiem
vecāks
revīzija
98e6a11691
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. +6
    -6
      App.js

+ 6
- 6
App.js Parādīt failu

@@ -21,7 +21,7 @@ import DeviceInfo from "react-native-device-info";
import * as Animatable from 'react-native-animatable'; import * as Animatable from 'react-native-animatable';
import Swiper from 'react-native-swiper'; import Swiper from 'react-native-swiper';
import Carousel from 'react-native-snap-carousel'; 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'; import StarRatingBar from 'react-native-star-rating-view/StarRatingBar';


var testMac = 'FF:FF:FF:FF:FF:FF' var testMac = 'FF:FF:FF:FF:FF:FF'
@@ -332,7 +332,7 @@ codePushStatusDidChange(syncStatus) {
} }
//aaa //aaa
// this.setState({adType: num }) // this.setState({adType: num })
this.setState({adType: 0 })
this.setState({adType: 2 })
adDataList.map(item => { adDataList.map(item => {
item.starNum = 3.4; item.starNum = 3.4;
item.logoUrl = item.coverImg; item.logoUrl = item.coverImg;
@@ -551,7 +551,7 @@ rankDom() {
} else if (index == 4) { } else if (index == 4) {
animation = this.state.animationTheme.third; animation = this.state.animationTheme.third;
} }
} else if (this.state.adType == 1) {
} else if (this.state.adType == 2) {
animation = 'fadeIn'; animation = 'fadeIn';
} }
@@ -717,7 +717,7 @@ setSwiperItemDom(item) {
} }
return ( return (
<View style={styles.carouselItemWrap}> <View style={styles.carouselItemWrap}>
{/* <BoxShadow setting={shadowOpt}> */}
<BoxShadow setting={shadowOpt}>
<View setting={shadowOpt}> <View setting={shadowOpt}>
<View style={styles.contentItemTopForAd} key={index}> <View style={styles.contentItemTopForAd} key={index}>
<Image source={curLogo} resizeMode='center' style={styles.contentItemUpLayerLogo} /> <Image source={curLogo} resizeMode='center' style={styles.contentItemUpLayerLogo} />
@@ -747,7 +747,7 @@ setSwiperItemDom(item) {
</View> </View>
</View> </View>
{/* </BoxShadow> */}
</BoxShadow>
</View> </View>
) )
} }
@@ -1580,7 +1580,7 @@ MyPage = CodePush(codePushOptions)(MyPage);


rankRun02: { rankRun02: {
marginTop: 12/PixelRatio.get(), marginTop: 12/PixelRatio.get(),
marginLeft: -12/PixelRatio.get(),
marginLeft: -18/PixelRatio.get(),
}, },


merchantText: { merchantText: {


Notiek ielāde…
Atcelt
Saglabāt