...
|
...
|
@@ -41,7 +41,15 @@ export default class ContentNotifyListCell extends Component { |
|
|
this.props.jumpToNotifGrassPage && this.props.jumpToNotifGrassPage(data);
|
|
|
}} >
|
|
|
<View style={styles.contentContainer}>
|
|
|
<YH_Image style={styles.iconStyle} url={imageUrl} resizeMode="contain"/>
|
|
|
{data.isDelete === 'Y'?
|
|
|
<Image style={styles.iconStyle} resizeMode="contain" source={require('../../images/notify_no.png')}/>
|
|
|
:
|
|
|
<View>
|
|
|
{imageUrl?<YH_Image style={styles.iconStyle} url={imageUrl} resizeMode="contain"/>:
|
|
|
<Image style={styles.iconStyle} resizeMode="contain" source={require('../../images/notify_pass.png')}/>
|
|
|
}
|
|
|
</View>
|
|
|
}
|
|
|
<View style={styles.textContainer}>
|
|
|
<Text style={styles.detail}>{data.content}</Text>
|
|
|
</View>
|
...
|
...
|
@@ -50,17 +58,26 @@ export default class ContentNotifyListCell extends Component { |
|
|
|
|
|
:
|
|
|
<TouchableOpacity activeOpacity={1} onPress={() =>{
|
|
|
let params = {
|
|
|
let param = {
|
|
|
action: 'go.h5',
|
|
|
params: {
|
|
|
url:data.link,
|
|
|
}
|
|
|
}
|
|
|
let path = 'http://m.yohobuy.com?openby:yohobuy=' + JSON.stringify(params);
|
|
|
let path = 'http://m.yohobuy.com?openby:yohobuy=' + JSON.stringify(param);
|
|
|
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(path);
|
|
|
}} >
|
|
|
<View style={styles.contentContainer}>
|
|
|
<YH_Image style={styles.iconStyle} url={imageUrl} resizeMode="contain"/>
|
|
|
|
|
|
{data.isDelete === 'Y'?
|
|
|
<Image style={styles.iconStyle} resizeMode="contain" source={require('../../images/notify_no.png')}/>
|
|
|
:
|
|
|
<View>
|
|
|
{imageUrl?<YH_Image style={styles.iconStyle} url={imageUrl} resizeMode="contain"/>:
|
|
|
<Image style={styles.iconStyle} resizeMode="contain" source={require('../../images/notify_no.png')}/>
|
|
|
}
|
|
|
</View>
|
|
|
}
|
|
|
<View style={styles.textContainer}>
|
|
|
<Text numberOfLines={3} style={styles.textStyle}>
|
|
|
<Text style={{color: '#444444'}}>{data.content}</Text>
|
...
|
...
|
|