Преглед изворни кода

1084宽

tags/jenkins-front-end-screenad-220-v120
caserKing пре 5 година
родитељ
комит
fd2a0c4fcb
1 измењених фајлова са 2 додато и 3 уклоњено
  1. +2
    -3
      App.js

+ 2
- 3
App.js Прегледај датотеку

@@ -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}


Loading…
Откажи
Сачувај