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
0d70b54c
Commit
0d70b54c
authored
Aug 23, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
19e77109
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
src/components/bargainMiddlePage/index.js
+1
-0
src/components/video/index.js
+12
-12
No files found.
src/components/bargainMiddlePage/index.js
View file @
0d70b54c
...
...
@@ -280,6 +280,7 @@ class BargainMiddlePage extends Component {
// 邀请好友砍价
shareFriendBargain
=
()
=>
{
alert
(
location
.
href
)
this
.
setState
({
isShowOverlay
:
true
,
status
:
7
,
...
...
src/components/video/index.js
View file @
0d70b54c
...
...
@@ -41,16 +41,16 @@ function ProgressShareModal(props) {
<
div
className
=
"title"
>
分享到
<
/div
>
<
ul
>
<
li
className
=
'share-icon'
>
<
Link
style
=
{{
display
:
'block'
}}
to
=
{
props
.
data
.
url
}
>
<
a
style
=
{{
display
:
'block'
}}
href
=
{
props
.
data
.
url
}
>
<
div
className
=
"icon"
><
i
className
=
'iconfont iconweixinzhifu'
/><
/div
>
<
div
className
=
'text'
>
微信好友
<
/div
>
<
/
Link
>
<
/
a
>
<
/li
>
<
li
className
=
'share-icon'
>
<
Link
style
=
{{
display
:
'block'
}}
to
=
{
props
.
data
.
url
}
>
<
a
style
=
{{
display
:
'block'
}}
href
=
{
props
.
data
.
url
}
>
<
div
className
=
"icon"
><
i
className
=
'iconfont iconpengyouquaniconx'
/><
/div
>
<
div
className
=
'text'
>
朋友圈
<
/div
>
<
/
Link
>
<
/
a
>
<
/li
>
<
/ul
>
<
/div
>
...
...
@@ -557,7 +557,7 @@ class Video extends Component {
this
.
setState
(
{
activeIndex
:
index
},
},
()
=>
{
if
(
this
.
lessonAvailable
(
index
))
{
if
(
this
.
hasAuth
(
index
))
{
...
...
@@ -673,14 +673,14 @@ class Video extends Component {
<
div
className
=
"purchase-box"
>
<
div
className
=
'hint'
>
您尚未购买该课时,请购买后学习。
<
/div
>
<
div
className
=
'btns'
>
<
button
<
button
type
=
'button'
onClick
=
{
this
.
tobuy
}
className
=
'purchase-class'
>
¥
{
salePrice
}
购买课程
<
/button
>
<
button
<
button
type
=
'button'
onClick
=
{
this
.
toSingleset
.
bind
(
this
,
videoList
[
activeIndex
])}
className
=
'purchase-episode'
...
...
@@ -719,10 +719,10 @@ class Video extends Component {
{
/*单集购买*/
}
{
singleBox
&&
<
Single
<
Single
courseId
=
{
course
.
course_id
}
singleBox
=
{
this
.
state
.
singleBox
}
boxHide
=
{
this
.
boxHide
}
singleBox
=
{
this
.
state
.
singleBox
}
boxHide
=
{
this
.
boxHide
}
data
=
{
this
.
state
.
singMess
}
singleType
=
{
this
.
state
.
singleType
}
vcourseId
=
{
course
.
v_course_id
}
...
...
@@ -751,8 +751,8 @@ class Video extends Component {
pathname
:
'/play/video'
,
search
:
location
.
search
}}
/
>
<
Route
path
=
{
`
${
match
.
path
}
/video`
}
<
Route
path
=
{
`
${
match
.
path
}
/video`
}
render
=
{
props
=>
{
return
(
<
VideoCatalog
...
...
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