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
2c62025f
Commit
2c62025f
authored
Dec 31, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Plain Diff
返场
parents
51690c8c
147f2f72
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
6 deletions
+20
-6
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
+4
-4
src/components/activity/newyear-2019/preheat/YearCourse/index.js
+0
-1
src/components/activity/newyear-2019/preheat/YearCourse/index.scss
+6
-1
src/components/activity/newyear-2019/preheat/index.js
+10
-0
No files found.
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
View file @
2c62025f
...
@@ -66,7 +66,7 @@ class LiveRoom extends Component {
...
@@ -66,7 +66,7 @@ class LiveRoom extends Component {
}
}
});
});
}
}
}
}
// 已预约 给提示
// 已预约 给提示
tip
=
()
=>
{
tip
=
()
=>
{
...
@@ -88,7 +88,7 @@ class LiveRoom extends Component {
...
@@ -88,7 +88,7 @@ class LiveRoom extends Component {
this
.
toLogin
();
this
.
toLogin
();
}
else
{
}
else
{
const
vCourseId
=
url
.
split
(
'/'
)[
0
];
const
vCourseId
=
url
.
split
(
'/'
)[
0
];
history
.
push
(
`/play/video?id=
${
vCourseId
}
`
)
window
.
location
.
href
=
`/play/video?id=
${
vCourseId
}
`
}
}
}
}
// 关闭弹框
// 关闭弹框
...
@@ -140,7 +140,7 @@ class LiveRoom extends Component {
...
@@ -140,7 +140,7 @@ class LiveRoom extends Component {
<
/CommonPopup
>
<
/CommonPopup
>
)
)
}
}
<
CommonContainer
title
=
'大咖直播'
id
=
"year-live"
>
<
CommonContainer
title
=
'大咖直播'
id
=
"year-live"
>
<
ul
className
=
'live__list'
>
<
ul
className
=
'live__list'
>
{
{
...
@@ -177,7 +177,7 @@ class LiveRoom extends Component {
...
@@ -177,7 +177,7 @@ class LiveRoom extends Component {
item
.
on_live
==
0
&&
item
.
is_end
==
0
&&
item
.
is_subscribe
==
1
&&
(
item
.
on_live
==
0
&&
item
.
is_end
==
0
&&
item
.
is_subscribe
==
1
&&
(
<
span
onClick
=
{
this
.
tip
}
className
=
"order__btn subscribed"
>
已预约
<
/span
>
<
span
onClick
=
{
this
.
tip
}
className
=
"order__btn subscribed"
>
已预约
<
/span
>
)
)
}
}
{
{
item
.
on_live
==
1
&&
item
.
is_end
==
0
&&
(
item
.
on_live
==
1
&&
item
.
is_end
==
0
&&
(
<
span
onClick
=
{()
=>
this
.
toLivingRoom
(
item
.
room_url
)}
className
=
"order__btn living"
>
正在直播
<
/span
>
<
span
onClick
=
{()
=>
this
.
toLivingRoom
(
item
.
room_url
)}
className
=
"order__btn living"
>
正在直播
<
/span
>
...
...
src/components/activity/newyear-2019/preheat/YearCourse/index.js
View file @
2c62025f
...
@@ -610,7 +610,6 @@ class YearCourse extends Component {
...
@@ -610,7 +610,6 @@ class YearCourse extends Component {
<
div
className
=
{
'year-index-course'
}
>
<
div
className
=
{
'year-index-course'
}
>
{
/*浮框*/
}
{
/*浮框*/
}
{
{
Number
(
treasureStage
)
===
1
&&
Number
(
treasureStage
)
===
1
&&
<
div
className
=
'nav-right'
>
<
div
className
=
'nav-right'
>
...
...
src/components/activity/newyear-2019/preheat/YearCourse/index.scss
View file @
2c62025f
...
@@ -417,7 +417,11 @@
...
@@ -417,7 +417,11 @@
}
}
}
}
.nav-right-wish
{
.nav-right-wish
{
background-image
:
url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fanc-bx.png")
;
.nav-right__link
{
top
:
60px
;
left
:
10px
;
}
}
}
}
}
\ No newline at end of file
src/components/activity/newyear-2019/preheat/index.js
View file @
2c62025f
...
@@ -136,6 +136,16 @@ export default class index extends Component {
...
@@ -136,6 +136,16 @@ export default class index extends Component {
activity_stage
:
data
.
activity_stage
,
activity_stage
:
data
.
activity_stage
,
treasure_stage
:
data
.
treasure_stage
treasure_stage
:
data
.
treasure_stage
})
})
if
(
data
.
activity_stage
==
3
){
this
.
setState
({
banner
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_banner_fc.png'
,
})
}
else
{
this
.
setState
({
banner
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_banner_bj%402x.png'
,
})
}
}
else
{
}
else
{
Toast
.
info
(
msg
,
2
)
Toast
.
info
(
msg
,
2
)
}
}
...
...
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