|
|
@@ -21,7 +21,7 @@ import DeviceInfo from "react-native-device-info"; |
|
|
|
import * as Animatable from 'react-native-animatable'; |
|
|
|
import Swiper from 'react-native-swiper'; |
|
|
|
import Carousel from 'react-native-snap-carousel'; |
|
|
|
import {BoxShadow} from 'react-native-shadow'; |
|
|
|
// import {BoxShadow} from 'react-native-shadow'; |
|
|
|
|
|
|
|
var testMac = 'FF:FF:FF:FF:FF:FF' |
|
|
|
var curAdIndex = 0; |
|
|
@@ -559,7 +559,8 @@ setSwiperItemDom(item) { |
|
|
|
} |
|
|
|
return ( |
|
|
|
<View style={styles.carouselItemWrap}> |
|
|
|
<BoxShadow setting={shadowOpt}> |
|
|
|
{/* <BoxShadow setting={shadowOpt}> */} |
|
|
|
<View setting={shadowOpt}> |
|
|
|
<View style={styles.contentItemTopForAd} key={index}> |
|
|
|
<Image source={curLogo} resizeMode='center' style={styles.contentItemUpLayerLogo} /> |
|
|
|
|
|
|
@@ -587,7 +588,8 @@ setSwiperItemDom(item) { |
|
|
|
|
|
|
|
|
|
|
|
</View> |
|
|
|
</BoxShadow> |
|
|
|
</View> |
|
|
|
{/* </BoxShadow> */} |
|
|
|
</View> |
|
|
|
) |
|
|
|
} |
|
|
@@ -689,7 +691,7 @@ getAdView(){ |
|
|
|
resizeMode="stretch" source={{uri: this.state.previewImg}}> |
|
|
|
</Image> |
|
|
|
|
|
|
|
<Animatable.View animation="slideInDown" style={styles.adWrap} key={this.state.coverImgUrl}> |
|
|
|
<Animatable.View animation="fadeIn" style={styles.adWrap} key={this.state.coverImgUrl}> |
|
|
|
{this.rendDefaultImg()} |
|
|
|
</Animatable.View> |
|
|
|
|
|
|
|