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
e9517148
Commit
e9517148
authored
Dec 23, 2020
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改文案显示
parent
42349e81
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
16 deletions
+19
-16
src/common/less/icon-font.less
+6
-6
src/index.html
+3
-3
src/modules/course-manage/components/AddLiveClass.jsx
+7
-4
src/modules/course-manage/components/AddLiveIntro.jsx
+0
-1
src/modules/course-manage/components/LiveCourseFilter.jsx
+1
-0
src/modules/course-manage/components/LiveCourseList.jsx
+2
-2
No files found.
src/common/less/icon-font.less
View file @
e9517148
@font-face {
font-family: 'iconfont'; /* project id 2223403 */
src: url('//at.alicdn.com/t/font_2223403_
wb5zt50q1xj
.eot');
src: url('//at.alicdn.com/t/font_2223403_
wb5zt50q1xj
.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_2223403_
wb5zt50q1xj
.woff2') format('woff2'),
url('//at.alicdn.com/t/font_2223403_
wb5zt50q1xj
.woff') format('woff'),
url('//at.alicdn.com/t/font_2223403_
wb5zt50q1xj
.ttf') format('truetype'),
url('//at.alicdn.com/t/font_2223403_
wb5zt50q1xj
.svg#iconfont') format('svg');
src: url('//at.alicdn.com/t/font_2223403_
nxm2rkk26d9
.eot');
src: url('//at.alicdn.com/t/font_2223403_
nxm2rkk26d9
.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_2223403_
nxm2rkk26d9
.woff2') format('woff2'),
url('//at.alicdn.com/t/font_2223403_
nxm2rkk26d9
.woff') format('woff'),
url('//at.alicdn.com/t/font_2223403_
nxm2rkk26d9
.ttf') format('truetype'),
url('//at.alicdn.com/t/font_2223403_
nxm2rkk26d9
.svg#iconfont') format('svg');
}
.iconfont{
font-family:"iconfont" !important;
...
...
src/index.html
View file @
e9517148
<!--
* @Author: 吴文洁
* @Date: 2020-08-24 12:20:57
* @LastEditors:
wuf
an
* @LastEditTime: 2020-12-23 1
6:49:52
* @LastEditors:
zhangleyu
an
* @LastEditTime: 2020-12-23 1
9:56:40
* @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有
-->
...
...
@@ -25,7 +25,7 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2223403_
wb5zt50q1xj
.css"
>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2223403_
nxm2rkk26d9
.css"
>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
...
...
src/modules/course-manage/components/AddLiveClass.jsx
View file @
e9517148
...
...
@@ -180,9 +180,9 @@ class AddLiveClass extends React.Component {
onChange=
{
(
time
)
=>
{
this
.
props
.
onChange
(
'startTime'
,
time
);
}
}
// renderExtraFooter=
{()=
>
{
// return <div><button>测试</button></div>
//
}
}
getPopupContainer=
{
()
=>
document
.
getElementById
(
"hour"
)
}
/>
~
<
TimePicker
...
...
@@ -193,6 +193,9 @@ class AddLiveClass extends React.Component {
onChange=
{
(
time
)
=>
{
this
.
props
.
onChange
(
'endTime'
,
time
)
}
}
getPopupContainer=
{
()
=>
document
.
getElementById
(
"hour"
)
}
/>
</
div
>
</
div
>
...
...
@@ -208,7 +211,7 @@ class AddLiveClass extends React.Component {
value=
{
liveDate
?
moment
(
Number
(
liveDate
))
:
null
}
style=
{
{
width
:
160
,
minWidth
:
130
,
marginRight
:
10
}
}
placeholder=
"上课日期"
get
Calendar
Container=
{
()
=>
get
Popup
Container=
{
()
=>
document
.
getElementById
(
"time"
)
}
disabledDate=
{
this
.
disabledDate
}
...
...
src/modules/course-manage/components/AddLiveIntro.jsx
View file @
e9517148
...
...
@@ -95,7 +95,6 @@ class AddLiveIntro extends React.Component {
// 删除简介
handleDeleteIntro
=
(
index
)
=>
{
const
{
liveCourseMediaRequests
}
=
this
.
props
.
data
;
liveCourseMediaRequests
.
splice
(
index
,
1
);
this
.
props
.
onChange
(
'liveCourseMediaRequests'
,
liveCourseMediaRequests
);
}
...
...
src/modules/course-manage/components/LiveCourseFilter.jsx
View file @
e9517148
...
...
@@ -183,6 +183,7 @@ class LiveCourseFilter extends React.Component {
allowClear
filterOption=
{
(
input
,
option
)
=>
option
}
onPopupScroll=
{
this
.
handleScrollTeacherList
}
value=
{
teacherId
}
onChange=
{
(
value
)
=>
{
this
.
handleChangeQuery
(
'teacherId'
,
value
)
}
}
...
...
src/modules/course-manage/components/LiveCourseList.jsx
View file @
e9517148
...
...
@@ -115,9 +115,9 @@ class LiveCourseList extends React.Component {
CourseService
.
turnOnOrOffLiveCloudCourse
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
){
if
(
_shelfState
===
"YES"
){
message
.
success
(
"
上架成功
"
);
message
.
success
(
"
已开启展示
"
);
}
else
{
message
.
success
(
"已
下架
"
);
message
.
success
(
"已
取消展示
"
);
}
}
})
...
...
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