Procházet zdrojové kódy

3种播放提交02

tags/jenkins-front-end-screenad-227-v127^0
caserKing před 5 roky
rodič
revize
4e48c19c96
1 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. +5
    -5
      App.js

+ 5
- 5
App.js Zobrazit soubor

@@ -307,10 +307,10 @@ codePushStatusDidChange(syncStatus) {
this.showErrMsg(result.message+'\n'+this.state.macAddress);
} else if (result.data.list) {
//aaa
/* result.data.list[0].type = 2;
result.data.list[0].type = 2;
result.data.list[1].type = 2;
result.data.list[2].type = 2;
result.data.list[3].type = 2;
/* result.data.list[3].type = 2;
result.data.list[4].type = 2;
result.data.list[5].type = 2; */
console.log(result.data)
@@ -641,7 +641,7 @@ getAdView(){
</ImageBackground>
);
} else if (this.state.adType == 2) {
let curWidthNum = 1080/(PixelRatio.get())
return (
// <ImageBackground style={styles.adTypeBg} source={require('./image/ad1.jpg')}>
<ImageBackground style={styles.adTypeBg} resizeMode="stretch" source={{ uri: this.state.curCoverImgUrl}}>
@@ -655,8 +655,8 @@ getAdView(){
ref={'carousel02'}
data={adDataList}
renderItem={this.setSwiperItemDom}
sliderWidth={1080}
itemWidth={1080}
sliderWidth={curWidthNum}
itemWidth={curWidthNum}
itemHeight={134}
sliderHeight={134}
activeSlideOffset={0}


Načítá se…
Zrušit
Uložit