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
69bb7a92
Commit
69bb7a92
authored
Nov 28, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
02ae44f4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
index.html
index.html
+1
-1
AddCourseModal.js
src/pages/coursegather/detail/AddCourseModal.js
+1
-1
CourseBox.js
src/pages/coursegather/detail/CourseBox.js
+1
-1
ManageCourse.js
src/pages/coursegather/detail/ManageCourse.js
+1
-1
AddCourseModal.js
src/pages/coursegather/index/AddCourseModal.js
+1
-1
Card.js
src/pages/coursegather/index/Card.js
+1
-1
MediaCard.js
src/pages/coursemateria/MediaCard.js
+1
-1
index.js
src/pages/onlineclasses/singleclass/index.js
+1
-1
No files found.
index.html
View file @
69bb7a92
...
...
@@ -17,6 +17,6 @@
</head>
<body>
<div
id=
"root"
></div>
<script
src=
"dist/main.js?15749
15153188
"
charset=
"utf-8"
></script>
<script
src=
"dist/main.js?15749
22435424
"
charset=
"utf-8"
></script>
</body>
</html>
\ No newline at end of file
src/pages/coursegather/detail/AddCourseModal.js
View file @
69bb7a92
...
...
@@ -104,7 +104,7 @@ class AddCourseModal extends React.Component {
<
Col
span
=
{
12
}
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
}
title
=
{
ele
.
title
}
>
<
img
className
=
{
pageStyle
.
courseCover
}
src
=
{
ele
.
cover
?
imagify
(
ele
.
cover
||
'
'
)
:
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
alt
=
""
/>
<
img
className
=
{
pageStyle
.
courseCover
}
src
=
{
ele
.
cover
?
imagify
(
ele
.
cover
,
'image/resize,w_160/format,jpg/quality,q_60
'
)
:
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
alt
=
""
/>
<
div
className
=
{
pageStyle
.
courseTitle
}
>
{
ele
.
title
}
<
/div
>
<
/div
>
<
/Checkbox
>
...
...
src/pages/coursegather/detail/CourseBox.js
View file @
69bb7a92
...
...
@@ -165,7 +165,7 @@ class CourseBoxForm extends React.Component {
>
<
Card
.
Meta
style
=
{{
padding
:
0
,
borderRadius
:
'6px'
}}
avatar
=
{
<
img
className
=
{
pageStyle
.
itemImg
}
alt
=
"图片"
src
=
{
item
.
cover
?
imagify
(
item
.
cover
)
:
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
/>
}
avatar
=
{
<
img
className
=
{
pageStyle
.
itemImg
}
alt
=
"图片"
src
=
{
item
.
cover
?
imagify
(
item
.
cover
,
'image/resize,w_320/format,jpg/quality,q_60'
)
:
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
/>
}
title
=
{
<
div
className
=
{
pageStyle
.
itemTitleWrap
}
>
<
div
className
=
{
pageStyle
.
itemTitle
}
>
{
item
.
title
}
<
/div
>
...
...
src/pages/coursegather/detail/ManageCourse.js
View file @
69bb7a92
...
...
@@ -193,7 +193,7 @@ class ManageCourse extends React.Component { // eslint-disable-line
const
img
=
(
manageCourseObj
[
record
.
id
]
&&
manageCourseObj
[
record
.
id
].
cover
)
||
record
.
cover
;
let
renderimg
=
''
;
if
(
img
)
{
renderimg
=
imagify
(
img
);
renderimg
=
imagify
(
img
,
'image/resize,w_160/format,jpg/quality,q_60'
);
}
else
{
renderimg
=
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
;
}
...
...
src/pages/coursegather/index/AddCourseModal.js
View file @
69bb7a92
...
...
@@ -273,7 +273,7 @@ class AddCourseModalForm extends React.Component {
<
Col
span
=
{
12
}
style
=
{{
marginBottom
:
'20px'
}}
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
}
>
<
img
className
=
{
pageStyle
.
courseCover
}
src
=
{
ele
.
cover
?
imagify
(
ele
.
cover
||
'
'
)
:
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
alt
=
""
/>
<
img
className
=
{
pageStyle
.
courseCover
}
src
=
{
ele
.
cover
?
imagify
(
ele
.
cover
,
'image/resize,w_320/format,jpg/quality,q_60
'
)
:
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
alt
=
""
/>
<
div
className
=
{
pageStyle
.
courseTitle
}
>
{
ele
.
title
}
<
/div
>
<
/div
>
<
/Checkbox
>
...
...
src/pages/coursegather/index/Card.js
View file @
69bb7a92
...
...
@@ -12,7 +12,7 @@ const MediaCard = (props) => {
<
Col
xs
=
{
24
}
sm
=
{
24
}
md
=
{
12
}
lg
=
{
12
}
xl
=
{
6
}
>
<
div
className
=
{
pageStyle
.
box
}
{...
props
}
title
=
{
info
.
title
}
>
{
info
.
cover
?
<
img
onClick
=
{()
=>
method
.
gogatherdetail
(
info
.
id
)}
className
=
{
pageStyle
.
image
}
src
=
{
imagify
(
info
.
cover
)}
alt
=
""
/>
:
info
.
cover
?
<
img
onClick
=
{()
=>
method
.
gogatherdetail
(
info
.
id
)}
className
=
{
pageStyle
.
image
}
src
=
{
imagify
(
info
.
cover
,
'image/resize,w_180/format,jpg/quality,q_60'
)}
alt
=
""
/>
:
<
img
onClick
=
{()
=>
method
.
gogatherdetail
(
info
.
id
)}
className
=
{
pageStyle
.
image
}
src
=
{
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
alt
=
""
/>
}
<
div
className
=
{
pageStyle
.
infobox
}
>
...
...
src/pages/coursemateria/MediaCard.js
View file @
69bb7a92
...
...
@@ -27,7 +27,7 @@ class MediaCard extends React.Component {
<
div
className
=
{
pageStyle
.
box
}
{...
this
.
props
}
>
{
info
.
type
==
1
&&
<
div
className
=
{
`
${
pageStyle
.
mediaBox
}
${
pageStyle
.
imgBox
}
`
}
title
=
{
content
.
name
}
onClick
=
{()
=>
methods
.
preview
(
info
)}
>
<
img
className
=
{
pageStyle
.
image
}
src
=
{
`
${
imagify
(
info
.
src
)}
`
}
alt
=
""
/>
<
img
className
=
{
pageStyle
.
image
}
src
=
{
`
${
imagify
(
info
.
src
,
'image/resize,w_320/format,jpg/quality,q_60'
)}
`
}
alt
=
""
/>
<
img
className
=
{
pageStyle
.
imageicon
}
src
=
{
`
${
__IMGCDN__
}
course/photo_icon.png`
}
alt
=
""
/>
<
/div>
}
{
info
.
type
==
2
&&
...
...
src/pages/onlineclasses/singleclass/index.js
View file @
69bb7a92
...
...
@@ -321,7 +321,7 @@ class ClassMgtForm extends React.Component {
<
Card
.
Meta
style
=
{{
padding
:
0
}}
avatar
=
{
item
.
cover
?
<
img
onClick
=
{()
=>
this
.
goEditCourseStatic
(
item
.
id
,
1
)}
className
=
{
pageStyle
.
itemImg
}
alt
=
"图片"
src
=
{
imagify
(
item
.
cover
)}
/>
:
item
.
cover
?
<
img
onClick
=
{()
=>
this
.
goEditCourseStatic
(
item
.
id
,
1
)}
className
=
{
pageStyle
.
itemImg
}
alt
=
"图片"
src
=
{
imagify
(
item
.
cover
,
'image/resize,w_160/format,jpg/quality,q_60'
)}
/>
:
<
img
onClick
=
{()
=>
this
.
goEditCourseStatic
(
item
.
id
,
1
)}
className
=
{
pageStyle
.
itemImg
}
src
=
{
`
${
__IMGCDN__
}
course/courseDefaultImg.png`
}
alt
=
""
/>
}
title
=
{
<
div
className
=
{
pageStyle
.
itemTitleWrap
}
>
...
...
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