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
d6517604
Commit
d6517604
authored
Jul 08, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:培训计划合并缺失字段
parent
fd3041ba
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
src/modules/course-manage/components/GraphicsEditor.jsx
+6
-2
src/modules/course-manage/components/GraphicsEditor.less
+0
-1
src/modules/course-manage/graphics-course/components/AddGraphicsIntro.less
+1
-1
src/modules/plan-manage/AddPlan.jsx
+3
-2
No files found.
src/modules/course-manage/components/GraphicsEditor.jsx
View file @
d6517604
...
...
@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-07-05 10:47:19
* @LastEditors: yuananting
* @LastEditTime: 2021-07-0
6 17:36:02
* @LastEditTime: 2021-07-0
8 10:51:30
* @Description: 描述一下咯
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
...
...
@@ -219,7 +219,11 @@ class GraphicsEditor extends React.Component {
<
div
className=
'editor-tips'
>
(
{
textLength
>
maxLimit
?
<
span
style=
{
{
color
:
'red'
}
}
>
{
textLength
}
</
span
>
:
textLength
}
/
{
maxLimit
||
1000
}
)
</
div
>
{
textLength
>
maxLimit
&&
<
div
className=
'editor-warning'
>
最多只能输入
{
maxLimit
||
1000
}
字
</
div
>
}
{
textLength
>
maxLimit
&&
(
<
div
style=
{
{
top
:
isIntro
?
'245px'
:
'512px'
}
}
className=
'editor-warning'
>
最多只能输入
{
maxLimit
||
1000
}
字
</
div
>
)
}
{
showSelectVideoModal
&&
(
<
SelectPrepareFileModal
operateType=
'select'
...
...
src/modules/course-manage/components/GraphicsEditor.less
View file @
d6517604
...
...
@@ -42,7 +42,6 @@
.editor-warning {
position: absolute;
right: 0;
top: 205px;
color: red;
}
...
...
src/modules/course-manage/graphics-course/components/AddGraphicsIntro.less
View file @
d6517604
...
...
@@ -62,7 +62,7 @@
.intro-list__item {
display: flex;
margin-bottom:
16
px;
margin-bottom:
32
px;
position: relative;
&.picture {
...
...
src/modules/plan-manage/AddPlan.jsx
View file @
d6517604
...
...
@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Date: 2021-02-20 16:13:39
* @LastEditors: yuananting
* @LastEditTime: 2021-07-0
7 14:59:59
* @LastEditTime: 2021-07-0
8 10:52:05
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -17,7 +17,7 @@ import PlanService from '@/domains/plan-domain/planService';
import
User
from
'@/common/js/user'
;
import
_
from
'underscore'
;
import
'./AddPlan.less'
;
import
b
us
from
'@/core/bus'
;
import
B
us
from
'@/core/bus'
;
const
defaultCover
=
'https://image.xiaomaiketang.com/xm/rEAetaTEh3.png'
;
const
defaultBasicData
=
{
planName
:
''
,
...
...
@@ -40,6 +40,7 @@ function AddPlan() {
const
[
taskList
,
setTaskList
]
=
useState
(
defaultTaskList
);
const
[
expiredCourseList
,
setExpiredCourseList
]
=
useState
([]);
const
[
hasGetDetail
,
setHasGetDetail
]
=
useState
(
false
);
const
[
submitDisabled
,
setSubmitDisabled
]
=
useState
(
false
);
const
[
editorTextLength
,
setEditorTextLength
]
=
useState
(
0
);
useEffect
(()
=>
{
...
...
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