Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
d9ff8bb7
Commit
d9ff8bb7
authored
Dec 17, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
android
parent
a318b046
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
src/components/activity/newyear-2019/landing/index.js
+4
-8
No files found.
src/components/activity/newyear-2019/landing/index.js
View file @
d9ff8bb7
...
@@ -119,9 +119,9 @@ class Landing extends Component {
...
@@ -119,9 +119,9 @@ class Landing extends Component {
handleToMyTreasure
=
()
=>
{
handleToMyTreasure
=
()
=>
{
this
.
joinSuccessPopup
&&
this
.
joinSuccessPopup
.
remove
()
this
.
joinSuccessPopup
&&
this
.
joinSuccessPopup
.
remove
()
if
(
getParam
(
'version'
))
{
if
(
getParam
(
'version'
))
{
history
.
push
(
`/year/yearTreasure?id=
${
id
}
&version=
${
getParam
(
'version'
)}
`
)
history
.
push
(
`/year/yearTreasure?id=
${
id
}
&version=
${
getParam
(
'version'
)}
`
)
}
else
{
}
else
{
history
.
push
(
`/year/yearTreasure?id=
${
id
}
`
)
history
.
push
(
`/year/yearTreasure?id=
${
id
}
`
)
}
}
}
}
...
@@ -276,17 +276,13 @@ class Landing extends Component {
...
@@ -276,17 +276,13 @@ class Landing extends Component {
showShareTip
=
()
=>
{
showShareTip
=
()
=>
{
const
{
user
}
=
this
.
props
const
{
user
}
=
this
.
props
if
(
browser
.
isAndroidApp
)
{
if
(
browser
.
isAndroidApp
||
browser
.
isIOSApp
)
{
}
else
if
(
browser
.
isIOSApp
)
{
SendMessageToApp
(
'toShare'
,
{
SendMessageToApp
(
'toShare'
,
{
title
:
`@
${
user
.
data
.
username
}
邀您一起组队拿豪礼!`
,
title
:
`@
${
user
.
data
.
username
}
邀您一起组队拿豪礼!`
,
desc
:
`加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`
,
desc
:
`加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`
,
link
:
`
${
window
.
location
.
origin
}
/
${
location
.
pathname
}
?treasure_code=
${
getParam
(
'treasure_code'
)}
&origin=2`
,
link
:
`
${
window
.
location
.
origin
}
/
${
location
.
pathname
}
?treasure_code=
${
getParam
(
'treasure_code'
)}
&origin=2`
,
//todo 分享图片更换
imgUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'
imgUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newIndex/community/tou5_bj.png'
})
})
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment