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
256d1b1a
Commit
256d1b1a
authored
Nov 27, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
8a018ff8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
13 deletions
+13
-13
index.html
index.html
+1
-1
AddCourseModal.js
src/pages/coursegather/detail/AddCourseModal.js
+2
-2
CourseBox.js
src/pages/coursegather/detail/CourseBox.js
+4
-4
CourseBox.less
src/pages/coursegather/detail/CourseBox.less
+1
-1
ManageCourse.less
src/pages/coursegather/detail/ManageCourse.less
+1
-1
Card.js
src/pages/coursegather/index/Card.js
+2
-2
Card.less
src/pages/coursegather/index/Card.less
+2
-2
No files found.
index.html
View file @
256d1b1a
...
...
@@ -17,6 +17,6 @@
</head>
<body>
<div
id=
"root"
></div>
<script
src=
"dist/main.js?15748
19925045
"
charset=
"utf-8"
></script>
<script
src=
"dist/main.js?15748
22070058
"
charset=
"utf-8"
></script>
</body>
</html>
\ No newline at end of file
src/pages/coursegather/detail/AddCourseModal.js
View file @
256d1b1a
...
...
@@ -94,7 +94,7 @@ class AddCourseModal extends React.Component {
okText
=
{
loading
?
'保存中...'
:
'保存'
}
onOk
=
{
this
.
submit
}
bodyStyle
=
{{
padding
:
'
4
0px 20px'
,
padding
:
'
2
0px 20px'
,
}}
>
{
courseListTotal
==
0
&&
<
Empty
description
=
{
<
span
className
=
{
pageStyle
.
emptytext
}
>
您还没有创建单课
<
br
/>
请直接点击“创建专栏”完成创建
<
/span>} /
>
}
...
...
@@ -103,7 +103,7 @@ class AddCourseModal extends React.Component {
{
courseList
.
map
(
ele
=>
(
<
Col
span
=
{
12
}
style
=
{{
marginBottom
:
'10px'
}}
key
=
{
ele
.
id
}
>
<
Checkbox
id
=
"1"
style
=
{{
display
:
'flex'
,
alignItems
:
'flex-start'
}}
onChange
=
{()
=>
this
.
checkedChange
(
ele
.
id
)}
checked
=
{
course_ids
.
indexOf
(
ele
.
id
)
!=
-
1
}
>
<
div
className
=
{
pageStyle
.
colItem
}
>
<
div
className
=
{
pageStyle
.
colItem
}
title
=
{
ele
.
title
}
>
<
img
className
=
{
pageStyle
.
courseCover
}
src
=
{
ele
.
cover
?
imagify
(
ele
.
cover
||
''
)
:
`
${
__IMGCDN__
}
/course/courseDefaultImg.png`
}
alt
=
""
/>
<
div
className
=
{
pageStyle
.
courseTitle
}
>
{
ele
.
title
}
<
/div
>
<
/div
>
...
...
src/pages/coursegather/detail/CourseBox.js
View file @
256d1b1a
...
...
@@ -127,10 +127,10 @@ class CourseBoxForm extends React.Component {
gutter
:
20
,
xs
:
1
,
sm
:
1
,
md
:
2
,
md
:
1
,
lg
:
2
,
xl
:
3
,
xxl
:
4
,
xl
:
2
,
xxl
:
3
,
}}
dataSource
=
{
list
}
footer
=
{
...
...
@@ -149,7 +149,7 @@ class CourseBoxForm extends React.Component {
}
renderItem
=
{
item
=>
(
<
List
.
Item
style
=
{{
minWidth
:
'320px'
}}
className
=
{
pageStyle
.
listitem
}
>
<
Card
bodyStyle
=
{{
padding
:
20
,
minWidth
:
'320px'
}}
>
<
Card
bodyStyle
=
{{
padding
:
'14px'
,
minWidth
:
'320px'
}}
>
<
Card
.
Meta
style
=
{{
padding
:
0
,
borderRadius
:
'6px'
}}
avatar
=
{
<
img
className
=
{
pageStyle
.
itemImg
}
alt
=
"图片"
src
=
{
item
.
cover
?
imagify
(
item
.
cover
)
:
`
${
__IMGCDN__
}
/course/courseDefaultImg.png`
}
/>
}
...
...
src/pages/coursegather/detail/CourseBox.less
View file @
256d1b1a
...
...
@@ -21,7 +21,7 @@
}
}
.itemImg {
width:
90
px;
width:
165
px;
height: 90px;
border-radius: 6px;
}
...
...
src/pages/coursegather/detail/ManageCourse.less
View file @
256d1b1a
...
...
@@ -7,7 +7,7 @@
align-items: center;
width: 200px;
.cover {
width:
56
px;
width:
100
px;
height: 56px;
border-radius: 4px;
display: block;
...
...
src/pages/coursegather/index/Card.js
View file @
256d1b1a
...
...
@@ -8,10 +8,10 @@ const MediaCard = (props) => {
method
,
}
=
props
;
return
(
<
div
className
=
{
pageStyle
.
box
}
{...
props
}
onClick
=
{()
=>
method
.
gogatherdetail
(
info
.
id
)}
>
<
div
className
=
{
pageStyle
.
box
}
{...
props
}
onClick
=
{()
=>
method
.
gogatherdetail
(
info
.
id
)}
title
=
{
info
.
title
}
>
{
info
.
cover
?
<
img
className
=
{
pageStyle
.
image
}
src
=
{
imagify
(
info
.
cover
)}
alt
=
""
/>
:
<
img
className
=
{
pageStyle
.
image
}
src
=
{
`
${
__IMGCDN__
}
/
course/courseDefaultImg.png`
}
alt
=
""
/>
<
img
className
=
{
pageStyle
.
image
}
src
=
{
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
alt
=
""
/>
}
<
div
className
=
{
pageStyle
.
infobox
}
>
<
div
className
=
{
pageStyle
.
topbox
}
>
...
...
src/pages/coursegather/index/Card.less
View file @
256d1b1a
.box {
border-radius: 8px;
overflow: hidden;
width: 3
16
px;
width: 3
40
px;
height: 110px;
border-radius: 6px;
box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.08);
...
...
@@ -18,7 +18,7 @@
bottom: 7px;
}
.image {
width:
9
0px;
width:
16
0px;
height: 90px;
border-radius: 6px;
display: block;
...
...
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