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
b6d2ee03
Commit
b6d2ee03
authored
Oct 31, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Plain Diff
分享
parents
60233a38
c7f5958a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
src/components/activity/invite.js
+15
-0
src/components/blessingPreheat/index.js
+0
-0
No files found.
src/components/activity/invite.js
View file @
b6d2ee03
...
...
@@ -21,7 +21,11 @@ class Invite extends Component {
let
uid
=
jsCookie
.
get
(
'uid'
);
let
shareuid
=
getParam
(
'shareuid'
);
if
(
uid
===
shareuid
)
{
<<<<<<<
HEAD
=======
>>>>>>>
c7f5958a86fc21ab5be3a03fb9e7277cfb2be9ba
}
else
{
if
(
getParam
(
'new'
))
{
this
.
props
.
history
.
push
(
`/activity?shareuid=
${
shareuid
}
&code=
${
inviteCode
}
`
);
...
...
@@ -81,10 +85,17 @@ class Invite extends Component {
if
(
is_weixin
())
{
// TODO 这里需要运营确定文案
wxShare
({
<<<<<<<
HEAD
title
:
'AI充电节,积福气享1折秒课,超10万元奖品来就送!!'
,
desc
:
'把这门超5万人报名的【Python基础入门 升级版】课程送给你,附200元红包,请笑纳!--七月在线'
,
link
:
encodeURI
(
location
.
origin
+
`/invite?shareuid=
${
jsCookie
.
get
(
'uid'
)}
&new=1&code=
${
inviteCode
}
`
),
imgUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png'
,
=======
title
:
"哈哈哈哈哈哈哈"
,
desc
:
"你的老相好在七月在线学习呢你来不来"
,
link
:
encodeURI
(
location
.
origin
+
`/invite?shareuid=
${
jsCookie
.
get
(
'uid'
)}
&new=1&code=
${
inviteCode
}
`
),
imgUrl
:
'https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/20a86c1353.jpg'
>>>>>>>
c7f5958a86fc21ab5be3a03fb9e7277cfb2be9ba
});
this
.
setState
({
showTip
:
true
,
...
...
@@ -139,7 +150,11 @@ class Invite extends Component {
<
/div
>
<
/div
>
<
/div
>
<<<<<<<
HEAD
=======
>>>>>>>
c7f5958a86fc21ab5be3a03fb9e7277cfb2be9ba
<
div
className
=
"but__con"
>
<
div
className
=
"button__content"
onClick
=
{
this
.
inviteFriends
}
>
...
...
src/components/blessingPreheat/index.js
View file @
b6d2ee03
This diff is collapsed.
Click to expand it.
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