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
5aa35102
Commit
5aa35102
authored
Aug 26, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信分享
parent
91ec42f9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/components/detail/group/togroup.js
+4
-0
src/components/detail/index.js
+4
-0
No files found.
src/components/detail/group/togroup.js
View file @
5aa35102
...
@@ -27,6 +27,10 @@ class ToGroup extends Component {
...
@@ -27,6 +27,10 @@ class ToGroup extends Component {
invitedFriends
=
()
=>
{
invitedFriends
=
()
=>
{
const
{
pdd_price
,
number
,
data
}
=
this
.
state
;
const
{
pdd_price
,
number
,
data
}
=
this
.
state
;
if
(
browser
.
isWeixin
)
{
if
(
browser
.
isWeixin
)
{
let
share
=
this
.
state
.
share
;
this
.
setState
({
share
:
!
share
,
});
wxShare
({
wxShare
({
title
:
`【仅剩
${
number
}
个名额】我
${
pdd_price
}
元拼了《
${
data
.
course_title
}
》`
,
title
:
`【仅剩
${
number
}
个名额】我
${
pdd_price
}
元拼了《
${
data
.
course_title
}
》`
,
desc
:
data
.
course_title
,
desc
:
data
.
course_title
,
...
...
src/components/detail/index.js
View file @
5aa35102
...
@@ -370,6 +370,10 @@ class Detail extends Component {
...
@@ -370,6 +370,10 @@ class Detail extends Component {
invitedFriends
=
()
=>
{
invitedFriends
=
()
=>
{
const
{
course_title
,
image_name
,
course_id
,
pdd_group_info
,
pdd_group_info
:
{
groupon_member
,
groupon_member
:
{
number
},
price
}}
=
this
.
state
.
course
.
course_info
;
const
{
course_title
,
image_name
,
course_id
,
pdd_group_info
,
pdd_group_info
:
{
groupon_member
,
groupon_member
:
{
number
},
price
}}
=
this
.
state
.
course
.
course_info
;
if
(
browser
.
isWeixin
)
{
if
(
browser
.
isWeixin
)
{
let
share
=
this
.
state
.
share
;
this
.
setState
({
share
:
!
share
,
});
wxShare
({
wxShare
({
title
:
`【仅剩
${
number
}
个名额】我
${
price
}
元拼了《
${
course_title
}
》`
,
title
:
`【仅剩
${
number
}
个名额】我
${
price
}
元拼了《
${
course_title
}
》`
,
desc
:
course_title
,
desc
:
course_title
,
...
...
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