调整专题页样式

This commit is contained in:
何童崇 2022-06-10 15:49:00 +08:00
parent e325181ef4
commit 33609e087e
3 changed files with 14 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -3,18 +3,24 @@ import { Tabs } from 'antd';
import ProjectDetail from './projectDetail';
import './index.scss';
const $ = window.$;
const { TabPane } = Tabs;
function ProjectTabs({ list, applyTaskId, history, current_user, showLoginDialog, isStudentApplyDate, studentApplyEnd }) {
useEffect(()=>{
setTimeout(()=>{
$('.glcc_openmmlab .ant-tabs-tab').hover((e)=>{
e.currentTarget.click();
},(e)=>{
});
},200)
},[])
return (
<Tabs
// onChange={(e) => { setTaskId(e) }}
// activeKey={}
tabPosition={'left'}
defaultActiveKey={'0'}
className="openmmlab_tab"

View File

@ -25,7 +25,7 @@
.ant-tabs-nav-scroll {
text-align: right;
overflow: visible;
margin-right: -6px;
margin-right: -8px;
}
.ant-tabs-left-bar {
border: 0;
@ -57,6 +57,7 @@
font-size: 22px;
line-height: 26px;
.tab_type {
opacity: .8;
display: block;
width: 72px;
height: 30px;
@ -99,6 +100,7 @@
box-shadow: 0px 0px 10px rgba(100, 141, 255, 0.2);
padding: 30px 30px 50px;
.taskItem {
background: rgba(255,255,255,.8);
.center {
width: 440px;
}
@ -135,6 +137,7 @@
display: flex;
justify-content: space-between;
border: 1px solid #ffffff;
background: rgba(255,255,255,.8);
&:hover {
box-shadow: 0px 0px 12px rgba(71, 105, 198, 0.4);
}