-

-
+
+
+
+
+

+
深度学习时代最完整的计算机视觉开源算法体系
+
+
+
+
+
+
项目精选
+
+
+
)
}
diff --git a/src/glcc/openmmlab/index.scss b/src/glcc/openmmlab/index.scss
index 89d55bdd..eb51d03e 100644
--- a/src/glcc/openmmlab/index.scss
+++ b/src/glcc/openmmlab/index.scss
@@ -1,223 +1,101 @@
-.glcc_project{
- background-color: #ebf2ff;
- .head{
- background-color:rgba(188, 208, 255, 0.27);
- border:1px solid #ffffff;
- text-align: center;
- a{
- padding: 18px 20px 20px;
- display: inline-block;
- color: #273778;
- font-size: 18px;
- font-weight:700;
- line-height: 30px;
- &.active{
- border-bottom: 1px solid #5474df;;
- }
- &:last-child{
- margin-left: 40px;
- }
- }
- }
- .gobackBox{
- width: 1200px;
- margin: 0 auto;
- padding: 25px 0 12px;
- color: #202d40;
- font-size: 16px;
- border-bottom: 1px dashed #bec5d5;
- a{
- color:#a4aabb;
- }
- }
- .listBox{
- background-image:linear-gradient(180deg,#ebf2ff 0%,#ebf2ff 43.09%,#f3f4f8 100%);
- position: relative;
- .list{
- width: 1200px;
- margin: 0 auto;
- position: relative;
- z-index: 1;
- .search{
- width: 40%;
- margin: 0 auto;
- padding: 25px 0 40px;
- &.task{
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- .ant-input-group-wrapper{width: 40%;}
- }
- }
- .search .ant-btn, .search .ant-input{
- height: 48px;
- }
- .search .ant-btn{font-size: 30px;}
- .search .ant-input{
- font-size: 16px;
- border-color: #ebf2ff;
- &:hover{
- border-color: #466aff;
- }
- }
- }
- .search{
- .ant-btn-primary{
- background-color:#466aff;
- border-color: #466aff;
- }
- }
- .bgPng3, .bgPng4{
- width: 146px;
- position: absolute;
- z-index: 0;
- top: 162px;
- left: 100px;
- }
- .bgPng4{
- top: 450px;
- left: auto;
- right: 310px;
- }
- }
+.glcc_openmmlab {
+ font-family: PingFang SC;
+
+ .first_selection {
+ // height: 742px;
+ padding: 8px 0 63px;
+ background-image: linear-gradient(
+ 180deg,
+ #e5e7fc 0%,
+ #f5f7fa 47.28%,
+ #d4daec 100%
+ );
+ border-radius: 4px;
}
- .glcc-banner {
- width: 100%;
+
+ .openmmlab_head {
+ text-align: center;
+ margin: 8px auto 20px;
}
- // 项目详情框
- .projectDetailBox{
- &.byTask{
- background-image:linear-gradient(180deg,#f1f5ff 0%,#ffffff 100%);
- border:1px solid #ffffff;
- border-radius:4px;
- box-shadow:0px 0px 10px rgba(100, 141, 255, 0.2);
- padding: 30px 30px 50px;
- .taskItem{
- .center{
- width: 640px;
- }
- }
- }
- &.nodata{width: 200px;}
- font-size:15px;
- line-height:30px;
- .projectDetailHead{
- color:#465474;
- padding-bottom: 12px;
- border-bottom: 1px dashed #bec5d5;
- line-height: 36px;
- .name{
- font-weight:700;
- color:#3753c5;
- font-size:20px;
- }
- .type{
- display: inline-block;
- border:1px solid #6680bb;
- border-radius:4px;
- margin-left: 12px;
- padding: 4px 6px;
- line-height: 26px;
- }
- .linkUrl{
- color: #466aff;
- }
- }
- .taskItem {
- display: flex;
- justify-content: space-between;
- border:1px solid #ffffff;
- &:hover{ box-shadow: 0px 0px 12px rgba(71, 105, 198, 0.4);}
- .oneLine{
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .left{
- width: 316px;
- background-image: url('../img/projectDetailTaskBg.png');
- background-size: 100% 100%;
- padding: 22px 20px;
- color:#25304a;
- .taskTitle{
- cursor: pointer;
- color:#1834a7;
- font-size:18px;
- display: -webkit-box;
- overflow: hidden;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- text-overflow: ellipsis;
- }
- .email span{color:#466aff;}
- .leftWidth{width: 270px;}
- }
- .center{
- width: 665px;
- text-align: left;
- padding: 20px;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- .taskDesc{
- color:#6b6b6b;
- display: -webkit-box;
- overflow: hidden;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- text-overflow: ellipsis;
- }
- .taskUrl{
- color:#465474;
- font-size:16px;
- line-height: 28px;
- margin-bottom: 5px;
- a{color:#466aff;}
- }
- .applyBut{
- background-color:#466aff;
- border-color: #466aff;
- &:hover{background-color:#5d7cff;}
- &:focus{background-color:#1140ff;}
- }
- .taskReward{color:#ff8800;}
- }
- .right{
- margin-top: 35px;
- padding-right: 10px;
- width: 120px;
- font-weight:700;
- color:#ff8800;
- font-size:24px;
- }
- }
+ .openmmlab_logo {
+ width: 287px;
}
- .projectItemPopover{
+ .openmmlab_des {
+ font-weight: 500;
+ color: #4a5a7a;
+ font-size: 15px;
+ line-height: 26px;
+ text-align: center;
+ }
+
+ .openmmlab_main {
width: 1200px;
- .ant-popover-content .ant-popover-arrow{
- border-width: 12px;
- }
+ margin: 0 auto;
}
- .projectItemPopover .ant-popover-inner{
- transform: translateY(8px);
- background-image:linear-gradient(180deg,#f1f5ff 0%,#ffffff 100%);
- border:1px solid #ffffff;
- border-radius:4px;
- box-shadow:0px 0px 10px rgba(100, 141, 255, 0.2);
- .ant-popover-inner-content{
- padding: 30px 30px 50px;
- }
+
+ .openmmlab_slider {
+ display: flex;
+ justify-content: space-between;
}
- .lookDetail{
- border-color: #466aff;
- color: #466aff;
- &:hover{
- border-color: #5d7cff;
- color: #5d7cff;
- }
- &:focus{
- border-color: #1140ff;
- color: #1140ff;
- }
- }
\ No newline at end of file
+
+ .slider_left {
+ width: 766px;
+ height: 520px;
+ background-image: linear-gradient(180deg, #edf1f8 0%, #f9fbff 100%);
+ border: 1px solid #ffffff;
+ border-radius: 6px;
+ box-shadow: 0px 0px 8px rgba(138, 168, 227, 0.21);
+ padding: 18px 33px;
+ }
+
+ .openmmlab_title {
+ font-weight: 500;
+ color: #1e1e1e;
+ background-color: #f4f9ff;
+ font-size: 38px;
+ line-height: 53px;
+ text-align: center;
+ padding: 54px 0 40px;
+ }
+ .second_selection {
+ width: 576px;
+ height: 875px;
+ background-image: linear-gradient(
+ 270.28deg,
+ #394661 0%,
+ rgba(53, 65, 90, 0.85) 15.47%,
+ rgba(31, 37, 51, 0) 100%
+ );
+ border-radius: 4px;
+ }
+
+ .teachers{
+ background:#E6ECF9;
+ padding:40px 0 50px;
+ }
+ .teachers_tit {
+ font-weight: 500;
+ color: #1e1e1e;
+ font-size: 38px;
+ line-height: 53px;
+ text-align: center;
+ margin: 0 auto 50px;
+ }
+}
+
+// 1行省略号
+.ellipsis-1 {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+// 2行省略号
+.ellipsis-2 {
+ text-overflow: -o-ellipsis-lastline;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ line-clamp: 2;
+ -webkit-box-orient: vertical;
+}
diff --git a/src/glcc/openmmlab/projectTab/index.jsx b/src/glcc/openmmlab/projectTab/index.jsx
new file mode 100644
index 00000000..c707ed8f
--- /dev/null
+++ b/src/glcc/openmmlab/projectTab/index.jsx
@@ -0,0 +1,48 @@
+import React, { useEffect, useState, Fragment } from 'react';
+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)=>{
+ });
+ },1000)
+
+ },[])
+
+ return (
+
+ {
+ list.map((item, i) => {
+ return
+ {item.projectName && item.projectName.split('-')[1]}
+ {item.projectType}
}
+ key={i + ''} >
+