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
0d127fe8
Commit
0d127fe8
authored
Dec 18, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
备用方案
parent
1141d8ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/components/activity/newyear-2019/landing/index.js
+2
-2
src/components/activity/newyear-2019/treasure-box/team.js
+2
-2
No files found.
src/components/activity/newyear-2019/landing/index.js
View file @
0d127fe8
...
@@ -289,7 +289,7 @@ class Landing extends Component {
...
@@ -289,7 +289,7 @@ class Landing extends Component {
const
{
data
}
=
res
.
data
const
{
data
}
=
res
.
data
return
data
.
url
return
data
.
url
}).
then
(
text
=>
{
}).
then
(
text
=>
{
QRCode
.
toDataURL
(
text
)
QRCode
.
toDataURL
(
'text'
)
.
then
(
url
=>
{
.
then
(
url
=>
{
Popup
({
Popup
({
title
:
'提醒服务'
,
title
:
'提醒服务'
,
...
@@ -545,7 +545,7 @@ class Landing extends Component {
...
@@ -545,7 +545,7 @@ class Landing extends Component {
<
/
>
<
/
>
}
}
{
{
status
===
2
&&
!
activityEnd
&&
<
button
type
=
'button'
className
=
{
'invite-btn'
}
onClick
=
{
this
.
joinTeam
}
>
!
(
standby_plan
&&
browser
.
isWeixin
)
&&
status
===
2
&&
!
activityEnd
&&
<
button
type
=
'button'
className
=
{
'invite-btn'
}
onClick
=
{
this
.
joinTeam
}
>
同意加入队伍
同意加入队伍
<
/button
>
<
/button
>
}
}
...
...
src/components/activity/newyear-2019/treasure-box/team.js
View file @
0d127fe8
...
@@ -102,8 +102,8 @@ class TeamInfo extends Component {
...
@@ -102,8 +102,8 @@ class TeamInfo extends Component {
// 直接跳转
// 直接跳转
if
(
!
getParam
(
'version'
))
{
if
(
!
getParam
(
'version'
))
{
//
this.props.history.push('/activity/newyear-2019/landing?origin=1&treasure_code=' + treasure_code);
this
.
props
.
history
.
push
(
'/activity/newyear-2019/landing?origin=1&treasure_code='
+
treasure_code
);
window
.
location
.
assign
(
'https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code='
+
treasure_code
);
//
window.location.assign('https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code=' + treasure_code);
}
else
{
}
else
{
window
.
location
.
assign
(
'https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code='
+
treasure_code
+
'&version='
+
getParam
(
'version'
));
window
.
location
.
assign
(
'https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code='
+
treasure_code
+
'&version='
+
getParam
(
'version'
));
}
}
...
...
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