Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
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
wangxuelai
biz.qingxiao.com
Commits
87685ba1
Commit
87685ba1
authored
Nov 28, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
90a9e645
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
8 deletions
+46
-8
gatherempty.png
image/course/gatherempty.png
+0
-0
index.html
index.html
+1
-1
Card.js
src/pages/coursegather/index/Card.js
+2
-2
index.js
src/pages/coursegather/index/index.js
+7
-2
index.less
src/pages/coursegather/index/index.less
+33
-0
index.js
src/pages/onlineclasses/singleclass/index.js
+3
-3
No files found.
image/course/gatherempty.png
0 → 100644
View file @
87685ba1
7.62 KB
index.html
View file @
87685ba1
...
...
@@ -17,6 +17,6 @@
</head>
<body>
<div
id=
"root"
></div>
<script
src=
"dist/main.js?157490
7675933
"
charset=
"utf-8"
></script>
<script
src=
"dist/main.js?157490
8459032
"
charset=
"utf-8"
></script>
</body>
</html>
\ No newline at end of file
src/pages/coursegather/index/Card.js
View file @
87685ba1
...
...
@@ -17,11 +17,11 @@ const MediaCard = (props) => {
}
<
div
className
=
{
pageStyle
.
infobox
}
>
<
div
className
=
{
pageStyle
.
deleteIcon
}
onClick
=
{()
=>
course
.
deleteCourse
(
info
)}
><
Icon
type
=
"delete"
/><
/div
>
<
div
className
=
{
pageStyle
.
topbox
}
>
<
div
className
=
{
pageStyle
.
topbox
}
onClick
=
{()
=>
method
.
gogatherdetail
(
info
.
id
)}
>
<
div
className
=
{
pageStyle
.
title
}
>
{
info
.
title
}
<
/div
>
<
div
className
=
{
pageStyle
.
time
}
>
{
info
.
created_at
}
<
/div
>
<
/div
>
<
div
className
=
{
pageStyle
.
bottombox
}
>
<
div
className
=
{
pageStyle
.
bottombox
}
onClick
=
{()
=>
method
.
gogatherdetail
(
info
.
id
)}
>
<
div
className
=
{
pageStyle
.
bluedot
}
/
>
<
div
className
=
{
pageStyle
.
coursecount
}
><
span
style
=
{{
color
:
'red'
,
paddingRight
:
'2px'
}}
>
{
info
.
sub_courses_count
}
<
/span>个课程</
div
>
<
/div
>
...
...
src/pages/coursegather/index/index.js
View file @
87685ba1
...
...
@@ -134,8 +134,13 @@ class StaticCenter extends React.Component {
<
Button
type
=
"primary"
className
=
{
pageStyle
.
uploadbtn
}
onClick
=
{
this
.
toAddGather
}
>
创
建
专
栏
<
/Button
>
<
/div
>
{
gatherListTotal
==
0
&&
<
div
className
=
{
pageStyle
.
noEmpty
}
>
<
Empty
/>
<
div
className
=
{
pageStyle
.
noData
}
>
<
img
className
=
{
pageStyle
.
defaultImg
}
src
=
{
`
${
__IMGCDN__
}
course/gatherempty.png`
}
alt
=
"缺省图"
/>
<
h3
>
创建专栏
<
/h3
>
<
h5
>
两步完成专栏开设
<
/h5
>
<
p
>
1
.
选取一个有吸引力的标题
<
span
style
=
{{
opacity
:
0
}}
>
付;
<
/span></
p
>
<
p
>
2
.
选择专栏类型,免费
或者
付费
<
/p
>
<
Button
type
=
"primary"
className
=
{
pageStyle
.
createBtn
}
onClick
=
{
this
.
toAddGather
}
>
立即创建
<
/Button
>
<
/div>
}
{
gatherListTotal
>
0
&&
<
div
>
...
...
src/pages/coursegather/index/index.less
View file @
87685ba1
...
...
@@ -46,3 +46,36 @@
margin-right: 11px;
}
}
.noData {
width: 100%;
text-align: center;
padding-bottom: 12%;
padding-top: 85px;
.defaultImg {
width: 110px;
height: 110px;
background-color: #E0E0E0;
margin: 0 0 24px 0;
border-radius: 50%;
}
&>h3 {
font-size:22px;
font-weight:bold;
color:#1D1D1D;
margin-bottom: 50px;
}
&>h5 {
font-size:22px;
color:#1D1D1D;
margin-bottom: 60px;
}
&>p {
font-size: 16px;
color: #505050;
font-weight:400;
margin-bottom: 13px;
}
.createBtn {
margin-top: 20px;
}
}
\ No newline at end of file
src/pages/onlineclasses/singleclass/index.js
View file @
87685ba1
...
...
@@ -324,14 +324,14 @@ class ClassMgtForm extends React.Component {
item
.
cover
?
<
img
onClick
=
{()
=>
this
.
goEditCourseStatic
(
item
.
id
,
1
)}
className
=
{
pageStyle
.
itemImg
}
alt
=
"图片"
src
=
{
imagify
(
item
.
cover
)}
/>
:
<
img
onClick
=
{()
=>
this
.
goEditCourseStatic
(
item
.
id
,
1
)}
className
=
{
pageStyle
.
itemImg
}
src
=
{
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
alt
=
""
/>
}
title
=
{
<
div
className
=
{
pageStyle
.
itemTitleWrap
}
>
<
div
className
=
{
pageStyle
.
itemTitle
}
>
{
item
.
title
}
<
/div
>
<
div
className
=
{
pageStyle
.
itemTitleWrap
}
>
<
div
className
=
{
pageStyle
.
itemTitle
}
onClick
=
{()
=>
this
.
goEditCourseStatic
(
item
.
id
,
1
)}
>
{
item
.
title
}
<
/div
>
<
div
className
=
{
pageStyle
.
deleteIcon
}
onClick
=
{()
=>
this
.
deleteCourse
(
item
)}
><
Icon
type
=
"delete"
/><
/div
>
<
/div
>
}
description
=
{
<
div
>
<
div
className
=
{
pageStyle
.
itemTime
}
>
{
item
.
created_at
}
<
/div
>
<
div
className
=
{
pageStyle
.
itemTime
}
onClick
=
{()
=>
this
.
goEditCourseStatic
(
item
.
id
,
1
)}
>
{
item
.
created_at
}
<
/div
>
<
div
>
<
span
title
=
{(
item
.
content
&&
JSON
.
parse
(
item
.
content
)
&&
JSON
.
parse
(
item
.
content
).
src
)
?
JSON
.
parse
(
item
.
content
).
properties
.
name
:
''
}
className
=
"hreflink"
style
=
{{
paddingRight
:
'20px'
,
color
:
'#2194FF'
,
lineHeight
:
1
}}
onClick
=
{()
=>
this
.
toUploadCourseWare
(
item
)}
>
{(
item
.
content
&&
JSON
.
parse
(
item
.
content
)
&&
JSON
.
parse
(
item
.
content
).
src
)
?
'编辑课件'
:
'上传课件'
}
<
/span
>
<
span
className
=
"hreflink"
style
=
{{
color
:
'#2194FF'
,
lineHeight
:
1
}}
onClick
=
{()
=>
this
.
goEditCourse
(
item
.
id
,
2
)}
>
管理课程
<
/span
>
...
...
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