Просмотр исходного кода

【大屏】【修改】【取消盒子阴影尝试】

tags/jenkins-front-end-screenad-278-^0
caserKing 5 лет назад
Родитель
Сommit
8e63cc2d54
1 измененных файлов: 6 добавлений и 4 удалений
  1. +6
    -4
      App.js

+ 6
- 4
App.js Просмотреть файл

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


Загрузка…
Отмена
Сохранить