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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
+1
-1
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
...
...
@@ -88,7 +88,7 @@ class LiveRoom extends Component {
this
.
toLogin
();
}
else
{
const
vCourseId
=
url
.
split
(
'/'
)[
0
];
history
.
push
(
`/play/video?id=
${
vCourseId
}
`
)
window
.
location
.
href
=
`/play/video?id=
${
vCourseId
}
`
}
}
// 关闭弹框
...
...
src/components/activity/newyear-2019/preheat/YearCourse/index.js
View file @
2c62025f
...
...
@@ -610,7 +610,6 @@ class YearCourse extends Component {
<
div
className
=
{
'year-index-course'
}
>
{
/*浮框*/
}
{
Number
(
treasureStage
)
===
1
&&
<
div
className
=
'nav-right'
>
...
...
src/components/activity/newyear-2019/preheat/YearCourse/index.scss
View file @
2c62025f
...
...
@@ -417,7 +417,11 @@
}
}
.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 {
activity_stage
:
data
.
activity_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
{
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