diff --git a/App.js b/App.js
index d230caa..36201c6 100644
--- a/App.js
+++ b/App.js
@@ -58,7 +58,7 @@ var animationThemes = [
}
]
const shadowOpt = {
- width: 703/PixelRatio.get(),
+ width: 683/PixelRatio.get(),
height: 240/PixelRatio.get(),
color:"#000",
border:2,
@@ -557,6 +557,7 @@ setSwiperItemDom(item) {
actionText = '扫码领取';
}
return (
+
@@ -586,6 +587,7 @@ setSwiperItemDom(item) {
+
)
}
renderAdTypeSwiper() {
@@ -656,7 +658,7 @@ getAdView(){
);
} else if (this.state.adType == 2) {
- let curWidthNum = 710/(PixelRatio.get())
+ let curWidthNum = 1080/(PixelRatio.get())
return (
//
@@ -671,7 +673,8 @@ getAdView(){
data={adDataList}
renderItem={this.setSwiperItemDom}
sliderWidth={curWidthNum}
- itemWidth={curWidthNum}
+ itemWidth={curWidthNum}
+ layout={'stack'}
itemHeight={134}
sliderHeight={134}
activeSlideOffset={0}
@@ -1154,7 +1157,7 @@ MyPage = CodePush(codePushOptions)(MyPage);
contentItemTopDetailSalePrice02:{
position:"absolute",
- bottom:24/PixelRatio.get(),
+ bottom:14/PixelRatio.get(),
left:0,
// flex: 1,
paddingTop:138/PixelRatio.get(),
@@ -1232,7 +1235,7 @@ MyPage = CodePush(codePushOptions)(MyPage);
contentItemTopForAd:{
flex: 1,
- width: 700/PixelRatio.get(),
+ width: 680/PixelRatio.get(),
// width: '100%',
height:'100%',
paddingLeft: 12/PixelRatio.get(),
@@ -1252,6 +1255,13 @@ MyPage = CodePush(codePushOptions)(MyPage);
onlyAdTypeItemImg:{
width: '100%',
height: '100%',
+ },
+
+ carouselItemWrap: {
+ flex: 1,
+ width: '100%',
+ backgroundColor: 'transparent',
+ alignItems: 'center',
}
});