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
f65cf663
Commit
f65cf663
authored
Sep 12, 2019
by
FE
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'new-share'
parents
6b2dd2df
85afdf9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
15 deletions
+19
-15
src/components/detail/index.js
+19
-15
No files found.
src/components/detail/index.js
View file @
f65cf663
...
...
@@ -542,7 +542,9 @@ class Detail extends Component {
title
=
{
course_info
.
course_title
}
check
=
{
this
.
check
}
courseId
=
{
course_info
.
course_id
}
/>
}
/
>
}
{
/* 单集购买成功弹窗 */
}
{
singleType
!==
1
&&
...
...
@@ -561,17 +563,29 @@ class Detail extends Component {
{
/*payCallback={this.payCallback}*/
}
{
/*weixinPay = {this.weixinPay}*/
}
{
/* 红包 */
}
{
isRedPacket
&&
<
RedPacket
history
=
{
this
.
props
.
history
}
country
=
{
this
.
props
.
country
}
delCountryNum
=
{
this
.
props
.
delCountryNum
}
/
>
}
{
/*分享赚钱*/
}
{
course_info
.
is_dist
&&
<
ShareRank
courseInfo
=
{
course_info
}
/
>
}
{
/**
{
/**
* 拼团
* is_aist: 是否AI特训营
* group_status: 团状态,3:课程有小团 用户没参加小团;4:用户参加了小团
*/
}
*/
}
{
!
course_info
.
is_aist
&&
(
course_info
.
group_status
===
3
||
course_info
.
group_status
===
4
)
&&
<
Group
...
...
@@ -581,17 +595,6 @@ class Detail extends Component {
invitedFriends
=
{
this
.
invitedFriends
}
/
>
}
{
/* 红包 */
}
{
isRedPacket
&&
<
RedPacket
history
=
{
this
.
props
.
history
}
country
=
{
this
.
props
.
country
}
delCountryNum
=
{
this
.
props
.
delCountryNum
}
/
>
}
{
/*砍价*/
}
{
...
...
@@ -617,7 +620,8 @@ class Detail extends Component {
// addCourseToCart={this.props.addCourseToCart}
toCart
=
{
this
.
toCart
}
history
=
{
this
.
props
.
history
}
/>
}
/
>
}
{
share
?
(
...
...
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