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
99a3cb05
Commit
99a3cb05
authored
Mar 13, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:调整UI样式
parent
1223fa84
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
22 deletions
+37
-22
src/modules/course-manage/modal/RelatedPlanModal.jsx
+3
-1
src/modules/plan-manage/AddPlan.jsx
+2
-2
src/modules/plan-manage/LearningData.less
+3
-0
src/modules/plan-manage/components/BasicInfo.less
+3
-4
src/modules/plan-manage/components/PlanList.jsx
+8
-3
src/modules/plan-manage/components/PlanList.less
+16
-12
src/modules/plan-manage/components/TrainingTask.less
+2
-0
No files found.
src/modules/course-manage/modal/RelatedPlanModal.jsx
View file @
99a3cb05
...
...
@@ -122,7 +122,9 @@ class RelatedPlanModal extends React.Component {
item
.
taskId
=
selectPlanList
[
key
].
taskBaseVOList
[
0
].
taskId
;
}
}
_selectPlanList
.
push
(
item
)
if
(
item
.
taskId
){
_selectPlanList
.
push
(
item
)
}
}
return
_selectPlanList
;
}
...
...
src/modules/plan-manage/AddPlan.jsx
View file @
99a3cb05
...
...
@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Date: 2021-02-20 16:13:39
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-03-13 14:
34:50
* @LastEditTime: 2021-03-13 14:
58:38
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -92,6 +92,7 @@ function AddPlan() {
return
_item
})
}
setTaskList
(
trainingTaskList
);
setBasicData
({
planName
,
coverUrl
:
coverUrl
||
defaultCover
,
...
...
@@ -103,7 +104,6 @@ function AddPlan() {
percentCompleteLive
,
percentCompleteVideo
})
setTaskList
(
trainingTaskList
);
setHasGetDetail
(
true
);
})
}
...
...
src/modules/plan-manage/LearningData.less
View file @
99a3cb05
.plan-learn-data-list{
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
font-weight:normal;
}
.plan-info{
margin:16px;
padding:16px;
...
...
src/modules/plan-manage/components/BasicInfo.less
View file @
99a3cb05
...
...
@@ -18,6 +18,7 @@
margin-top: 16px;
&__wrap {
position: relative;
display: flex;
.tag {
border-radius: 2px;
background: #D6D6D6;
...
...
@@ -43,9 +44,6 @@
}
}
.opt-btns{
display:flex;
align-items: center;
margin-top:12px;
.default-btn {
margin:0 8px;
color: #5289FA;
...
...
@@ -56,6 +54,7 @@
}
}
.tips{
margin-top:8px;
font-size:14px;
color:#999;
}
...
...
@@ -97,7 +96,7 @@
display: flex;
margin-top:22px;
.standard-label{
margin-top:
2
px;
margin-top:
3
px;
}
.live-standard-info{
margin-bottom:10px;
...
...
src/modules/plan-manage/components/PlanList.jsx
View file @
99a3cb05
...
...
@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Date: 2021-02-20 16:46:46
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-03-13 1
4:26:18
* @LastEditTime: 2021-03-13 1
5:24:41
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -28,7 +28,7 @@ function PlanList(props) {
title
:
'培训计划'
,
key
:
'planName'
,
dataIndex
:
'planName'
,
width
:
'1
5
%'
,
width
:
'1
8
%'
,
render
:
(
val
,
record
)
=>
{
return
(
<
div
className=
"plan-name"
>
...
...
@@ -111,7 +111,8 @@ function PlanList(props) {
title
:
'操作'
,
key
:
'operate'
,
dataIndex
:
'operate'
,
width
:
'20%'
,
fixed
:
'right'
,
width
:
176
,
render
:
(
val
,
record
)
=>
{
return
(
<
div
className=
"operate"
>
...
...
@@ -145,6 +146,7 @@ function PlanList(props) {
];
return
columns
;
}
function
renderMoreOperate
(
item
){
return
(
<
div
className=
"live-course-more-menu"
>
...
...
@@ -158,6 +160,7 @@ function PlanList(props) {
</
div
>
)
}
function
handleChangeTable
(
pagination
,
filters
,
sorter
){
const
{
columnKey
,
order
}
=
sorter
;
const
{
query
}
=
props
;
...
...
@@ -330,6 +333,8 @@ function PlanList(props) {
pagination=
{
false
}
onChange=
{
handleChangeTable
}
bordered
size=
"middle"
scroll=
{
{
x
:
1400
}
}
/>
<
div
className=
"box-footer"
>
<
PageControl
...
...
src/modules/plan-manage/components/PlanList.less
View file @
99a3cb05
...
...
@@ -10,20 +10,23 @@
-webkit-box-orient: vertical;
}
.operate-text {
color: #5289FA;
cursor: pointer;
}
.operate {
display: flex;
&__item {
color: #5289FA;
cursor: pointer;
}
.operate {
display: flex;
&__item {
color: #5289FA;
cursor: pointer;
&.split {
margin: 0 8px;
color: #BFBFBF;
}
&.split {
margin: 0 8px;
color: #BFBFBF;
}
}
}
.more-operate{
line-height:20px;
}
}
\ No newline at end of file
src/modules/plan-manage/components/TrainingTask.less
View file @
99a3cb05
...
...
@@ -63,6 +63,7 @@
color:#666666;
font-size:14px;
.icon{
font-size:14px;
color:#999;
}
.text{
...
...
@@ -94,6 +95,7 @@
color:#666666;
font-size:14px;
.icon{
font-size:14px;
color:#999;
}
.text{
...
...
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