Authored by 张文文

种草消息跳转链接修改 reviewd by 陈林

... ... @@ -80,16 +80,16 @@ class ContentListContainer extends Component {
let url = communityHost + (Platform.OS === 'ios' ? '/grass': '') + `/author/${1}/${optUid}`
let action, params;
if(Platform.OS === 'ios') {
action = 'go.h5hn';
action = 'go.h5';
params = {
url,
headerid: -1,
param : { headerid: "-1", toplayoutByH5: 'Y' }
}
} else {
action = 'go.h5';
params = {
url,
param : { headerid: "-1" }
param : { headerid: "-1", toplayoutByH5: 'Y' }
}
}
let jumpParams = {
... ... @@ -106,16 +106,16 @@ class ContentListContainer extends Component {
let url = communityHost + (Platform.OS === 'ios' ? '/grass': '') + `/article/detail/${articleId}`+ `?commentId=${rootCommentId}`
let action, params;
if(Platform.OS === 'ios') {
action = 'go.h5hn';
action = 'go.h5';
params = {
url,
headerid: -1,
param : { headerid: "-1", toplayoutByH5: 'Y' }
}
} else {
action = 'go.h5';
params = {
url,
param : { headerid: "-1" }
param : { headerid: "-1", toplayoutByH5: 'Y' }
}
}
let jumpParams = {
... ...
... ... @@ -111,16 +111,16 @@ class ContentMessageContainer extends Component {
let url = communityHost + (Platform.OS === 'ios' ? '/grass': '') + `/author/${1}/${optUid}`
let action, params;
if(Platform.OS === 'ios') {
action = 'go.h5hn';
action = 'go.h5';
params = {
url,
headerid: -1,
param : { headerid: "-1", toplayoutByH5: 'Y' }
}
} else {
action = 'go.h5';
params = {
url,
param : { headerid: "-1" }
param : { headerid: "-1", toplayoutByH5: 'Y' }
}
}
let jumpParams = {
... ... @@ -138,16 +138,16 @@ class ContentMessageContainer extends Component {
let action, params;
if(Platform.OS === 'ios') {
action = 'go.h5hn';
action = 'go.h5';
params = {
url,
headerid: -1,
param : { headerid: "-1", toplayoutByH5: 'Y' }
}
} else {
action = 'go.h5';
params = {
url,
param : { headerid: "-1" }
param : { headerid: "-1", toplayoutByH5: 'Y' }
}
}
let jumpParams = {
... ...