| @@ -58,7 +58,7 @@ var animationThemes = [ | |||||
| } | } | ||||
| ] | ] | ||||
| const shadowOpt = { | const shadowOpt = { | ||||
| width: 683/PixelRatio.get(), | |||||
| width: 800/PixelRatio.get(), | |||||
| height: 240/PixelRatio.get(), | height: 240/PixelRatio.get(), | ||||
| color:"#000", | color:"#000", | ||||
| border:2, | border:2, | ||||
| @@ -545,17 +545,6 @@ setAdSwiperItemDom(item) { | |||||
| setSwiperItemDom(item) { | setSwiperItemDom(item) { | ||||
| let contentItem = item.item; | let contentItem = item.item; | ||||
| let index = item.index; | let index = item.index; | ||||
| actionText = '扫码秒杀'; | |||||
| if (contentItem.type == 0) { | |||||
| if (contentItem.subType == 2) | |||||
| actionText = '扫码秒杀'; | |||||
| else if (contentItem.subType == 6) | |||||
| actionText = '扫码砍价'; | |||||
| else if (contentItem.subType == 7) | |||||
| actionText = '扫码拼团'; | |||||
| else | |||||
| actionText = '扫码领取'; | |||||
| } | |||||
| return ( | return ( | ||||
| <View style={styles.carouselItemWrap}> | <View style={styles.carouselItemWrap}> | ||||
| <BoxShadow setting={shadowOpt}> | <BoxShadow setting={shadowOpt}> | ||||
| @@ -581,7 +570,6 @@ setSwiperItemDom(item) { | |||||
| {/* <Image source={{uri:'data:image/png;base64,'+contentItem.qrcode}} resizeMode='contain' style={styles.contentItemTopQrcode} /> */} | {/* <Image source={{uri:'data:image/png;base64,'+contentItem.qrcode}} resizeMode='contain' style={styles.contentItemTopQrcode} /> */} | ||||
| <View style={styles.contentItemTopQrcodeBox}> | <View style={styles.contentItemTopQrcodeBox}> | ||||
| <Image source={{uri:contentItem.target.qrCode}} resizeMode='contain' style={styles.contentItemTopQrcode02} /> | <Image source={{uri:contentItem.target.qrCode}} resizeMode='contain' style={styles.contentItemTopQrcode02} /> | ||||
| <Text style={styles.contentItemBottomAction02}>{actionText}</Text> | |||||
| </View> | </View> | ||||
| @@ -685,7 +673,7 @@ getAdView(){ | |||||
| </View> | </View> | ||||
| <View style={styles.bottomBox}> | |||||
| {/* <View style={styles.bottomBox}> | |||||
| <View style={styles.bottomLogoBackground}> | <View style={styles.bottomLogoBackground}> | ||||
| <Image source={{ uri: this.state.baseInfo.imgUrlH}} resizeMode='contain' style={styles.bottomLogo} /> | <Image source={{ uri: this.state.baseInfo.imgUrlH}} resizeMode='contain' style={styles.bottomLogo} /> | ||||
| </View> | </View> | ||||
| @@ -698,7 +686,7 @@ getAdView(){ | |||||
| <Text style={styles.bottomQrcode1Str}>公众号</Text> | <Text style={styles.bottomQrcode1Str}>公众号</Text> | ||||
| </View> | </View> | ||||
| <Text style={styles.bottomPlacehold}>{this.state.versionInfo}</Text> | <Text style={styles.bottomPlacehold}>{this.state.versionInfo}</Text> | ||||
| </View> | |||||
| </View> */} | |||||
| </ImageBackground> | </ImageBackground> | ||||
| ); | ); | ||||
| } else if (this.state.adType == 1) { | } else if (this.state.adType == 1) { | ||||
| @@ -999,8 +987,8 @@ MyPage = CodePush(codePushOptions)(MyPage); | |||||
| }, | }, | ||||
| contentItemTopQrcode02:{ | contentItemTopQrcode02:{ | ||||
| width:'80%', | |||||
| height:'70%', | |||||
| width:'90%', | |||||
| height:'90%', | |||||
| }, | }, | ||||
| //layer content item bottom | //layer content item bottom | ||||
| @@ -1200,7 +1188,7 @@ MyPage = CodePush(codePushOptions)(MyPage); | |||||
| alignItems: 'center', | alignItems: 'center', | ||||
| position: 'absolute', | position: 'absolute', | ||||
| left: 0, | left: 0, | ||||
| bottom: 70/PixelRatio.get(), | |||||
| bottom: 30/PixelRatio.get(), | |||||
| width: '100%', | width: '100%', | ||||
| height: 369/PixelRatio.get(), | height: 369/PixelRatio.get(), | ||||
| }, | }, | ||||
| @@ -1235,7 +1223,7 @@ MyPage = CodePush(codePushOptions)(MyPage); | |||||
| contentItemTopForAd:{ | contentItemTopForAd:{ | ||||
| flex: 1, | flex: 1, | ||||
| width: 680/PixelRatio.get(), | |||||
| width: 800/PixelRatio.get(), | |||||
| // width: '100%', | // width: '100%', | ||||
| height:'100%', | height:'100%', | ||||
| paddingLeft: 12/PixelRatio.get(), | paddingLeft: 12/PixelRatio.get(), | ||||