Commit 99a3cb05 by zhangleyuan

style:调整UI样式

parent 1223fa84
......@@ -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;
}
......
......@@ -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);
})
}
......
.plan-learn-data-list{
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
font-weight:normal;
}
.plan-info{
margin:16px;
padding:16px;
......
......@@ -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:2px;
margin-top:3px;
}
.live-standard-info{
margin-bottom:10px;
......
......@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Date: 2021-02-20 16:46:46
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-03-13 14:26:18
* @LastEditTime: 2021-03-13 15:24:41
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
......@@ -28,7 +28,7 @@ function PlanList(props) {
title: '培训计划',
key: 'planName',
dataIndex: 'planName',
width:'15%',
width:'18%',
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
......
......@@ -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
......@@ -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{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment