瀏覽代碼

[图片][修改]:缓存除了商品外的其他图片

tags/jenkins-front-end-screenad-163-v97^0
hupeng 6 年之前
父節點
當前提交
ff2e01c965
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      App.js

+ 4
- 4
App.js 查看文件

@@ -482,7 +482,7 @@ render() {
</View> </View>
<ImageBackground source={require('./image/title-qrcode.png') } resizeMode='center' style={styles.titleQrcodeBonder} > <ImageBackground source={require('./image/title-qrcode.png') } resizeMode='center' style={styles.titleQrcodeBonder} >
<View style={styles.titleQrcodePlacehold}></View> <View style={styles.titleQrcodePlacehold}></View>
<Image source={{uri: this.state.baseInfo.imgQrcodeWeapp}} resizeMode='center' style={styles.titleQrcode} />
<CachedImage source={{uri: this.state.baseInfo.imgQrcodeWeapp}} resizeMode='center' style={styles.titleQrcode} />
<View style={styles.titleQrcodePlacehold}></View> <View style={styles.titleQrcodePlacehold}></View>
</ImageBackground> </ImageBackground>
</View> </View>
@@ -491,14 +491,14 @@ render() {
{/* 底部商场信息展示开始 */} {/* 底部商场信息展示开始 */}
<View style={styles.bottom}> <View style={styles.bottom}>
<View style={styles.bottomLogoBackground}> <View style={styles.bottomLogoBackground}>
<Image source={{ uri: this.state.baseInfo.imgUrlH, cache: 'force-cache'}} resizeMode='contain' style={styles.bottomLogo} />
<CachedImage source={{ uri: this.state.baseInfo.imgUrlH}} resizeMode='contain' style={styles.bottomLogo} />
</View> </View>
<View style={styles.bottomQrcode1Background}> <View style={styles.bottomQrcode1Background}>
<Image source={{ uri: this.state.baseInfo.imgQrcodeWeapp, cache: 'force-cache'}} resizeMode='center' style={styles.bottomQrcode1} />
<CachedImage source={{ uri: this.state.baseInfo.imgQrcodeWeapp}} resizeMode='center' style={styles.bottomQrcode1} />
<Text style={styles.bottomQrcode1Str}>小程序</Text> <Text style={styles.bottomQrcode1Str}>小程序</Text>
</View> </View>
<View style={styles.bottomQrcode2Background}> <View style={styles.bottomQrcode2Background}>
<Image source={{ uri: this.state.baseInfo.imgQrcodeWemp, cache: 'force-cache'}} resizeMode='center' style={styles.bottomQrcode2} />
<CachedImage source={{ uri: this.state.baseInfo.imgQrcodeWemp}} resizeMode='center' style={styles.bottomQrcode2} />
<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>


Loading…
取消
儲存