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
e4e52ec5
Commit
e4e52ec5
authored
Aug 26, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
社区
parent
99d2686f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
29 deletions
+29
-29
src/components/Index/image/shequ_icon.png
+0
-0
src/components/Index/index.js
+29
-29
No files found.
src/components/Index/image/shequ_icon.png
0 → 100644
View file @
e4e52ec5
1.48 KB
src/components/Index/index.js
View file @
e4e52ec5
...
...
@@ -50,9 +50,9 @@ class Index extends Component {
'href'
:
'/examination'
},
{
'src'
:
require
(
'./image/
qynx
_icon.png'
),
'name'
:
'
企业内训
'
,
'href'
:
'http
://m-active
.julyedu.com'
'src'
:
require
(
'./image/
shequ
_icon.png'
),
'name'
:
'
社区
'
,
'href'
:
'http
s://ask
.julyedu.com'
}
]
}
...
...
@@ -120,18 +120,18 @@ class Index extends Component {
return
(
<
div
className
=
'index-box'
>
<
div
className
=
'header'
>
<
img
<
img
className
=
"logo"
src
=
"http://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/img/index/logo.png"
src
=
"http://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/img/index/logo.png"
alt
=
""
/>
<
CallApp
className
=
'to-app'
text
=
'在APP打开'
<
CallApp
className
=
'to-app'
text
=
'在APP打开'
/>
<
i
className
=
'iconfont iconiconfront- search'
onClick
=
{
this
.
toSearch
.
bind
(
this
)}
<
i
className
=
'iconfont iconiconfront- search'
onClick
=
{
this
.
toSearch
.
bind
(
this
)}
/
>
<
/div
>
...
...
@@ -166,8 +166,8 @@ class Index extends Component {
(
this
.
state
.
lives
&&
this
.
state
.
lives
.
length
>
0
)
?
<
div
className
=
'lives'
>
<
h2
className
=
"title"
>
近期直播
<
/h2
>
<
ScrollBox
livesList
=
{
this
.
state
.
lives
}
<
ScrollBox
livesList
=
{
this
.
state
.
lives
}
liveCourse
=
{
this
.
liveCourse
}
/
>
<
/div> : nul
l
...
...
@@ -177,8 +177,8 @@ class Index extends Component {
(
this
.
state
.
modules
&&
this
.
state
.
modules
.
length
>
0
)
?
this
.
state
.
modules
.
map
((
item
,
index
)
=>
{
return
(
<
div
key
=
{
index
}
>
<
CourseList
modules
=
{
item
}
<
CourseList
modules
=
{
item
}
toDetail
=
{
this
.
toCourseDetail
}
/
>
<
p
className
=
"borderTop"
/>
...
...
@@ -197,10 +197,10 @@ class Index extends Component {
{
/* 直播间预约 */
}
{
this
.
state
.
islive
&&
<
LiveRoom
isShow
=
{
this
.
state
.
isShow
}
<
LiveRoom
isShow
=
{
this
.
state
.
isShow
}
colseBox
=
{
this
.
colseBox
}
roomMess
=
{
this
.
state
.
roomMess
}
roomMess
=
{
this
.
state
.
roomMess
}
getIndexData
=
{
this
.
getIndexData
}
/
>
}
...
...
@@ -213,12 +213,12 @@ class Index extends Component {
function
TopSwiper
({
bannerList
})
{
return
(
<
Swiper
type
=
{
animateTypes
.
CARD
}
loop
=
{
true
}
height
=
{
168
}
autoPlay
=
{
true
}
typePro
<
Swiper
type
=
{
animateTypes
.
CARD
}
loop
=
{
true
}
height
=
{
168
}
autoPlay
=
{
true
}
typePro
createStyle
=
{
createStyle
}
>
{
bannerList
&&
bannerList
.
length
>
0
&&
bannerList
.
map
((
item
,
index
)
=>
{
...
...
@@ -229,16 +229,16 @@ function TopSwiper({bannerList}) {
<
img
className
=
"item"
src
=
{
item
.
name
}
alt
=
""
/>
{
/* </Link> */
}
<
/a>
:
<
Link
<
Link
to
=
{{
pathname
:
'/detail'
,
search
:
`?id=
${
item
.
jump_url
}
`
}}
}}
key
=
{
index
}
>
<
img
className
=
"item"
src
=
{
item
.
name
}
<
img
className
=
"item"
src
=
{
item
.
name
}
alt
=
""
/>
<
/Link
>
...
...
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