|
|
@@ -593,24 +593,6 @@ setSwiperItemDom(item) { |
|
|
|
</View> |
|
|
|
) |
|
|
|
} |
|
|
|
renderAdTypeSwiper() { |
|
|
|
if (this.state.contentDisplayStatus) { |
|
|
|
let adSwiperDomStack = []; |
|
|
|
//aaa |
|
|
|
adDataList.map((item,index) => { |
|
|
|
item.target.qrCode = 'https://iformall-net.s3.cn-northwest-1.amazonaws.com.cn/null/73ddb1e4-8f19-4d5d-8387-742d3d5d2c77.png' |
|
|
|
adSwiperDomStack.push(this.setSwiperItemDom(item, index)) |
|
|
|
}) |
|
|
|
return adSwiperDomStack; |
|
|
|
|
|
|
|
}else{ |
|
|
|
return ( |
|
|
|
<View style={styles.content}> |
|
|
|
<Text style={styles.updatePage}>{this.state.errorMessage}</Text> |
|
|
|
</View> |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
getUpdateView() { |
|
|
|
if (this.state.progress.totalBytes > 0) |
|
|
@@ -697,6 +679,7 @@ getAdView(){ |
|
|
|
|
|
|
|
<View style={styles.adTypeSwiper02}> |
|
|
|
<Carousel |
|
|
|
style={styles.adTypeSwiper02Content} |
|
|
|
ref={'carousel02'} |
|
|
|
data={adDataList} |
|
|
|
renderItem={this.setSwiperItemDom} |
|
|
@@ -1218,6 +1201,7 @@ MyPage = CodePush(codePushOptions)(MyPage); |
|
|
|
width: '100%', |
|
|
|
height: '100%', |
|
|
|
position: 'relative', |
|
|
|
|
|
|
|
}, |
|
|
|
adWrap: { |
|
|
|
width: '100%', |
|
|
@@ -1245,6 +1229,9 @@ MyPage = CodePush(codePushOptions)(MyPage); |
|
|
|
bottom: 60/PixelRatio.get(), |
|
|
|
width: '100%', |
|
|
|
height: 270/PixelRatio.get(), |
|
|
|
paddingTop: 10/PixelRatio.get(), |
|
|
|
paddingBottom: 10/PixelRatio.get(), |
|
|
|
backgroundColor: 'rgba(0,0,0,.1)', |
|
|
|
}, |
|
|
|
|
|
|
|
adTypeItemImgWrap:{ |
|
|
@@ -1305,6 +1292,7 @@ MyPage = CodePush(codePushOptions)(MyPage); |
|
|
|
width: '100%', |
|
|
|
backgroundColor: 'transparent', |
|
|
|
alignItems: 'center', |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |