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
41bcec9e
Commit
41bcec9e
authored
Dec 09, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公共弹框初步完善
parent
7a230890
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
+18
-3
No files found.
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
View file @
41bcec9e
...
...
@@ -9,7 +9,8 @@ export default class index extends Component {
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{
list
:
[]
list
:
[],
showMark
:
true
,
}
}
...
...
@@ -58,12 +59,26 @@ export default class index extends Component {
const
vCourseId
=
url
.
split
(
'/'
)[
0
];
history
.
push
(
`/play/video?id=
${
vCourseId
}
`
)
}
// 关闭弹框
closePopup
=
()
=>
{
this
.
setState
({
showMark
:
false
,
})
}
render
()
{
const
{
list
}
=
this
.
state
;
const
{
list
,
showMark
}
=
this
.
state
;
return
(
<
div
className
=
'live__container'
>
<
CommonPopup
top
=
{
50
}
/
>
{
showMark
&&
(
<
CommonPopup
top
=
{
50
}
closePopup
=
{
this
.
closePopup
}
mark
=
{
true
}
>
<
div
>
1
<
/div
>
<
div
>
2
<
/div
>
<
/CommonPopup
>
)
}
<
CommonContainer
title
=
'大咖直播'
>
<
ul
className
=
'live__list'
>
{
...
...
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