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
839c3e67
Commit
839c3e67
authored
Nov 03, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pull
parent
326d61b9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
385 additions
and
2 deletions
+385
-2
build/precache-manifest.20fa1bc8e58e231458134601b742fddf.js
+379
-0
src/components/blessingPreheat/collectBlessing/index.js
+6
-2
No files found.
build/precache-manifest.20fa1bc8e58e231458134601b742fddf.js
0 → 100644
View file @
839c3e67
This diff is collapsed.
Click to expand it.
src/components/blessingPreheat/collectBlessing/index.js
View file @
839c3e67
...
@@ -55,7 +55,8 @@ class CollectBlessing extends Component {
...
@@ -55,7 +55,8 @@ class CollectBlessing extends Component {
};
};
}
}
qqToShare
=
()
=>
{
qqToShare
=
(
e
)
=>
{
e
.
preventDefault
();
const
{
uid
,
history
}
=
this
.
props
;
const
{
uid
,
history
}
=
this
.
props
;
if
(
getParam
(
'version'
))
{
if
(
getParam
(
'version'
))
{
if
(
!
uid
)
{
if
(
!
uid
)
{
...
@@ -70,8 +71,11 @@ class CollectBlessing extends Component {
...
@@ -70,8 +71,11 @@ class CollectBlessing extends Component {
}
}
}
else
{
}
else
{
if
(
!
uid
)
{
if
(
!
uid
)
{
console
.
log
(
1
,
1
);
history
.
push
(
'/passport'
);
history
.
push
(
'/passport'
);
}
else
{
}
else
{
console
.
log
(
2
,
1
);
history
.
push
(
'/blessingPreheat?utm_source=qq&utm_medium=11&utm_campaign=QQ11&utm_content=11&utm_term=11'
)
history
.
push
(
'/blessingPreheat?utm_source=qq&utm_medium=11&utm_campaign=QQ11&utm_content=11&utm_term=11'
)
this
.
fetchUserBlessing
(
3
,
()
=>
{
this
.
fetchUserBlessing
(
3
,
()
=>
{
this
.
handleToAddBlessing
(
3
);
this
.
handleToAddBlessing
(
3
);
...
@@ -287,7 +291,7 @@ class CollectBlessing extends Component {
...
@@ -287,7 +291,7 @@ class CollectBlessing extends Component {
<
a
<
a
className
=
"collect-blessing__share-button"
className
=
"collect-blessing__share-button"
data
-
type
=
"qq"
data
-
type
=
"qq"
onClick
=
{
this
.
qqToShare
}
onClick
=
{
(
e
)
=>
this
.
qqToShare
(
e
)
}
><
/a
>
><
/a
>
<
a
<
a
className
=
"collect-blessing__share-button"
className
=
"collect-blessing__share-button"
...
...
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