Commit a0a393e1 by dazhou

组队开宝箱跳转链接h5调整为m

parent b1a57aea
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -363,13 +363,13 @@ class MyTreasure extends Component {
handleToInvite = (treasure_code) => {
if (getParam("version")) {
window.location.assign(
`https://h5.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=1&version=${getParam(
`https://m.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=1&version=${getParam(
"version"
)}`
)
} else {
window.location.assign(
`https://h5.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=1`
`https://m.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=1`
)
}
}
......
......@@ -134,7 +134,7 @@ class TreasureTeam extends Component {
is_captain ? (
<a
className="team-button"
href={`https://h5.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=1&version=${getParam(
href={`https://m.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=1&version=${getParam(
"version"
)}`}
>
......@@ -143,7 +143,7 @@ class TreasureTeam extends Component {
) : (
<a
className="team-button"
href={`https://h5.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=2&version=${getParam(
href={`https://m.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=2&version=${getParam(
"version"
)}`}
>
......@@ -153,14 +153,14 @@ class TreasureTeam extends Component {
) : is_captain ? (
<a
className="team-button"
href={`https://h5.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=1`}
href={`https://m.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=1`}
>
继续邀请队友
</a>
) : (
<a
className="team-button"
href={`https://h5.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=2`}
href={`https://m.julyedu.com/box/landing?treasure_code=${treasure_code}&origin=2`}
>
帮好友完成组队
</a>
......
......@@ -120,12 +120,12 @@ class TeamInfo extends Component {
//todo 跳转
// this.props.history.push('/box/landing?origin=1&treasure_code=' + treasure_code);
window.location.assign(
"https://h5.julyedu.com/box/landing?origin=1&treasure_code=" +
"https://m.julyedu.com/box/landing?origin=1&treasure_code=" +
treasure_code
)
} else {
window.location.assign(
"https://h5.julyedu.com/box/landing?origin=1&treasure_code=" +
"https://m.julyedu.com/box/landing?origin=1&treasure_code=" +
treasure_code +
"&version=" +
getParam("version")
......@@ -140,12 +140,12 @@ class TeamInfo extends Component {
const { treasure_code } = data
if (!getParam("version")) {
window.location.assign(
"https://h5.julyedu.com/box/landing?origin=1&treasure_code=" +
"https://m.julyedu.com/box/landing?origin=1&treasure_code=" +
treasure_code
)
} else {
window.location.assign(
"https://h5.julyedu.com/box/landing?origin=1&treasure_code=" +
"https://m.julyedu.com/box/landing?origin=1&treasure_code=" +
treasure_code +
"&version=" +
getParam("version")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment