Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
ec7e23da
Commit
ec7e23da
authored
Mar 22, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:初始化页面
parent
88617444
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
216 additions
and
60 deletions
+216
-60
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
+211
-55
src/modules/course-manage/graphics-course/components/AddGraphicsIntro.jsx
+4
-4
src/routes/config/menuList.tsx
+1
-1
No files found.
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
View file @
ec7e23da
This diff is collapsed.
Click to expand it.
src/modules/course-manage/graphics-course/components/AddGraphicsIntro.jsx
View file @
ec7e23da
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2020-07-16 11:05:17
* @Date: 2020-07-16 11:05:17
* @Last Modified by: chenshu
* @Last Modified by: chenshu
* @Last Modified time: 2021-03-
19 15:44:56
* @Last Modified time: 2021-03-
22 10:20:41
* @Description: 添加直播-简介
* @Description: 添加直播-简介
*/
*/
...
@@ -132,7 +132,7 @@ class AddGraphicsIntro extends React.Component {
...
@@ -132,7 +132,7 @@ class AddGraphicsIntro extends React.Component {
}
}
render
()
{
render
()
{
const
{
data
:
{
id
,
whetherVisitorsJoin
,
courseMedia
,
introduce
,
shelfState
}
}
=
this
.
props
;
const
{
data
:
{
id
,
whetherVisitorsJoin
,
courseMedia
,
introduce
,
shelfState
,
loadcourseMedia
,
loadintroduce
}
}
=
this
.
props
;
const
{
showSelectFileModal
,
selectType
}
=
this
.
state
;
const
{
showSelectFileModal
,
selectType
}
=
this
.
state
;
return
(
return
(
<
div
className=
"add-video__intro-info"
>
<
div
className=
"add-video__intro-info"
>
...
@@ -171,7 +171,7 @@ class AddGraphicsIntro extends React.Component {
...
@@ -171,7 +171,7 @@ class AddGraphicsIntro extends React.Component {
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list__item content-editor"
>
<
div
className=
"intro-list__item content-editor"
>
{
(
!
id
||
courseMedia
)
&&
{
(
!
id
||
load
courseMedia
)
&&
<
GraphicsEditor
<
GraphicsEditor
id=
"content"
id=
"content"
detail=
{
{
detail=
{
{
...
@@ -189,7 +189,7 @@ class AddGraphicsIntro extends React.Component {
...
@@ -189,7 +189,7 @@ class AddGraphicsIntro extends React.Component {
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list__item introduce-editor"
>
<
div
className=
"intro-list__item introduce-editor"
>
{
(
!
id
||
introduce
)
&&
{
(
!
id
||
load
introduce
)
&&
<
GraphicsEditor
<
GraphicsEditor
id=
"intro"
id=
"intro"
isIntro=
{
true
}
isIntro=
{
true
}
...
...
src/routes/config/menuList.tsx
View file @
ec7e23da
...
@@ -30,7 +30,7 @@ export const menuList: any = [
...
@@ -30,7 +30,7 @@ export const menuList: any = [
},
},
{
{
groupName
:
"图文课"
,
groupName
:
"图文课"
,
groupCode
:
"
CourseVideoClass
"
,
groupCode
:
"
GraphicLesson
"
,
link
:
'/graphics-course'
link
:
'/graphics-course'
},
},
]
]
...
...
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