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
ad47ec6c
Commit
ad47ec6c
authored
Feb 24, 2020
by
baixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
youhua
parent
3dea1c54
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
7 deletions
+27
-7
index.html
index.html
+1
-1
officialtheme.js
src/models/officialtheme.js
+3
-3
themeclass.js
src/pages/officialweb/themeclass/themeclass.js
+16
-3
themeclass.less
src/pages/officialweb/themeclass/themeclass.less
+7
-0
No files found.
index.html
View file @
ad47ec6c
...
...
@@ -18,5 +18,5 @@
</head>
<body>
<div
id=
"root"
></div>
<script
type=
"text/javascript"
src=
"/dist/main.
1abd42
.js"
></script></body>
<script
type=
"text/javascript"
src=
"/dist/main.
e85a5f
.js"
></script></body>
</html>
\ No newline at end of file
src/models/officialtheme.js
View file @
ad47ec6c
...
...
@@ -27,7 +27,7 @@ export default {
source_type
:
''
,
invent_student_count
:
''
,
invent_clock_count
:
''
,
banner
:
''
,
banner
:
'
http://shangjiadao.oss-cn-hangzhou.aliyuncs.com/qingxiao/biz/image/common/defaultCourseImg.png
'
,
source_id
:
0
,
introduce
:
''
,
subject_title
:
''
,
...
...
@@ -187,7 +187,7 @@ export default {
source_type
:
''
,
invent_student_count
:
''
,
invent_clock_count
:
''
,
banner
:
''
,
banner
:
'
http://shangjiadao.oss-cn-hangzhou.aliyuncs.com/qingxiao/biz/image/common/defaultCourseImg.png
'
,
source_id
:
0
,
introduce
:
''
,
subject_title
:
''
,
...
...
@@ -413,7 +413,7 @@ export default {
source_type
:
''
,
invent_student_count
:
''
,
invent_clock_count
:
''
,
banner
:
''
,
banner
:
'
http://shangjiadao.oss-cn-hangzhou.aliyuncs.com/qingxiao/biz/image/common/defaultCourseImg.png
'
,
source_id
:
0
,
introduce
:
''
,
subject_title
:
''
,
...
...
src/pages/officialweb/themeclass/themeclass.js
View file @
ad47ec6c
...
...
@@ -12,7 +12,7 @@ import {
Divider
,
Switch
,
TimePicker
,
Collapse
,
Empty
,
DatePicker
,
Select
,
Radio
,
InputNumber
,
Input
,
message
,
}
from
'antd'
;
...
...
@@ -54,7 +54,7 @@ class ThemeClassForm extends React.Component {
source_type
:
''
,
invent_student_count
:
''
,
invent_clock_count
:
''
,
banner
:
''
,
banner
:
'
http://shangjiadao.oss-cn-hangzhou.aliyuncs.com/qingxiao/biz/image/common/defaultCourseImg.png
'
,
source_id
:
0
,
introduce
:
''
,
subject_title
:
''
,
...
...
@@ -219,6 +219,20 @@ class ThemeClassForm extends React.Component {
)
}
<
/div
>
<
div
className
=
{
pageStyle
.
empty
}
>
{
courseList
.
length
==
0
&&
<
Empty
description
=
{
<
span
>
暂未设置课程,快去添加课程吧
<
/span
>
}
image
=
{
Empty
.
PRESENTED_IMAGE_SIMPLE
}
>
<
Button
onClick
=
{
this
.
goAddCourse
}
type
=
"primary"
>
添加课程
<
/Button
>
<
/Empty
>
}
<
/div
>
<
div
className
=
{
pageStyle
.
footerBox
}
style
=
{{
...
...
@@ -227,7 +241,6 @@ class ThemeClassForm extends React.Component {
}}
>
<
div
>
<
Button
ghost
type
=
"primary"
style
=
{{
marginRight
:
15
}}
onClick
=
{
this
.
handleLastStep
}
>
取消
<
/Button
>
<
Button
type
=
"primary"
loading
=
{
themeSortLoading
}
onClick
=
{
this
.
saveThemeSort
}
>
保存
<
/Button
>
<
/div
>
<
/div
>
...
...
src/pages/officialweb/themeclass/themeclass.less
View file @
ad47ec6c
...
...
@@ -99,4 +99,11 @@
transition: 0.1s width;
z-index: 20;
text-align: center;
}
.empty {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
min-height: 50vh;
}
\ No newline at end of file
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