Authored by yoho-js001

Add header jump url action.

... ... @@ -37,7 +37,7 @@ export default class Tags extends React.Component {
{tags.map(
(value, i) => {
return (
<Text style={styles.tag} onPress={()=>{this.props.onPressTag&&this.props.onPressTag(value.url)}}>{value.name}</Text>
<Text key={i} style={styles.tag} onPress={()=>{this.props.onPressTag&&this.props.onPressTag(value.url)}}>{value.name}</Text>
);
}
)}
... ...
... ... @@ -74,7 +74,6 @@ export default class List extends Component {
share,
id,
} = this.props.resource;
console.log(this.props.resource);
let urlAry = url.split('&');
let shareParam = {
title,
... ...
... ... @@ -93,7 +93,8 @@ class DetailContainer extends Component {
}
_onPressAuthor(url) {
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
let taggedUrl = urlAddParamOfType(url, '11')
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(taggedUrl);
}
_onPressBrand(url) {
... ...