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
8bab3a17
Commit
8bab3a17
authored
Aug 23, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单集购买问题
parent
95bbf036
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
src/components/detail/index.js
+2
-1
src/components/detail/single/singleSuccess.js
+1
-1
src/components/video/index.js
+1
-0
No files found.
src/components/detail/index.js
View file @
8bab3a17
...
@@ -533,11 +533,12 @@ class Detail extends Component {
...
@@ -533,11 +533,12 @@ class Detail extends Component {
/>
}
/>
}
{
/* 单集购买成功弹窗 */
}
{
/* 单集购买成功弹窗 */
}
{
{
singleType
!=
1
&&
singleType
!=
=
1
&&
<
SingleSuccess
<
SingleSuccess
boxHide
=
{
this
.
boxHide
}
boxHide
=
{
this
.
boxHide
}
data
=
{
this
.
state
.
singMess
}
data
=
{
this
.
state
.
singMess
}
singleType
=
{
singleType
}
singleType
=
{
singleType
}
vcourseId
=
{
course_info
.
v_course_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
nowPrice
=
{
this
.
state
.
nowPrice
}
nowPrice
=
{
this
.
state
.
nowPrice
}
laterPrice
=
{
this
.
state
.
laterPrice
}
laterPrice
=
{
this
.
state
.
laterPrice
}
...
...
src/components/detail/single/singleSuccess.js
View file @
8bab3a17
...
@@ -172,7 +172,7 @@ class Single extends Component {
...
@@ -172,7 +172,7 @@ class Single extends Component {
},
1000
)
},
1000
)
}
}
const
{
singleType
}
=
this
.
props
;
const
{
singleType
}
=
this
.
props
;
console
.
log
(
this
.
state
.
singleBox
);
console
.
log
(
this
.
props
);
return
(
return
(
<
div
className
=
'popup-box'
>
<
div
className
=
'popup-box'
>
{
{
...
...
src/components/video/index.js
View file @
8bab3a17
...
@@ -719,6 +719,7 @@ class Video extends Component {
...
@@ -719,6 +719,7 @@ class Video extends Component {
boxHide
=
{
this
.
boxHide
}
boxHide
=
{
this
.
boxHide
}
data
=
{
this
.
state
.
singMess
}
data
=
{
this
.
state
.
singMess
}
singleType
=
{
singleType
}
singleType
=
{
singleType
}
vcourseId
=
{
course
.
v_course_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
nowPrice
=
{
this
.
state
.
nowPrice
}
nowPrice
=
{
this
.
state
.
nowPrice
}
laterPrice
=
{
this
.
state
.
laterPrice
}
laterPrice
=
{
this
.
state
.
laterPrice
}
...
...
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