Sfoglia il codice sorgente

1084宽

tags/jenkins-front-end-screenad-220-v120
caserKing 5 anni fa
parent
commit
fd2a0c4fcb
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. +2
    -3
      App.js

+ 2
- 3
App.js Vedi File

@@ -627,7 +627,6 @@ getAdView(){
</ImageBackground>
);
} else if (this.state.adType == 2) {
let curWidthNum = 394*PixelRatio.get();

return (
// <ImageBackground style={styles.adTypeBg} source={require('./image/ad1.jpg')}>
@@ -642,8 +641,8 @@ getAdView(){
ref={'carousel'}
data={adDataList}
renderItem={this.setSwiperItemDom}
sliderWidth={curWidthNum}
itemWidth={curWidthNum}
sliderWidth={1084}
itemWidth={1084}
itemHeight={134}
sliderHeight={134}
activeSlideOffset={0}


Caricamento…
Annulla
Salva