Kaynağa Gözat

[大屏][修改][添加盒子阴影]】

tags/jenkins-front-end-screenad-233-v133^0
caserKing 5 yıl önce
ebeveyn
işleme
ece490cce3
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. +4
    -4
      App.js

+ 4
- 4
App.js Dosyayı Görüntüle

@@ -58,13 +58,13 @@ var animationThemes = [
}
]
const shadowOpt = {
width: 700/PixelRatio.get(),
width: 703/PixelRatio.get(),
height: 240/PixelRatio.get(),
color:"#000",
border:2,
radius:3,
opacity:0.5,
x:0,
x:2,
y:3,
style:{marginVertical:5}
}
@@ -656,7 +656,7 @@ getAdView(){
</ImageBackground>
);
} else if (this.state.adType == 2) {
let curWidthNum = 700/(PixelRatio.get())
let curWidthNum = 710/(PixelRatio.get())
return (
// <ImageBackground style={styles.adTypeBg} source={require('./image/ad1.jpg')}>
<ImageBackground style={styles.adTypeBg} resizeMode="stretch" source={{ uri: this.state.curCoverImgUrl}}>
@@ -1198,7 +1198,7 @@ MyPage = CodePush(codePushOptions)(MyPage);
alignItems: 'center',
position: 'absolute',
left: 0,
bottom: 165/PixelRatio.get(),
bottom: 70/PixelRatio.get(),
width: '100%',
height: 369/PixelRatio.get(),
},


Yükleniyor…
İptal
Kaydet