diff --git a/public/css/detail.css b/public/css/detail.css index 7d1fc2bc9..6547b39e6 100644 --- a/public/css/detail.css +++ b/public/css/detail.css @@ -1 +1 @@ -@charset "UTF-8";dl,ol,ul{margin-bottom:0}.markdown-body .editormd-tex .katex-display>.katex{white-space:pre-wrap}.markdown-body a{color:#466aff}.markdown_anchors{position:relative}.markdown_anchors .anchors{color:inherit;margin-left:-14px;display:none}.newMain{background-color:#fff}.newTable{background-color:#f0f5ff}.newTable .newImages{background-image:url(../../forge/Images/taskbar.png);height:364px}.color-black{color:#333}.projectallName{font-size:22px;font-weight:400;line-height:30px;max-width:690px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.projectallName .projectN{word-break:break-all}.textRight{text-align:right}.main{width:1200px;padding:20px;margin:20px auto;background:#fff;border-radius:2px;border:1px solid #eee}.radius-2{border-radius:2px}.normal{width:1200px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:100%;margin:10px auto}}.hide-1{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hide-2{display:inline-block;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.df{display:flex}.flex-1{flex:1;width:0}.f-wrap-between{display:flex;flex-wrap:wrap;justify-content:space-between}.f-wrap-alignCenter{display:flex;flex-wrap:wrap;align-items:center}.f-wrap-alignCenter a:link,.f-wrap-alignCenter a:visited,.f-wrap-alignCenter>span{color:#333}.f-wrap-alignCenter>span{cursor:default}.commitDesc{flex:1;line-height:20px;word-break:break-all;width:49rem;overflow:hidden;white-space:normal}.normalBox{border-radius:4px}.normalBox-title{background-color:#fafcff;border:1px solid;border-color:rgba(42,97,255,.23);border-radius:4px 4px 0 0;padding:0 20px;height:48px;display:flex;align-items:center;font-size:16px}.none_panels{text-align:center;min-height:320px;padding:40px 0;display:flex;justify-content:center;align-items:center}.none_panels.small{height:120px}.none_panels.small img{width:200px}.none_panels img{width:300px;margin-bottom:15px}.none_p_title{font-size:16px;color:#999}form.ant-form{color:#333}.required{position:relative}.required::before{content:"*";color:red;position:absolute;left:-10px;top:0;line-height:22px}form .ant-row.ant-form-item{margin-bottom:20px}@media screen and (max-width:1200px){.main{width:100%}.normal{width:100%}#root{width:1200px}}@media screen and (max-width:1000px){.main{width:100%;margin:1rem auto}.normal{width:100%}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}#root{width:1200px}.newContainers{min-width:1200px}}.ver-middle{vertical-align:middle}.pd510{padding:5px 10px}.modalsStyle .ant-modal-content>.ant-modal-header{text-align:left!important}.modalsStyle .ant-modal-body{max-width:400px;margin:0 auto;text-align:left;min-height:140px;display:flex;align-items:center}.modalsStyle .ant-modal-close-x{margin-top:8px}.list-r-Info>div{box-shadow:0 0 2px rgba(0,0,0,.2)}.list-l-Menu{margin-bottom:12px;border-radius:2px;background-color:#fff;border:1px solid rgba(79,108,188,.21)}.list-l-Menu>li{font-size:15px;padding:0 0 0 25px;box-sizing:border-box;color:#333;position:relative}.list-l-Menu>li>p{height:49px;width:100%;display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding-right:20px;margin:0;border-bottom:1px solid #eee}.list-l-Menu>li>p a{width:100%;color:#202d40}.list-l-Menu>li>p span:last-child{color:#999}.list-l-Menu>li:last-child>p{border-bottom:none}.list-l-Menu li.active::before{position:absolute;left:0;width:6px;content:'';height:100%}.list-l-Menu .MenuTitle{font-size:16px;background-size:100% 100%;color:#333!important;height:62px;line-height:62px;border-bottom:1px solid #e0e0e0;font-weight:400;cursor:pointer}.list-l-Menu .ant-menu-inline{border:none}.list-l-Menu .ant-menu-inline .ant-menu-item{width:100%!important}.list-l-Menu .ant-menu-item-group-title{padding:0}.group-setting-switch{border:1px solid #ddd!important;background-color:#fff!important}.newPopUl li{height:30px;line-height:30px;border-bottom:1px solid #eee;min-width:78px;text-align:center}.newPopUl li:last-child{border-bottom:none}.btn-83{width:83px;height:32px;line-height:30px;text-align:center;background:#fafbfc;border:1px solid #d0d0d0;display:inline-block;border-radius:5px;font-weight:500;color:#333!important;margin-right:15px}button.ant-btn-primary.btnblue{background-color:#466aff;border-color:#466aff}button.btngrey{background-color:#fff;border-color:#d0d0d0;color:#666}.newContainer .newBtn,.newContainer .newTab{position:relative}.newContainer .newBtnImg{background-image:url(../Images/newIcon.svg);background-size:100% 100%;width:29px;height:13px;position:absolute;right:-14px;top:-7px}.newContainer .newTab .newBtnImg{right:-19px}.operateButton{padding:0 15px;height:32px;color:#fff!important;cursor:pointer;line-height:30px;background-color:#466aff;border:1px solid #466aff;border-radius:4px;display:block}.lineH2{line-height:2}.t_project_banner{background-color:#050d34}.ProjectListIndex{width:1200px;margin:20px auto;display:flex;align-items:flex-start;flex-wrap:wrap}.list-left{width:26%;padding-right:20px;box-sizing:border-box;margin-bottom:20px}.list-left>div{border:1px solid #eee}.list-left>div.bgcF{border:none}.list-right{width:74%;background:#fff;padding:10px;border:1px solid #eee}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:none!important}.ant-menu-vertical>.ant-menu-item{margin:0!important;height:35px;line-height:35px;border-bottom:1px solid #eee;font-size:14px!important}.ant-menu-vertical>.ant-menu-item:last-child{border-bottom:none}.list-r-operation{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:25px 30px;border-bottom:1px solid #e0e0e0}.list-r-Search{width:400px}.padding0-25{padding:0 25px}.list-r-Search .ant-btn-lg{height:38px}.list-r-Search .ant-input-group-addon{border:none!important}.list-r-Search .ant-input-search-button{height:40px!important}.createBtn{border-radius:4px;margin-left:20px;display:inline-block;padding:3px 15px;background-color:#4cacff;color:#fff!important}.project-list{padding:0 30px}.border-top-grey{border-top:1px solid #eee}.p-r-Item:last-child{border-bottom:none!important}.p-r-Item{display:flex;border-bottom:1px solid #eee;padding:22px 0;justify-content:flex-start}.boxShandow{box-shadow:0 2px 20px 10px rgba(0,0,0,.03)}.p-r-photo{width:60px;height:60px;border-radius:50%;margin-right:22px;margin-top:8px}.p-r-Infos{flex:1;width:0}.p-r-name{display:flex;justify-content:space-between;align-items:center}.p-r-name>p{flex:1;width:0}.p-r-btn{display:flex;align-items:center}.p-r-btn>span{height:35px;line-height:35px;border:1px solid #f4f4f4;border-radius:5px;display:block;margin-left:20px;background-color:#fff;display:flex}.p-r-btn>span>a{display:flex;align-items:center;padding:0 12px;background:#ececec}.p-r-btn>span>a:active{background:#f4f4f4}.p-r-btn>span>span{padding:0 8px}.p-r-tags{display:flex;opacity:1}.p-r-tags.large>span{height:30px;line-height:30px;font-size:14px}.p-r-tags>span{margin-left:15px;padding:0 10px;border-radius:15px;background:#ebf4fe;color:#333;height:24px;line-height:24px;display:block;font-size:12px;display:flex}.p-r-tags>span.pariseTag{background:#fff3dc}.p-r-tags.large>span>label{padding:0 12px}.p-r-tags>span>label{padding:0 8px}.p-r-tags.large>span>span{padding:0 6px}.pariseImg{width:14px;height:12px;margin-top:6px;margin-right:3px}.p-r-tags>span>span{display:block;background:#fff;border-left:#efefef;padding:0 4px;border-radius:0 4px 4px 0;color:#999}.p-r-content{margin-top:10px;color:#666;display:flex}.p-r-detail>span{margin-right:22px;color:#888}.p-r-detail>span>label{color:#999}.p-r-about{display:flex;justify-content:space-between;flex-wrap:nowrap;margin-top:8px;color:#666}.spincontent{height:400px}.spinstyle .ant-spin-text{margin-top:30px;color:#888}.detailHeader-wrapper{background-color:#fbfcff;border-bottom:1px solid #e2e2e2}.headerMenu-wrapper{display:flex;flex-direction:row;cursor:pointer}.headerMenu-wrapper li{text-align:center;padding:0;margin-right:30px;display:flex}.headerMenu-wrapper li>a{position:relative;font-size:14px;height:36px;line-height:24px;display:flex;color:#000!important}.headerMenu-wrapper li>a>span.num{line-height:24px;margin-left:5px;font-size:12px;float:right;color:#666!important;background-color:rgba(153,153,153,.13);border-radius:50%;width:24px;height:24px}.detail_tag_btn{height:32px;line-height:32px;border-radius:5px;border:1px solid #d0d0d0;display:flex;align-items:center;margin-left:10px;padding:0;background-color:#fafbfc;box-shadow:none}.detail_tag_btn .detail_tag_btn_name{padding:0 10px;text-align:center;height:30px;line-height:30px;border-radius:5px 0 0 5px}.detail_tag_btn .detail_tag_btn_name span{color:#333!important}.detail_tag_btn .detail_tag_btn_count{width:42px;text-align:center;background:#fff;border-radius:0 4px 4px 0;height:100%;border-left:1px solid #d0d0d0}.ant-tooltip{max-width:fit-content!important}.files-md{padding:20px}.files-md h1,.files-md h2,.files-md h3,.files-md h4,.files-md h5,.files-md h6{margin-bottom:.5em!important}.readBox h1,.readBox h2,.readBox h3,.readBox h4,.readBox h5,.readBox h6{margin-bottom:.5em!important}.branch-wrapper{border:1px solid #eee;border-radius:4px;display:flex;align-items:center;height:60px;padding:0 30px;width:1200px;margin:0 auto;background-color:#fff;margin-top:20px;justify-content:space-between}.branch-wrapper>a>i{color:#5091ff;margin-right:5px;cursor:default}.branch-wrapper a{display:flex;align-items:center;justify-content:center;text-align:center;height:30px;line-height:30px;cursor:pointer;font-size:16px;color:#333}.branch-wrapper a>span{position:relative;min-height:20px;display:block}.branch-wrapper a.active>span::after{position:absolute;content:'';bottom:-5px;width:30px;height:3px;left:0;background-color:#5091ff}.gitAddressClone{margin:14px 20px!important;display:flex;height:40px;align-items:center;border-radius:4px;border:1px solid #eee;background:#fff;margin-left:20px;position:relative}.gitAddressClone>span{display:flex;line-height:40px;height:40px;padding:0 12px;cursor:pointer;align-items:center}.addressTips{position:absolute;font-size:12px;color:#ff6e21;top:-34px;left:30px;background-color:#fff;border:1px solid #fe881d;padding:0 5px;height:28px;line-height:28px}.addressTips>span{position:relative;display:block}.addressTips>span::before{box-sizing:content-box;width:0;height:0;position:absolute;top:25px;left:50%;margin-left:-4px;padding:0;border-top:8px solid #fff;border-bottom:8px solid transparent;border-left:8px solid transparent;border-right:8px solid transparent;display:block;content:'';z-index:12}.addressTips>span::after{box-sizing:content-box;width:0;height:0;position:absolute;top:26px;left:50%;margin-left:-4px;padding:0;border-top:8px solid #fe881d;border-bottom:8px solid transparent;border-left:8px solid transparent;border-right:8px solid transparent;display:block;content:'';z-index:11}.gitAddressClone>span.addressType{color:#4cacff}.gitAddressClone>span:last-child{border-right:none}.gitAddressClone>input{outline:0;padding:0 8px;height:38px;line-height:38px;border:none!important;border-right:1px solid #eee!important;border-radius:4px 0 0 4px;flex:1;max-width:249px}.wrap-commit-table .ant-table-small>.ant-table-content>.ant-table-body{margin:0}.wrap-commit-table .ant-table-title{background-color:#f1f8ff;padding:13px 16px!important}.commitKey{cursor:pointer;border:1px solid #fd7700;background-color:#fff3dc;color:#fd7700!important;padding:0 12px;height:20px;line-height:20px;margin-left:15px;border-radius:18px;max-width:100%}.branchTitle{padding:8px 10px;color:#333;font-size:16px;border-bottom:1px solid #d9d9d9}.branchUl li{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee}.branchUl li:last-child{border-bottom:none}.operationBtn{border:1px solid #f4f4f4;border-radius:3px;padding:0 6px;background-color:#fff;color:#666!important;display:inline-block}.messages{max-width:700px}.leftPoint{margin-left:20px;position:relative}.leftPoint::before{position:absolute;left:-10px;top:8px;border-radius:50%;width:4px;height:4px;background-color:#dadada;content:''}.subFileName{position:relative;margin-left:15px;height:22px}.subFileName::before{position:absolute;content:'/';left:-10px;top:0;color:#999;height:22px;line-height:17px}.addFile{display:flex}.addFile a{display:block;background-color:rgba(76,172,255,.8);color:#fff;cursor:pointer;height:32px;line-height:32px;padding:0 10px}.addFile a:first-child{border-radius:4px}.addFile a:last-child{border-left:1px solid rgba(247,247,247,.3)}.addFile a:active{background-color:#4cacff}@media screen and (max-width:750px){.list-r-Search{flex:1}.list-left,.list-right{width:100%;padding:0}}@media screen and (max-width:400px){.list-r-Search{width:100%}.headerMenu-wrapper{flex-direction:column;width:100%}.headerMenu-wrapper li{width:100%}.gitAddressClone{width:100%;margin-left:0}.gitAddressClone>span{padding:0}.messages{max-width:100%}}.commonBox{border:1px solid #ddd;margin-top:18px;border-radius:4px}.commonBox .ant-anchor-wrapper{overflow:unset!important}.commonBox .commonBox-title{padding:0 20px;box-sizing:border-box;font-size:16px;background:#fafbfc;font-weight:700;height:45px;line-height:45px;border-bottom:1px solid #d9d9d9;border-radius:4px 4px 0 0}.readBox{border:none}.readBox.commonBox .commonBox-info{border:1px solid #d0d0d0;border-top:none;border-radius:0 0 4px 4px;padding:20px 38px}.commonBox .commonBox-title.boxTitle{display:flex;justify-content:space-between;height:55px;line-height:55px;background:#fafcff;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23)}.synchronism{display:block;height:34px;line-height:34px;padding:0 15px;color:#fff!important;background-color:#28bd6c;border-radius:4px}.files_info{cursor:pointer}.commonBox .commonBox-info{padding:20px 15px}.commonBox-title-read{vertical-align:middle;color:#000;font-size:14px}@media screen and (max-width:370px){.p-r-btn,.p-r-tags{opacity:0;display:none}.p-r-about{flex-wrap:wrap}.commitKey{margin-right:0}.list-r-Search{width:100%}}.null_data_box{width:100%;border:1px solid #d4d4d5;border-radius:3px}.item_title{font-size:18px;font-weight:700;margin-bottom:15px}.item{padding:15px;border-bottom:1px solid #dededf}.item:last-child{border-bottom:none}.item_title small{font-weight:400;margin-left:10px}.item_title small a{color:#4183c6}.Markdown{background:#f7f7f7;padding:10px 20px}.item .gitAddressClone input:focus{border:1px solid #2185d0}.content-file{margin-top:8px}.content-file .CodeMirror{background-color:#f7f7f7;border:1px solid #e4e4e4;border-radius:4px;height:auto}.content-file.edit .CodeMirror{background-color:#fff}.content-file .CodeMirror .CodeMirror-scroll{min-height:450px}.text-center{text-align:center}.fork-css{position:absolute;left:0;top:50px;width:100%}.color-grey-ccc{color:#ccc!important}.pull-right{float:right}.commitList{padding:0 30px;min-height:400px}.main{margin:30px auto}.main .ant-timeline{margin-top:28px}.main .ant-timeline .commitList-item{position:relative;padding:20px 20px;background:#fafcff;border:1px solid rgba(42,97,255,.23);border-radius:4px;margin-left:16px}.main .ant-timeline .commitList-item .treecopy{margin-top:20px}.main .ant-timeline .commitList-item .markdown-body table{background:#fafcff}.main .ant-timeline .commitList-item:after,.main .ant-timeline .commitList-item:before{content:"";position:absolute;left:-10px;top:10px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:10px solid rgba(42,97,255,.23)}.main .ant-timeline .commitList-item:after{left:-8px;border-right:10px solid #fafcff}.main .ant-timeline .commitList-item .treecopy-cont{padding:4px 15px;display:flex;align-items:center}.main .ant-timeline .commitList-item .btn-83{margin-left:20px}.main .ant-timeline .ant-timeline-item{padding:8px 0 20px}.main .ant-timeline .ant-timeline-item-tail{height:calc(100% - 20px);border-left:2px solid #eee;top:12px}.main .ant-timeline .ant-timeline-item-tail:after{content:' ';height:0;position:absolute;width:0;border:7px solid transparent;border-top-color:#eee;top:100%;left:50%;margin-left:-8px}.main .ant-timeline .ant-timeline-item-head-custom{top:20px;padding:0 1px}.div_table{border:1px solid #eee;border-radius:2px}.ul_thead{padding:0 30px;box-sizing:border-box;background:#fafafa;border-bottom:1px solid #eee;height:50px;line-height:50px}.ul_tbody{padding:0 30px}.ul_tbody li,.ul_thead li{display:flex;align-items:center;text-align:left}.ul_tbody li{padding:18px 0;border-bottom:1px solid #eee}.ul_tbody li:last-child{border-bottom:none}.ul_tbody li>span,.ul_thead li>span{width:20%;padding-right:20px}.ul_tbody li>span:nth-child(2),.ul_thead li>span:nth-child(2){flex:1}.ul_tbody_third{display:flex;flex-direction:column;align-items:flex-start;justify-content:left}.ul_tbody_forth{text-align:center;display:flex;justify-content:center}.depotNum{color:#666!important}.depotNum span:last-child{color:#333}.recommandOri.slick-slider{width:1300px;margin:20px auto 40px}.recommandOri.slick-slider .slick-track{margin-left:0}.recommandOri.slick-slider .slick-slide li>a{display:flex;align-items:center;justify-content:center}.iconBtn i{color:#666}.iconBtn span{margin-left:4px;color:#333!important}.iconBtn span:last-child{font-weight:500}.recommandProjects.slick-slider{width:1230px;margin:20px auto 40px}.recommandProjects.slick-slider .slick-track{margin-left:0}.recommandProjects.slick-slider .slick-arrow.slick-next:before,.recommandProjects.slick-slider .slick-arrow.slick-prev:before{color:#999}.recommandProjects.slick-slider .slick-arrow.slick-next li.slick-active button:before,.recommandProjects.slick-slider .slick-arrow.slick-prev li.slick-active button:before{color:#999}.recommandProjects.slick-slider .slick-dots{bottom:-29px}.recommandProjects.slick-slider .slick-dots li button:before{color:#909090}.recommandProjects.slick-slider .slick-slide{padding:0 15px;box-sizing:border-box}.recommandProjects.slick-slider .slick-slide>div{background-color:#fff;border-radius:10px;width:100%;cursor:pointer;border:1px solid #eee}.recommandProjects.slick-slider .baseInfo{padding:18px 15px;display:flex;font-size:12px;color:#888}.recommandProjects.slick-slider .baseInfo .look{margin-right:10px}.recommandProjects.slick-slider .baseInfo .look i{margin-right:5px}.recommandProjects.slick-slider .baseInfo .type{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}.recommandProjects.slick-slider .mainInfo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border-bottom:1px solid #eee;padding:20px;box-sizing:border-box}.recommandProjects.slick-slider .mainInfo img{height:50px;width:50px;border-radius:50%}.recommandProjects.slick-slider .mainInfo .name{font-size:13px;color:#666;height:18px;line-height:18px;margin-top:12px}.recommandProjects.slick-slider .mainInfo .school{margin-top:12px;color:#333;font-size:16px;height:22px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.Panels{max-width:1200px;margin:0 auto}.Panels .panelmenu{padding-top:20px}.Panels .panelmenu .depotBtn .mr-5{margin-right:-5px}.Panels .panelmenu .depotBtn .ant-btn{height:32px;line-height:32px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.Panels .panelmenu .depotBtn .ant-btn-default{color:#333;border-color:#d0d0d0}.Panels .panelmenu .depotBtn .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.Panels .addOptionBtn,.Panels .depotBtn{display:flex}.Panels .addOptionBtn a,.Panels .depotBtn a{color:#333!important;font-weight:500!important;border-radius:5px;width:83px;height:32px;line-height:30px;background:#fff;border:1px solid #d0d0d0;margin-right:14px;text-align:center}.Panels .infoCount{display:inline-block;width:24px;text-align:center;height:24px;line-height:24px;background-color:rgba(153,153,153,.13);color:#666;border-radius:12px;margin-left:6px;font-size:12px}.Panels .attrPerson{padding-top:12px;display:flex;flex-wrap:wrap;padding-bottom:2px}.Panels .attrPerson a{margin:0 17px 10px 0}.Panels .attrPerson a img{border-radius:50%;width:40px;height:40px}.Panels .attrPerson a:nth-child(5n){margin-right:0}.Panels .progress{display:flex;border-radius:2px;height:11px;margin-top:12px}.Panels .progress span:first-child{border-radius:2px 0 0 2px}.Panels .progress span:last-child{border-radius:0 2px 2px 0}.Panels .progresstip{margin-top:15px;flex-wrap:wrap}.Panels .progresstip i.zero{position:absolute;display:block;border-radius:50%;height:8px;width:8px;left:0;top:8px}.Panels .progresstip>span{padding-left:15px;position:relative;min-width:33.5%;font-size:12px;font-weight:400;color:#666}.Panels .progresstip>span span:last-child{margin-left:5px}.Panels .listtable{margin-top:20px}.Panels .listtable .listtablehead{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 20px 11px;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23);border-bottom:none;background-color:#fafcff}.Panels .listtable .listtablehead+.listtablebody{border-top-color:rgba(42,97,255,.23)}.Panels .listtable .listtablehead .ellipsistxt{margin-top:2px;margin-left:13px;line-height:18px;flex:1;width:0;color:#666}.Panels .listtable .listtablehead .ellipsistxt li{line-height:15px}.Panels .listtable .listtablehead .ellipsistxt #ptxt{margin-bottom:0;word-break:break-all;overflow:unset;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body{line-height:10px;font-size:14px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body p{margin:1px 0 0!important;font-size:14px!important}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul{padding-bottom:3px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol li,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul li{min-height:18px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body table{line-height:1;background:#fafcff}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body:first-child{margin-top:-1px!important}.Panels .listtable .listtablehead .ellipsistxt.hidetxt{height:24px;overflow:hidden;position:relative;padding-right:8px}.Panels .listtable .listtablehead .ellipsis{margin-left:8px;cursor:pointer;border-radius:2px;height:16px;background:rgba(153,153,153,.2);border-radius:2px;padding:0 4px;height:14px;line-height:14px;margin-top:9px}.Panels .listtable .listtablehead .ellipsis i{font-size:15px!important;color:#333;height:14px;line-height:14px}.Panels .listtable .listtablebody{border-radius:0 0 4px 4px;border:1px solid #d0d0d0}.Panels .listtable .listtablebody li a{color:#05101a}.Panels .listtable .listtablebody li.listtablepath a{color:#40a9ff}.Panels .listtable .listtablebody li.listtablepath p{margin-bottom:0!important}.Panels .listtable .listtablebody>li{height:38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;padding:0 20px 0 24px}.Panels .listtable .listtablebody>li>span:first-child{width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(2){width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(3){width:10%;text-align:right}.Panels .listtable .listtablebody>li:last-child{border-bottom:none}.drawerBtn{position:fixed;left:-13px;width:33px;background:#fff;box-shadow:0 0 8px 3px rgba(0,0,0,.09);border:1px solid #666;border-radius:0 12px 12px 0;height:70px;top:50%;margin-top:-35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:7px}.drawerBtn span{writing-mode:vertical-lr;color:#333;width:25px;font-size:14px}.drawerBtn i{color:#333;height:14px;line-height:14px;width:14px;margin-left:2px;margin-bottom:3px}.downMenu{width:329px;background-color:#fff;box-shadow:0 1px 8px 1px rgba(212,212,212,.5);padding-bottom:14px}.downMenu .ant-menu-item{height:50px;line-height:50px}.fileMenu{width:83px}.fileMenu li{padding:6px 0!important;text-align:center;width:100%}.catelogue{cursor:pointer;background:#fafbfc;border-radius:4px;border:1px solid #d0d0d0;font-size:15px;font-weight:400;margin-right:12px;padding:0 10px;height:30px;line-height:30px;color:#666!important;display:flex;align-items:center}.catelogue .ant-dropdown-menu-item{border-radius:8px;text-align:left!important}.catelogue .ant-dropdown-menu-item a{width:350px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.catelogue span{margin-top:1px}.submoduleStyle{cursor:default}.submoduleStyle i{cursor:default}.pinfos a,.pinfos i{color:#666}.graph{flex:1;margin:0 12px}.graph .ant-typography{white-space:pre-wrap;margin-bottom:0}.ant-anchor-wrapper{padding-left:2px!important}.ant-anchor-wrapper .ant-anchor-ink::before{background-color:#fff}.coderSubPage{width:1200px;margin:0 auto}.griditemAnchor{margin-left:0!important;padding:0!important;border-bottom:1px solid #ddd}.griditemAnchor .ant-anchor{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}.griditemAnchor .griditemCate{color:#333;font-size:16px;display:flex;align-items:center}.griditemAnchor .griditemCate .catelogue{margin-left:0}.readmeFile{overflow:inherit}.readmeFile p[align=center]{white-space:normal}.projectHomeTopics{display:flex;flex-wrap:wrap}.projectHomeTopics.myProList .proHomeTopic{background-color:#f3f8ff;color:#4c5b76}.projectHomeTopics .proHomeTopic{background-color:#eff2ff;border-radius:4px;max-width:158px;padding:0 10px;height:24px;line-height:24px}.replaceStyle{height:140px!important}.AlignTop{display:flex;align-items: flex-start}.WhiteBack{background-color:#fff;border-radius:5px}.Box{display:flex;align-items:flex-start}.LongWidth{flex:1;width:0;border-radius:5px;margin-bottom:30px}.ShortWidth{width:300px;border-radius:5px;margin-bottom:30px}.Gap{padding-left:20px;box-sizing:border-box}.AlignCenter{display:flex;align-items: center}.FlexAJ{display:flex;align-items: center;justify-content: space-between}.mt25{margin-top:25px}.User{display:flex;font-weight: bold;align-items: center}.User img{width:30px;height:30px;border-radius:50%}.User span{margin-left:8px} \ No newline at end of file +@charset "UTF-8";dl,ol,ul{margin-bottom:0}.markdown-body .editormd-tex .katex-display>.katex{white-space:pre-wrap}.markdown-body a{color:#466aff}.markdown_anchors{position:relative}.markdown_anchors .anchors{color:inherit;margin-left:-14px;display:none}.newMain{background-color:#fff}.newTable{background-color:#f0f5ff}.newTable .newImages{background-image:url(../../forge/Images/taskbar.png);height:364px}.color-black{color:#333}.projectallName{font-size:22px;font-weight:400;line-height:30px;max-width:690px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.projectallName .projectN{word-break:break-all}.textRight{text-align:right}.main{width:1200px;padding:20px;margin:20px auto;background:#fff;border-radius:2px;border:1px solid #eee}.radius-2{border-radius:2px}.normal{width:1400px;margin:0 auto}.back-white{background:#fff}.back-black{background:#000}.btn_32{border-radius:4px;padding:0 12px;height:32px;line-height:32px;background-color:#f4f4f4;color:#666;display:inline-block}@media screen and (max-width:1200px){.main{width:100%;margin:10px auto}}.hide-1{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hide-2{display:inline-block;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.df{display:flex}.flex-1{flex:1;width:0}.f-wrap-between{display:flex;flex-wrap:wrap;justify-content:space-between}.f-wrap-alignCenter{display:flex;flex-wrap:wrap;align-items:center}.f-wrap-alignCenter a:link,.f-wrap-alignCenter a:visited,.f-wrap-alignCenter>span{color:#333}.f-wrap-alignCenter>span{cursor:default}.commitDesc{flex:1;line-height:20px;word-break:break-all;width:49rem;overflow:hidden;white-space:normal}.normalBox{border-radius:4px}.normalBox-title{background-color:#fafcff;border:1px solid;border-color:rgba(42,97,255,.23);border-radius:4px 4px 0 0;padding:0 20px;height:48px;display:flex;align-items:center;font-size:16px}.none_panels{text-align:center;min-height:320px;padding:40px 0;display:flex;justify-content:center;align-items:center}.none_panels.small{height:120px}.none_panels.small img{width:200px}.none_panels img{width:300px;margin-bottom:15px}.none_p_title{font-size:16px;color:#999}form.ant-form{color:#333}.required{position:relative}.required::before{content:"*";color:red;position:absolute;left:-10px;top:0;line-height:22px}form .ant-row.ant-form-item{margin-bottom:20px}@media screen and (max-width:1200px){.main{width:100%}.normal{width:100%}#root{width:1200px}}@media screen and (max-width:1000px){.main{width:100%;margin:1rem auto}.normal{width:100%}}@media screen and (max-width:750px){.main{width:95%;margin:1rem auto}.normal{width:100%}#root{width:1200px}.newContainers{min-width:1200px}}.ver-middle{vertical-align:middle}.pd510{padding:5px 10px}.modalsStyle .ant-modal-content>.ant-modal-header{text-align:left!important}.modalsStyle .ant-modal-body{max-width:400px;margin:0 auto;text-align:left;min-height:140px;display:flex;align-items:center}.modalsStyle .ant-modal-close-x{margin-top:8px}.list-r-Info>div{box-shadow:0 0 2px rgba(0,0,0,.2)}.list-l-Menu{margin-bottom:12px;border-radius:2px;background-color:#fff;border:1px solid rgba(79,108,188,.21)}.list-l-Menu>li{font-size:15px;padding:0 0 0 25px;box-sizing:border-box;color:#333;position:relative}.list-l-Menu>li>p{height:49px;width:100%;display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding-right:20px;margin:0;border-bottom:1px solid #eee}.list-l-Menu>li>p a{width:100%;color:#202d40}.list-l-Menu>li>p span:last-child{color:#999}.list-l-Menu>li:last-child>p{border-bottom:none}.list-l-Menu li.active::before{position:absolute;left:0;width:6px;content:'';height:100%}.list-l-Menu .MenuTitle{font-size:16px;background-size:100% 100%;color:#333!important;height:62px;line-height:62px;border-bottom:1px solid #e0e0e0;font-weight:400;cursor:pointer}.list-l-Menu .ant-menu-inline{border:none}.list-l-Menu .ant-menu-inline .ant-menu-item{width:100%!important}.list-l-Menu .ant-menu-item-group-title{padding:0}.group-setting-switch{border:1px solid #ddd!important;background-color:#fff!important}.newPopUl li{height:30px;line-height:30px;border-bottom:1px solid #eee;min-width:78px;text-align:center}.newPopUl li:last-child{border-bottom:none}.btn-83{width:83px;height:32px;line-height:30px;text-align:center;background:#fafbfc;border:1px solid #d0d0d0;display:inline-block;border-radius:5px;font-weight:500;color:#333!important;margin-right:15px}button.ant-btn-primary.btnblue{background-color:#466aff;border-color:#466aff}button.btngrey{background-color:#fff;border-color:#d0d0d0;color:#666}.newContainer .newBtn,.newContainer .newTab{position:relative}.newContainer .newBtnImg{background-image:url(../Images/newIcon.svg);background-size:100% 100%;width:29px;height:13px;position:absolute;right:-14px;top:-7px}.newContainer .newTab .newBtnImg{right:-19px}.operateButton{padding:0 15px;height:32px;color:#fff!important;cursor:pointer;line-height:30px;background-color:#466aff;border:1px solid #466aff;border-radius:4px;display:block}.lineH2{line-height:2}.t_project_banner{background-color:#050d34}.ProjectListIndex{width:1200px;margin:20px auto;display:flex;align-items:flex-start;flex-wrap:wrap}.list-left{width:26%;padding-right:20px;box-sizing:border-box;margin-bottom:20px}.list-left>div{border:1px solid #eee}.list-left>div.bgcF{border:none}.list-right{width:74%;background:#fff;padding:10px;border:1px solid #eee}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:none!important}.ant-menu-vertical>.ant-menu-item{margin:0!important;height:35px;line-height:35px;border-bottom:1px solid #eee;font-size:14px!important}.ant-menu-vertical>.ant-menu-item:last-child{border-bottom:none}.list-r-operation{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:25px 30px;border-bottom:1px solid #e0e0e0}.list-r-Search{width:400px}.padding0-25{padding:0 25px}.list-r-Search .ant-btn-lg{height:38px}.list-r-Search .ant-input-group-addon{border:none!important}.list-r-Search .ant-input-search-button{height:40px!important}.createBtn{border-radius:4px;margin-left:20px;display:inline-block;padding:3px 15px;background-color:#4cacff;color:#fff!important}.project-list{padding:0 30px}.border-top-grey{border-top:1px solid #eee}.p-r-Item:last-child{border-bottom:none!important}.p-r-Item{display:flex;border-bottom:1px solid #eee;padding:22px 0;justify-content:flex-start}.boxShandow{box-shadow:0 2px 20px 10px rgba(0,0,0,.03)}.p-r-photo{width:60px;height:60px;border-radius:50%;margin-right:22px;margin-top:8px}.p-r-Infos{flex:1;width:0}.p-r-name{display:flex;justify-content:space-between;align-items:center}.p-r-name>p{flex:1;width:0}.p-r-btn{display:flex;align-items:center}.p-r-btn>span{height:35px;line-height:35px;border:1px solid #f4f4f4;border-radius:5px;display:block;margin-left:20px;background-color:#fff;display:flex}.p-r-btn>span>a{display:flex;align-items:center;padding:0 12px;background:#ececec}.p-r-btn>span>a:active{background:#f4f4f4}.p-r-btn>span>span{padding:0 8px}.p-r-tags{display:flex;opacity:1}.p-r-tags.large>span{height:30px;line-height:30px;font-size:14px}.p-r-tags>span{margin-left:15px;padding:0 10px;border-radius:15px;background:#ebf4fe;color:#333;height:24px;line-height:24px;display:block;font-size:12px;display:flex}.p-r-tags>span.pariseTag{background:#fff3dc}.p-r-tags.large>span>label{padding:0 12px}.p-r-tags>span>label{padding:0 8px}.p-r-tags.large>span>span{padding:0 6px}.pariseImg{width:14px;height:12px;margin-top:6px;margin-right:3px}.p-r-tags>span>span{display:block;background:#fff;border-left:#efefef;padding:0 4px;border-radius:0 4px 4px 0;color:#999}.p-r-content{margin-top:10px;color:#666;display:flex}.p-r-detail>span{margin-right:22px;color:#888}.p-r-detail>span>label{color:#999}.p-r-about{display:flex;justify-content:space-between;flex-wrap:nowrap;margin-top:8px;color:#666}.spincontent{height:400px}.spinstyle .ant-spin-text{margin-top:30px;color:#888}.detailHeader-wrapper{background-color:#fbfcff;border-bottom:1px solid #e2e2e2}.headerMenu-wrapper{display:flex;flex-direction:row;cursor:pointer}.headerMenu-wrapper li{text-align:center;padding:0;margin-right:30px;display:flex}.headerMenu-wrapper li>a{position:relative;font-size:14px;height:36px;line-height:24px;display:flex;color:#000!important}.headerMenu-wrapper li>a>span.num{line-height:24px;margin-left:5px;font-size:12px;float:right;color:#666!important;background-color:rgba(153,153,153,.13);border-radius:50%;width:24px;height:24px}.detail_tag_btn{height:32px;line-height:32px;border-radius:5px;border:1px solid #d0d0d0;display:flex;align-items:center;margin-left:10px;padding:0;background-color:#fafbfc;box-shadow:none}.detail_tag_btn .detail_tag_btn_name{padding:0 10px;text-align:center;height:30px;line-height:30px;border-radius:5px 0 0 5px}.detail_tag_btn .detail_tag_btn_name span{color:#333!important}.detail_tag_btn .detail_tag_btn_count{width:42px;text-align:center;background:#fff;border-radius:0 4px 4px 0;height:100%;border-left:1px solid #d0d0d0}.ant-tooltip{max-width:fit-content!important}.files-md{padding:20px}.files-md h1,.files-md h2,.files-md h3,.files-md h4,.files-md h5,.files-md h6{margin-bottom:.5em!important}.readBox h1,.readBox h2,.readBox h3,.readBox h4,.readBox h5,.readBox h6{margin-bottom:.5em!important}.branch-wrapper{border:1px solid #eee;border-radius:4px;display:flex;align-items:center;height:60px;padding:0 30px;width:1200px;margin:0 auto;background-color:#fff;margin-top:20px;justify-content:space-between}.branch-wrapper>a>i{color:#5091ff;margin-right:5px;cursor:default}.branch-wrapper a{display:flex;align-items:center;justify-content:center;text-align:center;height:30px;line-height:30px;cursor:pointer;font-size:16px;color:#333}.branch-wrapper a>span{position:relative;min-height:20px;display:block}.branch-wrapper a.active>span::after{position:absolute;content:'';bottom:-5px;width:30px;height:3px;left:0;background-color:#5091ff}.gitAddressClone{margin:14px 20px!important;display:flex;height:40px;align-items:center;border-radius:4px;border:1px solid #eee;background:#fff;margin-left:20px;position:relative}.gitAddressClone>span{display:flex;line-height:40px;height:40px;padding:0 12px;cursor:pointer;align-items:center}.addressTips{position:absolute;font-size:12px;color:#ff6e21;top:-34px;left:30px;background-color:#fff;border:1px solid #fe881d;padding:0 5px;height:28px;line-height:28px}.addressTips>span{position:relative;display:block}.addressTips>span::before{box-sizing:content-box;width:0;height:0;position:absolute;top:25px;left:50%;margin-left:-4px;padding:0;border-top:8px solid #fff;border-bottom:8px solid transparent;border-left:8px solid transparent;border-right:8px solid transparent;display:block;content:'';z-index:12}.addressTips>span::after{box-sizing:content-box;width:0;height:0;position:absolute;top:26px;left:50%;margin-left:-4px;padding:0;border-top:8px solid #fe881d;border-bottom:8px solid transparent;border-left:8px solid transparent;border-right:8px solid transparent;display:block;content:'';z-index:11}.gitAddressClone>span.addressType{color:#4cacff}.gitAddressClone>span:last-child{border-right:none}.gitAddressClone>input{outline:0;padding:0 8px;height:38px;line-height:38px;border:none!important;border-right:1px solid #eee!important;border-radius:4px 0 0 4px;flex:1;max-width:249px}.wrap-commit-table .ant-table-small>.ant-table-content>.ant-table-body{margin:0}.wrap-commit-table .ant-table-title{background-color:#f1f8ff;padding:13px 16px!important}.commitKey{cursor:pointer;border:1px solid #fd7700;background-color:#fff3dc;color:#fd7700!important;padding:0 12px;height:20px;line-height:20px;margin-left:15px;border-radius:18px;max-width:100%}.branchTitle{padding:8px 10px;color:#333;font-size:16px;border-bottom:1px solid #d9d9d9}.branchUl li{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee}.branchUl li:last-child{border-bottom:none}.operationBtn{border:1px solid #f4f4f4;border-radius:3px;padding:0 6px;background-color:#fff;color:#666!important;display:inline-block}.messages{max-width:700px}.leftPoint{margin-left:20px;position:relative}.leftPoint::before{position:absolute;left:-10px;top:8px;border-radius:50%;width:4px;height:4px;background-color:#dadada;content:''}.subFileName{position:relative;margin-left:15px;height:22px}.subFileName::before{position:absolute;content:'/';left:-10px;top:0;color:#999;height:22px;line-height:17px}.addFile{display:flex}.addFile a{display:block;background-color:rgba(76,172,255,.8);color:#fff;cursor:pointer;height:32px;line-height:32px;padding:0 10px}.addFile a:first-child{border-radius:4px}.addFile a:last-child{border-left:1px solid rgba(247,247,247,.3)}.addFile a:active{background-color:#4cacff}@media screen and (max-width:750px){.list-r-Search{flex:1}.list-left,.list-right{width:100%;padding:0}}@media screen and (max-width:400px){.list-r-Search{width:100%}.headerMenu-wrapper{flex-direction:column;width:100%}.headerMenu-wrapper li{width:100%}.gitAddressClone{width:100%;margin-left:0}.gitAddressClone>span{padding:0}.messages{max-width:100%}}.commonBox{border:1px solid #ddd;margin-top:18px;border-radius:4px}.commonBox .ant-anchor-wrapper{overflow:unset!important}.commonBox .commonBox-title{padding:0 20px;box-sizing:border-box;font-size:16px;background:#fafbfc;font-weight:700;height:45px;line-height:45px;border-bottom:1px solid #d9d9d9;border-radius:4px 4px 0 0}.readBox{border:none}.readBox.commonBox .commonBox-info{border:1px solid #d0d0d0;border-top:none;border-radius:0 0 4px 4px;padding:20px 38px}.commonBox .commonBox-title.boxTitle{display:flex;justify-content:space-between;height:55px;line-height:55px;background:#fafcff;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23)}.synchronism{display:block;height:34px;line-height:34px;padding:0 15px;color:#fff!important;background-color:#28bd6c;border-radius:4px}.files_info{cursor:pointer}.commonBox .commonBox-info{padding:20px 15px}.commonBox-title-read{vertical-align:middle;color:#000;font-size:14px}@media screen and (max-width:370px){.p-r-btn,.p-r-tags{opacity:0;display:none}.p-r-about{flex-wrap:wrap}.commitKey{margin-right:0}.list-r-Search{width:100%}}.null_data_box{width:100%;border:1px solid #d4d4d5;border-radius:3px}.item_title{font-size:18px;font-weight:700;margin-bottom:15px}.item{padding:15px;border-bottom:1px solid #dededf}.item:last-child{border-bottom:none}.item_title small{font-weight:400;margin-left:10px}.item_title small a{color:#4183c6}.Markdown{background:#f7f7f7;padding:10px 20px}.item .gitAddressClone input:focus{border:1px solid #2185d0}.content-file{margin-top:8px}.content-file .CodeMirror{background-color:#f7f7f7;border:1px solid #e4e4e4;border-radius:4px;height:auto}.content-file.edit .CodeMirror{background-color:#fff}.content-file .CodeMirror .CodeMirror-scroll{min-height:450px}.text-center{text-align:center}.fork-css{position:absolute;left:0;top:50px;width:100%}.color-grey-ccc{color:#ccc!important}.pull-right{float:right}.commitList{padding:0 30px;min-height:400px}.main{margin:30px auto}.main .ant-timeline{margin-top:28px}.main .ant-timeline .commitList-item{position:relative;padding:20px 20px;background:#fafcff;border:1px solid rgba(42,97,255,.23);border-radius:4px;margin-left:16px}.main .ant-timeline .commitList-item .treecopy{margin-top:20px}.main .ant-timeline .commitList-item .markdown-body table{background:#fafcff}.main .ant-timeline .commitList-item:after,.main .ant-timeline .commitList-item:before{content:"";position:absolute;left:-10px;top:10px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:10px solid rgba(42,97,255,.23)}.main .ant-timeline .commitList-item:after{left:-8px;border-right:10px solid #fafcff}.main .ant-timeline .commitList-item .treecopy-cont{padding:4px 15px;display:flex;align-items:center}.main .ant-timeline .commitList-item .btn-83{margin-left:20px}.main .ant-timeline .ant-timeline-item{padding:8px 0 20px}.main .ant-timeline .ant-timeline-item-tail{height:calc(100% - 20px);border-left:2px solid #eee;top:12px}.main .ant-timeline .ant-timeline-item-tail:after{content:' ';height:0;position:absolute;width:0;border:7px solid transparent;border-top-color:#eee;top:100%;left:50%;margin-left:-8px}.main .ant-timeline .ant-timeline-item-head-custom{top:20px;padding:0 1px}.div_table{border:1px solid #eee;border-radius:2px}.ul_thead{padding:0 30px;box-sizing:border-box;background:#fafafa;border-bottom:1px solid #eee;height:50px;line-height:50px}.ul_tbody{padding:0 30px}.ul_tbody li,.ul_thead li{display:flex;align-items:center;text-align:left}.ul_tbody li{padding:18px 0;border-bottom:1px solid #eee}.ul_tbody li:last-child{border-bottom:none}.ul_tbody li>span,.ul_thead li>span{width:20%;padding-right:20px}.ul_tbody li>span:nth-child(2),.ul_thead li>span:nth-child(2){flex:1}.ul_tbody_third{display:flex;flex-direction:column;align-items:flex-start;justify-content:left}.ul_tbody_forth{text-align:center;display:flex;justify-content:center}.depotNum{color:#666!important}.depotNum span:last-child{color:#333}.recommandOri.slick-slider{width:1300px;margin:20px auto 40px}.recommandOri.slick-slider .slick-track{margin-left:0}.recommandOri.slick-slider .slick-slide li>a{display:flex;align-items:center;justify-content:center}.iconBtn i{color:#666}.iconBtn span{margin-left:4px;color:#333!important}.iconBtn span:last-child{font-weight:500}.recommandProjects.slick-slider{width:1230px;margin:20px auto 40px}.recommandProjects.slick-slider .slick-track{margin-left:0}.recommandProjects.slick-slider .slick-arrow.slick-next:before,.recommandProjects.slick-slider .slick-arrow.slick-prev:before{color:#999}.recommandProjects.slick-slider .slick-arrow.slick-next li.slick-active button:before,.recommandProjects.slick-slider .slick-arrow.slick-prev li.slick-active button:before{color:#999}.recommandProjects.slick-slider .slick-dots{bottom:-29px}.recommandProjects.slick-slider .slick-dots li button:before{color:#909090}.recommandProjects.slick-slider .slick-slide{padding:0 15px;box-sizing:border-box}.recommandProjects.slick-slider .slick-slide>div{background-color:#fff;border-radius:10px;width:100%;cursor:pointer;border:1px solid #eee}.recommandProjects.slick-slider .baseInfo{padding:18px 15px;display:flex;font-size:12px;color:#888}.recommandProjects.slick-slider .baseInfo .look{margin-right:10px}.recommandProjects.slick-slider .baseInfo .look i{margin-right:5px}.recommandProjects.slick-slider .baseInfo .type{flex:1;width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}.recommandProjects.slick-slider .mainInfo{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border-bottom:1px solid #eee;padding:20px;box-sizing:border-box}.recommandProjects.slick-slider .mainInfo img{height:50px;width:50px;border-radius:50%}.recommandProjects.slick-slider .mainInfo .name{font-size:13px;color:#666;height:18px;line-height:18px;margin-top:12px}.recommandProjects.slick-slider .mainInfo .school{margin-top:12px;color:#333;font-size:16px;height:22px;line-height:22px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.Panels{max-width:1200px;margin:0 auto}.Panels .panelmenu{padding-top:20px}.Panels .panelmenu .depotBtn .mr-5{margin-right:-5px}.Panels .panelmenu .depotBtn .ant-btn{height:32px;line-height:32px;width:83px;text-align:center;padding:0;font-weight:500;font-size:14px}.Panels .panelmenu .depotBtn .ant-btn-default{color:#333;border-color:#d0d0d0}.Panels .panelmenu .depotBtn .ant-btn-primary{color:#fff;background-color:#466aff;border:none}.Panels .addOptionBtn,.Panels .depotBtn{display:flex}.Panels .addOptionBtn a,.Panels .depotBtn a{color:#333!important;font-weight:500!important;border-radius:5px;width:83px;height:32px;line-height:30px;background:#fff;border:1px solid #d0d0d0;margin-right:14px;text-align:center}.Panels .infoCount{display:inline-block;width:24px;text-align:center;height:24px;line-height:24px;background-color:rgba(153,153,153,.13);color:#666;border-radius:12px;margin-left:6px;font-size:12px}.Panels .attrPerson{padding-top:12px;display:flex;flex-wrap:wrap;padding-bottom:2px}.Panels .attrPerson a{margin:0 17px 10px 0}.Panels .attrPerson a img{border-radius:50%;width:40px;height:40px}.Panels .attrPerson a:nth-child(5n){margin-right:0}.Panels .progress{display:flex;border-radius:2px;height:11px;margin-top:12px}.Panels .progress span:first-child{border-radius:2px 0 0 2px}.Panels .progress span:last-child{border-radius:0 2px 2px 0}.Panels .progresstip{margin-top:15px;flex-wrap:wrap}.Panels .progresstip i.zero{position:absolute;display:block;border-radius:50%;height:8px;width:8px;left:0;top:8px}.Panels .progresstip>span{padding-left:15px;position:relative;min-width:33.5%;font-size:12px;font-weight:400;color:#666}.Panels .progresstip>span span:last-child{margin-left:5px}.Panels .listtable{margin-top:20px}.Panels .listtable .listtablehead{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 20px 11px;border-radius:4px 4px 0 0;border:1px solid rgba(42,97,255,.23);border-bottom:none;background-color:#fafcff}.Panels .listtable .listtablehead+.listtablebody{border-top-color:rgba(42,97,255,.23)}.Panels .listtable .listtablehead .ellipsistxt{margin-top:2px;margin-left:13px;line-height:18px;flex:1;width:0;color:#666}.Panels .listtable .listtablehead .ellipsistxt li{line-height:15px}.Panels .listtable .listtablehead .ellipsistxt #ptxt{margin-bottom:0;word-break:break-all;overflow:unset;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body{line-height:10px;font-size:14px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body p{margin:1px 0 0!important;font-size:14px!important}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul{padding-bottom:3px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ol li,.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body ul li{min-height:18px}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body table{line-height:1;background:#fafcff}.Panels .listtable .listtablehead .ellipsistxt #ptxt .markdown-body:first-child{margin-top:-1px!important}.Panels .listtable .listtablehead .ellipsistxt.hidetxt{height:24px;overflow:hidden;position:relative;padding-right:8px}.Panels .listtable .listtablehead .ellipsis{margin-left:8px;cursor:pointer;border-radius:2px;height:16px;background:rgba(153,153,153,.2);border-radius:2px;padding:0 4px;height:14px;line-height:14px;margin-top:9px}.Panels .listtable .listtablehead .ellipsis i{font-size:15px!important;color:#333;height:14px;line-height:14px}.Panels .listtable .listtablebody{border-radius:0 0 4px 4px;border:1px solid #d0d0d0}.Panels .listtable .listtablebody li a{color:#05101a}.Panels .listtable .listtablebody li.listtablepath a{color:#40a9ff}.Panels .listtable .listtablebody li.listtablepath p{margin-bottom:0!important}.Panels .listtable .listtablebody>li{height:38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;padding:0 20px 0 24px}.Panels .listtable .listtablebody>li>span:first-child{width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(2){width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.Panels .listtable .listtablebody>li>span:nth-child(3){width:10%;text-align:right}.Panels .listtable .listtablebody>li:last-child{border-bottom:none}.drawerBtn{position:fixed;left:-13px;width:33px;background:#fff;box-shadow:0 0 8px 3px rgba(0,0,0,.09);border:1px solid #666;border-radius:0 12px 12px 0;height:70px;top:50%;margin-top:-35px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-left:7px}.drawerBtn span{writing-mode:vertical-lr;color:#333;width:25px;font-size:14px}.drawerBtn i{color:#333;height:14px;line-height:14px;width:14px;margin-left:2px;margin-bottom:3px}.downMenu{width:329px;background-color:#fff;box-shadow:0 1px 8px 1px rgba(212,212,212,.5);padding-bottom:14px}.downMenu .ant-menu-item{height:50px;line-height:50px}.fileMenu{width:83px}.fileMenu li{padding:6px 0!important;text-align:center;width:100%}.catelogue{cursor:pointer;background:#fafbfc;border-radius:4px;border:1px solid #d0d0d0;font-size:15px;font-weight:400;margin-right:12px;padding:0 10px;height:30px;line-height:30px;color:#666!important;display:flex;align-items:center}.catelogue .ant-dropdown-menu-item{border-radius:8px;text-align:left!important}.catelogue .ant-dropdown-menu-item a{width:350px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.catelogue span{margin-top:1px}.submoduleStyle{cursor:default}.submoduleStyle i{cursor:default}.pinfos a,.pinfos i{color:#666}.graph{flex:1;margin:0 12px}.graph .ant-typography{white-space:pre-wrap;margin-bottom:0}.ant-anchor-wrapper{padding-left:2px!important}.ant-anchor-wrapper .ant-anchor-ink::before{background-color:#fff}.coderSubPage{width:1200px;margin:0 auto}.griditemAnchor{margin-left:0!important;padding:0!important;border-bottom:1px solid #ddd}.griditemAnchor .ant-anchor{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}.griditemAnchor .griditemCate{color:#333;font-size:16px;display:flex;align-items:center}.griditemAnchor .griditemCate .catelogue{margin-left:0}.readmeFile{overflow:inherit}.readmeFile p[align=center]{white-space:normal}.projectHomeTopics{display:flex;flex-wrap:wrap}.projectHomeTopics.myProList .proHomeTopic{background-color:#f3f8ff;color:#4c5b76}.projectHomeTopics .proHomeTopic{background-color:#eff2ff;border-radius:4px;max-width:158px;padding:0 10px;height:24px;line-height:24px}.replaceStyle{height:140px!important}.AlignTop{display:flex;align-items: flex-start}.WhiteBack{background-color:#fff;border-radius:5px}.Box{display:flex;align-items:flex-start}.LongWidth{flex:1;width:0;border-radius:5px;margin-bottom:30px}.ShortWidth{width:300px;border-radius:5px;margin-bottom:30px}.Gap{padding-left:20px;box-sizing:border-box}.AlignCenter{display:flex;align-items: center}.FlexAJ{display:flex;align-items: center;justify-content: space-between}.mt25{margin-top:25px}.User{display:flex;font-weight: bold;align-items: center}.User img{width:30px;height:30px;border-radius:50%}.User span{margin-left:8px} \ No newline at end of file diff --git a/public/css/iconfont.css b/public/css/iconfont.css index 9518a831c..07c91dd4d 100644 --- a/public/css/iconfont.css +++ b/public/css/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; /* Project id 2340181 */ - src: url('iconfont.woff2?t=1757896728868') format('woff2'), - url('iconfont.woff?t=1757896728868') format('woff'), - url('iconfont.ttf?t=1757896728868') format('truetype'); + src: url('iconfont.woff2?t=1768876676007') format('woff2'), + url('iconfont.woff?t=1768876676007') format('woff'), + url('iconfont.ttf?t=1768876676007') format('truetype'); } .iconfont { @@ -13,6 +13,122 @@ -moz-osx-font-smoothing: grayscale; } +.icon-zhuangtai:before { + content: "\e9c5"; +} + +.icon-fuzhi-shanchu1:before { + content: "\e9c6"; +} + +.icon-mobanguanli:before { + content: "\e9c7"; +} + +.icon-svg_jiantou1:before { + content: "\e9c3"; +} + +.icon-zuojiantou1:before { + content: "\e9c4"; +} + +.icon-jiantou4:before { + content: "\e9c2"; +} + +.icon-hezuohuoban:before { + content: "\e9bf"; +} + +.icon-xiangmugongxian:before { + content: "\e9c1"; +} + +.icon-sijiaoxing:before { + content: "\e9c0"; +} + +.icon-a-zu15512:before { + content: "\e9be"; +} + +.icon-wendangbangong-01:before { + content: "\e9bd"; +} + +.icon-wendangsousuo:before { + content: "\e9b7"; +} + +.icon-jieyakelu:before { + content: "\e9b0"; +} + +.icon-tuxingtuxiang1:before { + content: "\e9b6"; +} + +.icon-xiazaigongju:before { + content: "\e9bc"; +} + +.icon-shipinchuli:before { + content: "\e9b2"; +} + +.icon-liulanqi:before { + content: "\e9b8"; +} + +.icon-shejiaoliaotian:before { + content: "\e9b9"; +} + +.icon-shurufa:before { + content: "\e9ba"; +} + +.icon-quanbuleibie:before { + content: "\e9bb"; +} + +.icon-tuxingtuxiang:before { + content: "\e9af"; +} + +.icon-xitonggongju:before { + content: "\e9b1"; +} + +.icon-wendangbangong:before { + content: "\e9b3"; +} + +.icon-zhuomiankongzhi:before { + content: "\e9b4"; +} + +.icon-Npm:before { + content: "\e9ad"; +} + +.icon-Maven:before { + content: "\e9ac"; +} + +.icon-Python:before { + content: "\e9ae"; +} + +.icon-a-xiazai3:before { + content: "\e9ab"; +} + +.icon-xiala4:before { + content: "\e9a9"; +} + .icon-tufaxingzhongdasuanlixuqiuyingjixiangying:before { content: "\e9a0"; } diff --git a/public/css/iconfont.js b/public/css/iconfont.js index e8e3aa48a..317ae31ee 100644 --- a/public/css/iconfont.js +++ b/public/css/iconfont.js @@ -1 +1 @@ -window._iconfont_svg_string_2340181='',(c=>{var a=(l=(l=document.getElementsByTagName("script"))[l.length-1]).getAttribute("data-injectcss"),l=l.getAttribute("data-disable-injectsvg");if(!l){var h,i,o,z,t,p=function(a,l){l.parentNode.insertBefore(a,l)};if(a&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(a){console&&console.log(a)}}h=function(){var a,l=document.createElement("div");l.innerHTML=c._iconfont_svg_string_2340181,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(a=document.body).firstChild?p(l,a.firstChild):a.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(h,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),h()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(o=h,z=c.document,t=!1,m(),z.onreadystatechange=function(){"complete"==z.readyState&&(z.onreadystatechange=null,v())})}function v(){t||(t=!0,o())}function m(){try{z.documentElement.doScroll("left")}catch(a){return void setTimeout(m,50)}v()}})(window); \ No newline at end of file +window._iconfont_svg_string_2340181='',(c=>{var a=(l=(l=document.getElementsByTagName("script"))[l.length-1]).getAttribute("data-injectcss"),l=l.getAttribute("data-disable-injectsvg");if(!l){var h,i,o,z,t,p=function(a,l){l.parentNode.insertBefore(a,l)};if(a&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(a){console&&console.log(a)}}h=function(){var a,l=document.createElement("div");l.innerHTML=c._iconfont_svg_string_2340181,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(a=document.body).firstChild?p(l,a.firstChild):a.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(h,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),h()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(o=h,z=c.document,t=!1,m(),z.onreadystatechange=function(){"complete"==z.readyState&&(z.onreadystatechange=null,v())})}function v(){t||(t=!0,o())}function m(){try{z.documentElement.doScroll("left")}catch(a){return void setTimeout(m,50)}v()}})(window); \ No newline at end of file diff --git a/public/css/iconfont.json b/public/css/iconfont.json index f7322132b..7dcb87101 100644 --- a/public/css/iconfont.json +++ b/public/css/iconfont.json @@ -5,6 +5,209 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "46593376", + "name": "状态", + "font_class": "zhuangtai", + "unicode": "e9c5", + "unicode_decimal": 59845 + }, + { + "icon_id": "46593375", + "name": "复制-删除", + "font_class": "fuzhi-shanchu1", + "unicode": "e9c6", + "unicode_decimal": 59846 + }, + { + "icon_id": "46593374", + "name": "模版管理", + "font_class": "mobanguanli", + "unicode": "e9c7", + "unicode_decimal": 59847 + }, + { + "icon_id": "46370299", + "name": "svg_箭头1", + "font_class": "svg_jiantou1", + "unicode": "e9c3", + "unicode_decimal": 59843 + }, + { + "icon_id": "46370300", + "name": "左箭头", + "font_class": "zuojiantou1", + "unicode": "e9c4", + "unicode_decimal": 59844 + }, + { + "icon_id": "46329189", + "name": "箭头", + "font_class": "jiantou4", + "unicode": "e9c2", + "unicode_decimal": 59842 + }, + { + "icon_id": "46248622", + "name": "合作伙伴", + "font_class": "hezuohuoban", + "unicode": "e9bf", + "unicode_decimal": 59839 + }, + { + "icon_id": "46248621", + "name": "项目贡献", + "font_class": "xiangmugongxian", + "unicode": "e9c1", + "unicode_decimal": 59841 + }, + { + "icon_id": "46245203", + "name": "四角星", + "font_class": "sijiaoxing", + "unicode": "e9c0", + "unicode_decimal": 59840 + }, + { + "icon_id": "46244977", + "name": "组 15512", + "font_class": "a-zu15512", + "unicode": "e9be", + "unicode_decimal": 59838 + }, + { + "icon_id": "46034062", + "name": "文档办公-01", + "font_class": "wendangbangong-01", + "unicode": "e9bd", + "unicode_decimal": 59837 + }, + { + "icon_id": "46033728", + "name": "文档搜索", + "font_class": "wendangsousuo", + "unicode": "e9b7", + "unicode_decimal": 59831 + }, + { + "icon_id": "46033639", + "name": "解压刻录", + "font_class": "jieyakelu", + "unicode": "e9b0", + "unicode_decimal": 59824 + }, + { + "icon_id": "46033573", + "name": "图形图像", + "font_class": "tuxingtuxiang1", + "unicode": "e9b6", + "unicode_decimal": 59830 + }, + { + "icon_id": "46033572", + "name": "下载工具", + "font_class": "xiazaigongju", + "unicode": "e9bc", + "unicode_decimal": 59836 + }, + { + "icon_id": "46033597", + "name": "视频处理", + "font_class": "shipinchuli", + "unicode": "e9b2", + "unicode_decimal": 59826 + }, + { + "icon_id": "46033165", + "name": "浏览器", + "font_class": "liulanqi", + "unicode": "e9b8", + "unicode_decimal": 59832 + }, + { + "icon_id": "46033154", + "name": "社交聊天", + "font_class": "shejiaoliaotian", + "unicode": "e9b9", + "unicode_decimal": 59833 + }, + { + "icon_id": "46033153", + "name": "输入法", + "font_class": "shurufa", + "unicode": "e9ba", + "unicode_decimal": 59834 + }, + { + "icon_id": "46032783", + "name": "全部类别", + "font_class": "quanbuleibie", + "unicode": "e9bb", + "unicode_decimal": 59835 + }, + { + "icon_id": "46032622", + "name": "图形图像", + "font_class": "tuxingtuxiang", + "unicode": "e9af", + "unicode_decimal": 59823 + }, + { + "icon_id": "46032621", + "name": "系统工具", + "font_class": "xitonggongju", + "unicode": "e9b1", + "unicode_decimal": 59825 + }, + { + "icon_id": "46032619", + "name": "文档办公", + "font_class": "wendangbangong", + "unicode": "e9b3", + "unicode_decimal": 59827 + }, + { + "icon_id": "46032616", + "name": "桌面控制", + "font_class": "zhuomiankongzhi", + "unicode": "e9b4", + "unicode_decimal": 59828 + }, + { + "icon_id": "46032217", + "name": "Npm", + "font_class": "Npm", + "unicode": "e9ad", + "unicode_decimal": 59821 + }, + { + "icon_id": "46032121", + "name": "Maven", + "font_class": "Maven", + "unicode": "e9ac", + "unicode_decimal": 59820 + }, + { + "icon_id": "46032118", + "name": "Python", + "font_class": "Python", + "unicode": "e9ae", + "unicode_decimal": 59822 + }, + { + "icon_id": "46031753", + "name": "下载 (3)", + "font_class": "a-xiazai3", + "unicode": "e9ab", + "unicode_decimal": 59819 + }, + { + "icon_id": "46031290", + "name": "下拉", + "font_class": "xiala4", + "unicode": "e9a9", + "unicode_decimal": 59817 + }, { "icon_id": "45509718", "name": "突发性重大算力需求应急响应", diff --git a/public/css/iconfont.ttf b/public/css/iconfont.ttf index bb7ff74ad..5e4a2d46e 100644 Binary files a/public/css/iconfont.ttf and b/public/css/iconfont.ttf differ diff --git a/public/css/iconfont.woff b/public/css/iconfont.woff index 0e4b1416b..6d8d8a286 100644 Binary files a/public/css/iconfont.woff and b/public/css/iconfont.woff differ diff --git a/public/css/iconfont.woff2 b/public/css/iconfont.woff2 index 56a4f7b7c..8c92b7d01 100644 Binary files a/public/css/iconfont.woff2 and b/public/css/iconfont.woff2 differ diff --git a/src/AppConfig.js b/src/AppConfig.js index e0f2c270b..fb45f2300 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -32,7 +32,7 @@ export function initAxiosInterceptors(props) { // 判断网络是否连接 initOnlineOfflineListener(); - // var proxy = "https://testforgeplus.trustie.net"; + var proxy = "https://testforgeplus.trustie.net"; // var proxy = "http://172.20.32.201:4000"; // var proxy = "https://www.gitlink.org.cn"; @@ -45,18 +45,18 @@ export function initAxiosInterceptors(props) { requestProxy(config); let url = `/api${config.url}`; - // if (window.location.port === "3007") { - // config.url = `${proxy}${url}`; - // if (config.url.indexOf('?') === -1) { - // config.url = `${config.url}`; - // } else { - // config.url = `${config.url}`; - // } - // } else { - // config.url = url; - // } + if (window.location.port === "3007") { + config.url = `${proxy}${url}?debug=admin`; + if (config.url.indexOf('?') === -1) { + config.url = `${config.url}`; + } else { + config.url = `${config.url}`; + } + } else { + config.url = url; + } config.withCredentials = false; - config.url = url; + // config.url = url; return config; }, err => { diff --git a/src/forge/About/index.scss b/src/forge/About/index.scss index a009b45de..57eab04ad 100644 --- a/src/forge/About/index.scss +++ b/src/forge/About/index.scss @@ -1,5 +1,5 @@ .aboutPanels{ - max-width: 1200px; + max-width: 1400px; margin:0px auto; .aboutContent{ border-radius: 2px; diff --git a/src/forge/Activity/activity.css b/src/forge/Activity/activity.css index c5d323224..4f118ca02 100644 --- a/src/forge/Activity/activity.css +++ b/src/forge/Activity/activity.css @@ -18,7 +18,7 @@ padding-bottom: 20px!important; } .contentBox{ - width: 1200px; + width: 1400px; margin:0px auto; } .pageDIV{ diff --git a/src/forge/Dataset/index.scss b/src/forge/Dataset/index.scss index ee9ce2ad7..415502dda 100644 --- a/src/forge/Dataset/index.scss +++ b/src/forge/Dataset/index.scss @@ -1,6 +1,6 @@ .dataset{ margin:0px auto; - width: 1200px; + width: 1400px; padding:25px 0px; .mnistData{ background: #FAFCFF; diff --git a/src/forge/DevOps/cardList/index.scss b/src/forge/DevOps/cardList/index.scss index 7e8966d01..1118b6fc4 100644 --- a/src/forge/DevOps/cardList/index.scss +++ b/src/forge/DevOps/cardList/index.scss @@ -1,6 +1,6 @@ .cardList { margin: 30px auto; - width: 1200px; + width: 1400px; padding-bottom: 50px; display: flex; flex-direction: column; diff --git a/src/forge/DevOps/ops.scss b/src/forge/DevOps/ops.scss index f20d9d0f7..95d56c3be 100644 --- a/src/forge/DevOps/ops.scss +++ b/src/forge/DevOps/ops.scss @@ -1,7 +1,7 @@ .opsPanel { margin:20px auto; - width: 1200px; + width: 1400px; min-height: 500px; padding: 0; // 开始激活页面 diff --git a/src/forge/Issues/Component/chooseMenu.jsx b/src/forge/Issues/Component/chooseMenu.jsx index 4da6c5e4d..a518564c5 100644 --- a/src/forge/Issues/Component/chooseMenu.jsx +++ b/src/forge/Issues/Component/chooseMenu.jsx @@ -3,6 +3,7 @@ import { findDOMNode } from 'react-dom'; import { Dropdown , Menu , Input , Button, Form , Tooltip } from 'antd'; import { getImageUrl } from 'educoder'; import AddTagsBox from './addTagsBox'; +import "../index.scss"; const { Search } = Input; /** @@ -39,9 +40,13 @@ function ChooseMenu({ const [ valuesId , setValuesId ] = useState([]); const [ count , setCount ] = useState(double); const [ content , setContent ] = useState(false); - + const [ filterMenus, setFilterMenus ] = useState([]); const [ saveList , setSaveList ] = useState(undefined); + useEffect(()=>{ + setFilterMenus(menus); + },[menus]) + const refFa = useRef(null); const refBox = useRef(null); @@ -81,7 +86,7 @@ function ChooseMenu({ } if(!visible){ setSearchValue(undefined); - searchFunc(undefined); + // searchFunc && searchFunc(undefined); } },[selectValueList,visible]) @@ -95,7 +100,13 @@ function ChooseMenu({ // 搜索 function changeSearchvalue(e){ setSearchValue(e.target.value); - searchFunc(e.target.value); + // searchFunc(e.target.value); + if(!e.target.value){ + setFilterMenus(menus); + return + } + let filter = menus && menus.length>0 ? menus.filter(i=>i.name.indexOf(e.target.value)>-1):[]; + setFilterMenus(filter); } function renderNames(nameArrs){ return @@ -119,7 +130,7 @@ function ChooseMenu({ {i.name} } { !colorFlag && removeFlag && removeValueFunc(i.id)}>} - { colorFlag && removeFlag && removeValueFunc(i.id)} style={{display:'block',right:"19px",position:"absolute"}}>} + { colorFlag && removeFlag && removeValueFunc(i.id)} style={{display:'block',right:"4px",position:"absolute"}}>}

) }) @@ -196,7 +207,7 @@ function ChooseMenu({ onAdd(); } return( -
  • +
  • {placeholder} { @@ -238,10 +249,10 @@ function ChooseMenu({ } { - menus && menus.length >0? + filterMenus && filterMenus.length >0? { - menus.map((i,k)=>{ + filterMenus.map((i,k)=>{ return( chooseMenu(i)}> { diff --git a/src/forge/Issues/Component/comments/list.jsx b/src/forge/Issues/Component/comments/list.jsx index 42f2bd82d..3020a260d 100644 --- a/src/forge/Issues/Component/comments/list.jsx +++ b/src/forge/Issues/Component/comments/list.jsx @@ -124,7 +124,9 @@ function IssueCommentList(props){ {/* 评论/操作日志 展示列表 */}
    - {journals && (journals.length > 0 && journals.map(item=>{return item.is_journal_detail ? (!item.closeAndSpan || item.id === item.start || open === item.start) ?
    + {journals && (journals.length > 0 && + journals.map(item=>{return item.is_journal_detail ? (!item.closeAndSpan || item.id === item.start || open === item.start) ? +
    {/* 操作日志 */}
    diff --git a/src/forge/Issues/Component/date.jsx b/src/forge/Issues/Component/date.jsx index bd4f00a9a..f8e8aa30d 100644 --- a/src/forge/Issues/Component/date.jsx +++ b/src/forge/Issues/Component/date.jsx @@ -136,7 +136,7 @@ function Date({name , today , setDate , editFlag},ref){ visible={visible} trigger={['click']} > -
  • +
  • {name} {!editFlag && setVisible(visible ? false : true)}> } diff --git a/src/forge/Issues/Component/dropMenu.jsx b/src/forge/Issues/Component/dropMenu.jsx index 962243c0a..09372dbe9 100644 --- a/src/forge/Issues/Component/dropMenu.jsx +++ b/src/forge/Issues/Component/dropMenu.jsx @@ -40,6 +40,7 @@ function DropMenu({ const refFa = useRef(null); const refBox = useRef(null); + // 根据选中的列表循环出id数组 useEffect(()=>{ if(selectValueList && selectValueList.length > 0 ){ @@ -80,7 +81,7 @@ function DropMenu({ } function chooseMenu(i){ - let list = selectValueList; + let list = selectValueList||[]; let re = []; re = list && list.length > 0 ? list:[]; let filter = []; @@ -131,7 +132,7 @@ function DropMenu({ nameArrs && nameArrs.length>0? nameArrs.map((i,k)=>{ return( -

    +

    {i.image_url && } { colorFlag ? @@ -153,7 +154,7 @@ function DropMenu({ } return( -

  • +
  • {placeholder} {!editFlag && diff --git a/src/forge/Issues/Component/menus.jsx b/src/forge/Issues/Component/menus.jsx index b5c13120a..885a413b2 100644 --- a/src/forge/Issues/Component/menus.jsx +++ b/src/forge/Issues/Component/menus.jsx @@ -62,7 +62,7 @@ function Menus({className,name, ids , lists , size , imgControl , searchFunc , c function menu(data){ return
    { size !== "small" && -
    searchFunc(e.target.value)}/>
    +
    searchFunc(e.target.value)}/>
    } { data && data.length>0 ? @@ -86,7 +86,7 @@ function Menus({className,name, ids , lists , size , imgControl , searchFunc , c
  • {showValue || (update ? `更换${name}` : name) } - +
  • ) diff --git a/src/forge/Issues/index.scss b/src/forge/Issues/index.scss index a1f4c7b80..b976ccde1 100644 --- a/src/forge/Issues/index.scss +++ b/src/forge/Issues/index.scss @@ -13,7 +13,7 @@ } .pagebox{ - width: 1200px; + width: 1400px; margin:0px auto; } // 删除issue弹框 @@ -448,69 +448,69 @@ .shortwidth{ width: 330px; padding-left: 50px; - &>li{ - border-bottom: 1px solid rgba(172, 176, 191, 0.17); - padding-bottom: 8px; - margin-bottom: 22px!important; - &>span{ - font-size: 15px; - position: relative; - color: #40424a; - display: flex; - width: 100%; +} +li.dropliComponent{ + border-bottom: 1px solid rgba(172, 176, 191, 0.17); + padding-bottom: 8px; + margin-bottom: 22px!important; + &>span{ + font-size: 15px; + position: relative; + color: #40424a; + display: flex; + width: 100%; + height: 20px; + line-height: 20px; + font-weight: 600; + a{ + position: absolute; + right: 0px; + } + } + .operatevalue{ + line-height: 30px; + color: #acb0bf; + margin-top: 10px; + display: flex; + flex-wrap: wrap; + .colorsborder{ + padding: 0px 8px; + height: 20px; + line-height: 18px; + border-radius: 4px; + text-align: center; + border:1px solid ; + font-size: 13px; + } + .colorsquare{ + padding: 0px 8px; height: 20px; line-height: 20px; - font-weight: 600; - a{ - position: absolute; - right: 0px; + border-radius: 4px; + text-align: center; + color: #fff; + font-size: 13px; + } + &>p{ + margin-top: 5px!important; + position: relative; + margin-right: 15px; + &.removeFlag>span{ + max-width: 230px; + } + .removeicon{ + display: none; } } - .operatevalue{ - line-height: 30px; - color: #acb0bf; - margin-top: 10px; - display: flex; - flex-wrap: wrap; - .colorsborder{ - padding: 0px 8px; - height: 20px; - line-height: 18px; - border-radius: 4px; - text-align: center; - border:1px solid ; - font-size: 13px; - } - .colorsquare{ - padding: 0px 8px; - height: 20px; - line-height: 20px; - border-radius: 4px; - text-align: center; - color: #fff; - font-size: 13px; - } - &>p{ - margin-top: 5px!important; - position: relative; - padding-right: 15px; - &.removeFlag>span{ - max-width: 230px; - } - .removeicon{ - display: none; - } - } - .removeFlag:hover{ - border-radius:2px; - .removeicon{ - display: block; - } - } - &>p:first-child{ - margin-top: 0px; + .removeFlag:hover{ + border-radius:2px; + .removeicon{ + display: block; } } + &>p:first-child{ + margin-top: 0px; + } } } .addTags_form{ diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index 1c29f5842..8d7b5f66c 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -931,6 +931,11 @@ class Detail extends Component { (props) => () } > + () + } + > () diff --git a/src/forge/Main/Index.scss b/src/forge/Main/Index.scss index 80ea8f306..fa0e291c3 100644 --- a/src/forge/Main/Index.scss +++ b/src/forge/Main/Index.scss @@ -119,7 +119,7 @@ } // coderDepot .Panels{ - max-width: 1200px; + max-width: 1400px; margin: 0 auto; .panelmenu{ padding-top:20px; @@ -511,7 +511,7 @@ } } .coderSubPage{ - width: 1200px; + width: 1400px; margin:0px auto; } .griditemAnchor{ diff --git a/src/forge/Main/list.scss b/src/forge/Main/list.scss index 58c122d28..ef243b342 100644 --- a/src/forge/Main/list.scss +++ b/src/forge/Main/list.scss @@ -6,7 +6,7 @@ background-color: #050d34; } .ProjectListIndex{ - width: 1200px; + width: 1400px; margin:20px auto; display: flex; align-items: flex-start; @@ -246,7 +246,7 @@ li{ text-align: center; padding:0px; - margin-right: 30px; + margin-right: 25px; display: flex; & > a{ position: relative; diff --git a/src/forge/Main/version/version.scss b/src/forge/Main/version/version.scss index ee7d527e0..3674fc88a 100644 --- a/src/forge/Main/version/version.scss +++ b/src/forge/Main/version/version.scss @@ -332,7 +332,7 @@ } .releaseIndex{ margin: 30px auto; - width: 1200px; + width: 1400px; } .emptyPanel{ width: 100%; diff --git a/src/forge/Merge/Index.scss b/src/forge/Merge/Index.scss index cdecb6987..87804df6a 100644 --- a/src/forge/Merge/Index.scss +++ b/src/forge/Merge/Index.scss @@ -111,7 +111,7 @@ } .mergeBox{ margin:0px auto; - width: 1200px; + width: 1400px; } .linetype{ width:30px; diff --git a/src/forge/Merge/MergeItem.js b/src/forge/Merge/MergeItem.js index 50d1475a3..6f2c50a5b 100644 --- a/src/forge/Merge/MergeItem.js +++ b/src/forge/Merge/MergeItem.js @@ -31,8 +31,8 @@ class MergeItem extends Component { if (issue_tags && issue_tags.length > 0) { return issue_tags.map((item, key) => { return ( - - {item.name} + + {item.name}{key ); }); @@ -166,17 +166,15 @@ class MergeItem extends Component { onMouseMove={() => this.onMouseMove(item.id)} onMouseOut={() => this.onMouseOut()} > - {item.attached_issues && item.attached_issues.length>0 && open_blockchain && -
  • - { - item.attached_issues.map((i,k)=>{ - return( - #{i.project_issues_index} - ) - }) - } -
  • - } +
  • + { + item.attached_issues && item.attached_issues.length>0 ? item.attached_issues.map((i,k)=>{ + return( + #{i.project_issues_index} + ) + }) :"--" + } +
  • {item.priority}
  • {this.set_issue_tags(item.issue_tags)}
  • diff --git a/src/forge/Merge/MergeLinkFooter.jsx b/src/forge/Merge/MergeLinkFooter.jsx index 8a8271d88..9a3e64903 100644 --- a/src/forge/Merge/MergeLinkFooter.jsx +++ b/src/forge/Merge/MergeLinkFooter.jsx @@ -6,6 +6,7 @@ import axios from 'axios'; import Commits from './Commits'; import Comments from '../comments/comments'; import Files from './Files'; +import OperateDate from './components/operateDate'; import '../Order/order.scss'; import './merge.css'; @@ -72,6 +73,8 @@ class MergeFooter extends Component { } else if (pathname.indexOf('files') > -1) { activeKey = '3'; this.getFile(owner, projectsId, mergeId); + }else if (pathname.indexOf('date') > -1) { + activeKey = '4'; } if (isTabChange && activeKey === '1') { this.refreshComment(); @@ -235,6 +238,15 @@ class MergeFooter extends Component {
  • )} + + 操作日志 + + } + key="4"> + +
    diff --git a/src/forge/Merge/MessageCount.js b/src/forge/Merge/MessageCount.js index a44ea8f76..390d5f38a 100644 --- a/src/forge/Merge/MessageCount.js +++ b/src/forge/Merge/MessageCount.js @@ -475,12 +475,12 @@ class MessageCount extends Component { {data.pr_time} { - open_blockchain && data.attached_issues && data.attached_issues.length>0 ? + data.attached_issues && data.attached_issues.length>0 ? 关联issue: { data.attached_issues.map((i,k)=>{ return( - #{i.project_issues_index} + #{i.project_issues_index} ) }) } @@ -528,7 +528,7 @@ class MessageCount extends Component { { pr_status === 2 && permission && } - {operate && ( + {(userLogin && projectDetail && (pr_status === 0 || pr_status === 1) && permission) && ( )} {cancelOperate && ( diff --git a/src/forge/Merge/UpdateMerge.js b/src/forge/Merge/UpdateMerge.js index 8117f3877..15cfe620c 100644 --- a/src/forge/Merge/UpdateMerge.js +++ b/src/forge/Merge/UpdateMerge.js @@ -75,7 +75,6 @@ class UpdateMerge extends Component {
    源分支 :
    -
    + ) +} +export default OperateDate; \ No newline at end of file diff --git a/src/forge/Merge/merge.js b/src/forge/Merge/merge.js index d8d83e155..792754483 100644 --- a/src/forge/Merge/merge.js +++ b/src/forge/Merge/merge.js @@ -1,4 +1,4 @@ -import React, { Component } from "react"; +import React, { useEffect, useState } from "react"; import { Input, Dropdown, Menu, Icon, Pagination, Spin } from "antd"; import "./merge.css"; import "../Order/order.scss"; @@ -7,6 +7,7 @@ import NoneData from "./no_data"; import MergeItem from "./MergeItem"; import './Index.scss'; import { turnbar } from "educoder"; +import Menus from '../Issues/Component/menus'; import axios from "axios"; import CheckProfile from '../Component/ProfileModal/Profile'; @@ -25,99 +26,63 @@ const { Search } = Input; * search_count:列表总条数 * issue_type:搜索条件 */ -class merge extends Component { - constructor(props) { - super(props); - this.state = { - issue_chosen: undefined, - data: undefined, - issues: undefined, - isSpin: false, - search: undefined, - author_id: undefined, - assigned_to_id: undefined, - // limit: 15, - // page: 1, - search_count: undefined, - issue_type: undefined, - status_type: "1", - //设置选择高亮 - openselect: 1, - closeselect: undefined, - issue_tag_ids: "标记", - fixed_version_ids: "里程碑", - assigned_to_ids: "审查人员", - paix: "排序", - priority_ids: "优先级", - has_created_pull_requests:false, - select_params: { - status_type: "1", //开启中和关闭中,默认为开启中的 - assigned_to_id: undefined, // 指派人 - fixed_version_id: undefined, - priority_id: undefined, - order_name: undefined, - order_type: undefined, - search: undefined, - page: 1, - limit: 15, - }, - disable_pr_vew:false //访问pr的权限 - }; - } +function merge(props){ + const [ tag , setTag ] = useState(""); + const [ tagList , setTagList ] = useState([]); + const [ millstoneList , setMillstoneList ] = useState(undefined); + const [ millstone , setMillstone ] = useState(undefined); + const [ prioritiesList , setPrioritiesList ] = useState(undefined); + const [ chargeList , setChargeList ] = useState(undefined); + const [ charge , setCharge ] = useState(undefined); + const [ data , setData ] = useState(undefined) + const [ issues , setIssues ] = useState([]) + const [ isSpin , setIsSpin ] = useState(false) + const [ search , setSearch ] = useState(undefined) + const limit = 15; + const [ page , setPage ] = useState(1) + const [ total , setTotal ] = useState(0) + const [ status_type , setStatus_type ] = useState("1")//1:开启,11:已合并,2:已拒绝 + const [ order , setOrder ] = useState({order_name:undefined,order_type:undefined}) + const [ assigned , setAssigned ] = useState({}) + const [ priority , setPriority ] = useState({}) + const [ fixed_version , setFixedVersion ] = useState({}) + const [ issue_tag , setIssueTag ] = useState({}) - componentDidMount = () => { - this.getSelectList(); - this.getIssueList(); - }; - - componentDidUpdate(){ - this.updateDocumentTitle(); - } + const { projectsId , owner } = props.match.params; + const { project , projectDetail , defaultBranch } = props; + const open_blockchain = project && project.open_blockchain; + useEffect(()=>{ + setPage(1); + getIssueList(search,1); + },[status_type,assigned,priority,fixed_version,issue_tag,order]) + // 更新网页标题 - updateDocumentTitle(){ - const {projectDetail} = this.props; + useEffect(()=>{ if(projectDetail){ const { author, name} = projectDetail; document.title = `合并请求-${author.name}/${name}`; } - } + },[projectDetail]) - getSelectList = () => { - const { projectsId,owner } = this.props.match.params; - - const url = `/${owner}/${projectsId}/issues/index_chosen.json`; - axios - .get(url) - .then((result) => { - if (result) { - this.setState({ - issue_chosen: result.data.issue_chosen, - }); - } - }) - .catch((error) => { - console.log(error); - }); - }; // 获取列表数据 - getIssueList = () => { - const { select_params } = this.state; - const { projectsId , owner } = this.props.match.params; + const getIssueList = (searchvalue,page) => { const url = `/${owner}/${projectsId}/pulls.json`; axios.get(url, { - params: select_params, + params: { + limit, + page, + search:searchvalue,status_type, + order_name:order.order_name,order_type:order.order_type, + priority_id:priority.id,assigned_to_id:assigned.id,fixed_version_id:fixed_version.id,issue_tag_id:issue_tag.id + }, }).then((result) => { if (result) { - this.setState({ - data: result.data, - issues: result.data.issues, - search_count: result.data.search_count, - isSpin: false, - has_created_pull_requests:result.data.has_created_pull_requests, - disable_pr_vew:result.data.disable_pr_vew - }); + setTotal(result.data.search_count); + setData(result.data); + setIssues(result.data.issues) + setIsSpin(false) } }) .catch((error) => { @@ -125,335 +90,404 @@ class merge extends Component { }); }; - getMenu = (e, id, name) => { - this.setState({ - isSpin: true, - }); - let key_name = e.key.split("-"); - if (key_name[0] === "created_on") { - if (e.item.props.value === "desc") { - this.setState({ - paix: "最新创建", - }); - } else { - this.setState({ - paix: "最早创建", - }); - } - this.state.select_params.order_name = e.key; - } else if (key_name[0] === "updated_on") { - if (e.item.props.value === "desc") { - this.setState({ - paix: "最新更新", - }); - } else { - this.setState({ - paix: "最早更新", - }); - } - } - this.state.select_params.order_name = key_name[0]; - this.state.select_params.order_type = e.item.props.value; - this.state.select_params.page = 1; - this.getIssueList(); - }; + // getMenu = (e, id, name) => { + // this.setState({ + // isSpin: true, + // }); + // let key_name = e.key.split("-"); + // if (key_name[0] === "created_on") { + // if (e.item.props.value === "desc") { + // this.setState({ + // paix: "最新创建", + // }); + // } else { + // this.setState({ + // paix: "最早创建", + // }); + // } + // this.state.select_params.order_name = e.key; + // } else if (key_name[0] === "updated_on") { + // if (e.item.props.value === "desc") { + // this.setState({ + // paix: "最新更新", + // }); + // } else { + // this.setState({ + // paix: "最早更新", + // }); + // } + // } + // this.state.select_params.order_name = key_name[0]; + // this.state.select_params.order_type = e.item.props.value; + // this.state.select_params.page = 1; + // this.getIssueList(); + // }; - getOption = (e, id, name) => { - this.setState({ - isSpin: true, - }); - let option_id = e.key === "all" ? undefined : e.key; - this.setState({ - ["${id}s"]: name, - }); - this.state.select_params[`${id}`] = option_id; - this.state.select_params.page = 1; - this.state[`${id}s`] = name; - this.getIssueList(); - }; + // getOption = (e, id, name) => { + // this.setState({ + // isSpin: true, + // }); + // let option_id = e.key === "all" ? undefined : e.key; + // this.setState({ + // ["${id}s"]: name, + // }); + // this.state.select_params[`${id}`] = option_id; + // this.state.select_params.page = 1; + // this.state[`${id}s`] = name; + // this.getIssueList(); + // }; - renderMenu = (array, name, id) => { - return ( - - this.getOption(e, id, name)}> - {name} - - {array && array.length > 0 && array.map((item, key) => { - return ( - ((!item.permission) || (item.permission && item.permission !== "Reporter")) && - this.getOption(e, id, item.name)}> - {item.name} - - ); - })} - - ); - }; + // renderMenu = (array, name, id) => { + // return ( + // + // this.getOption(e, id, name)}> + // {name} + // + // {array && array.length > 0 && array.map((item, key) => { + // return ( + // ((!item.permission) || (item.permission && item.permission !== "Reporter")) && + // this.getOption(e, id, item.name)}> + // {item.name} + // + // ); + // })} + // + // ); + // }; // 翻页 - ChangePage = (page) => { - this.setState({ - isSpin: true, - }); - this.state.select_params.page = page; - this.getIssueList(); + const ChangePage = (page) => { + setIsSpin(true); + setPage(page); + getIssueList(search,1); }; // 搜索 - searchFunc = (value) => { - this.setState({ - search: value, - isSpin: true, - }); - this.state.select_params.search = value; - this.state.select_params.page = 1; - this.getIssueList(); + const searchFunc = (value) => { + setIsSpin(true); + setSearch(value); + setPage(1); + getIssueList(value,1); }; - openorder = (type) => { - this.setState({ - isSpin: true, - }); - this.setState({ - status_type: type, - issue_tag_ids: "标记", - fixed_version_ids: "里程碑", - assigned_to_ids: "审查人员", - paix: "排序", - priority_ids: "优先级", - }); - this.state.select_params.status_type = type; - this.state.select_params.page=1; - this.state.select_params.limit=15; - - this.getIssueList(); + const openorder = (type) => { + setIsSpin(true); + setStatus_type(type); + setPage(1); + clearFunc(); }; - checkOperation() { - const { defaultBranch,projectDetail } = this.props; - const { projectsId,owner } = this.props.match.params; + const clearFunc=()=>{ + setAssigned({}); + setPriority({}); + setFixedVersion({}); + setIssueTag({}); + setOrder({}); + } + function checkOperation() { let branch = turnbar(defaultBranch) || "master"; if (projectDetail && projectDetail.fork_info) { - this.props.history.push(`/${projectDetail.fork_info.fork_project_user_login}/${projectDetail.fork_info.fork_project_identifier}/compare/${branch}...${owner + '/' + projectsId +':' + branch}`) + props.history.push(`/${projectDetail.fork_info.fork_project_user_login}/${projectDetail.fork_info.fork_project_identifier}/compare/${branch}...${owner + '/' + projectsId +':' + branch}`) } else { - this.props.history.push(`/${owner}/${projectsId}/compare/${branch}...${branch}`); + props.history.push(`/${owner}/${projectsId}/compare/${branch}...${branch}`); } } - render() { - const { projectsId , owner } = this.props.match.params; - const { project } = this.props; - const open_blockchain = project && project.open_blockchain; - const { - issue_chosen, - issues, - limit, - page, - search_count, - data, - isSpin, - status_type, - select_params,has_created_pull_requests,disable_pr_vew - } = this.state; - const menu = ( - this.getMenu(e)}> - - 最新创建 - - - 最早创建 - - - 最新更新 - - - 最早更新 - - - ); - return ( -
    -
    - - { - data && data.user_admin_or_developer && - this.checkOperation()}> - + 新建合并请求 - - } -
    -
    -
    -
      -
    • this.openorder(undefined)} - > - - {data && data.search_count} -
    • -
    • this.openorder("1")} - > - - - {data && data.open_count} -
    • -
    • this.openorder("11")} - > - - - {data && data.merged_issues_size} -
    • -
    • this.openorder("2")} - > - - - {data && data.close_count} -
    • -
    -
    -
      - { open_blockchain &&
    • 关联疑修
    • } -
    • - - - {this.state.priority_ids} - - - -
    • -
    • - - - {this.state.issue_tag_ids} - - - -
    • -
    • - - - {this.state.assigned_to_ids} - - - -
    • + + // 获取标记列表 + useEffect(()=>{ + getSign(); + },[tag]) -
    • - - - {this.state.fixed_version_ids} - - - -
    • + function getSign(){ + const url = `/v1/${owner}/${projectsId}/issue_tags`; + axios.get(url,{params:{keyword:tag,only_name:true}}).then(result=>{ + if(result && result.data){ + let list = [{id:-1,name:"无标记"}]; + list = [...list,...result.data.issue_tags]; + setTagList(list); + } + }) + } + // 获取里程碑列表 + useEffect(()=>{ + getMillstone(); + },[millstone]) -
    • - - - {this.state.paix} - - - + function getMillstone(){ + const url = `/v1/${owner}/${projectsId}/milestones`; + axios.get(url,{params:{keyword:millstone,only_name:true}}).then(result=>{ + if(result && result.data){ + let list = [{id:-1,name:"无里程碑"}]; + list = [...list,...result.data.milestones]; + setMillstoneList(list); + } + }) + } + // 获取优先级列表 + useEffect(()=>{ + getPriorities(); + },[]) + + function getPriorities(){ + const url = `/v1/${owner}/${projectsId}/issue_priorities`; + axios.get(url).then(result=>{ + if(result && result.data){ + setPrioritiesList(result.data.priorities); + } + }) + } + // 获取负责人列表 + useEffect(()=>{ + getCharge(); + },[charge]) + + function getCharge(){ + let list = [{id:-1,name:"未指派负责人"}]; + const url = `/v1/${owner}/${projectsId}/collaborators`; + axios.get(url,{params:{keyword:charge,only_name:true}}).then(result=>{ + if(result && result.data){ + list = [...list,...result.data.collaborators]; + setChargeList(list); + } + }) + } + const orderList=[ + {order_name:"created_on",order_type:"desc",name:"最新创建",id:"1"}, + {order_name:"created_on",order_type:"asc",name:"最早创建",id:"2"}, + {order_name:"updated_on",order_type:"desc",name:"最新更新",id:"3"}, + {order_name:"updated_on",order_type:"asc",name:"最早更新",id:"4"} + ] + return ( +
      +
      + {setSearch(e.target.value)}} + placeholder="输入关键字搜索合并请求" + style={{ width: 354 , height : 32 }} + onSearch={searchFunc} + allowClear + /> + { + (search || fixed_version.id || assigned.id || issue_tag.id || priority.id) && + {clearFunc();setSearch(undefined)}} style={{display:"flex",alignItems:"center",marginRight:"auto"}}> + 清除筛选条件 + + } + { + data && data.user_admin_or_developer && + + + 新建合并请求 + + } +
      +
      +
      +
        +
      • openorder(undefined)} + > + + {total} +
      • +
      • openorder("1")} + > + + + {data && data.open_count} +
      • +
      • openorder("11")} + > + + + {data && data.merged_issues_size} +
      • +
      • openorder("2")} + > + + + {data && data.close_count}
      +
      +
    • 关联疑修
    • + {setPriority({id:id.join(","),name});}} + /> + setTag(value)} + chooseFunc={(id,name)=>{setIssueTag({id:id.join(","),name});}} + /> + setCharge(value)} + chooseFunc={(id,name)=>{setAssigned({id:id.join(","),name});}} + /> + setMillstone(value)} + chooseFunc={(id,name)=>{setFixedVersion({id:id.join(","),name});}} + /> + {let filter=orderList.filter(i=>String(i.id)===id.join(","));setOrder(filter && filter.length>0 ? filter[0]:{});}} + /> + {/*
    • + + + {this.state.priority_ids} + + + +
    • +
    • + + + {this.state.issue_tag_ids} + + + +
    • +
    • + + + {this.state.assigned_to_ids} + + + +
    • + +
    • + + + {this.state.fixed_version_ids} + + + +
    • + +
    • + + + {this.state.paix} + + + +
    • */} +
    +
    + { data &&
    - {data && data.search_count && data.search_count > 0 ? ( + {total > 0 ? (
    ):""} - {search_count > select_params.limit ? ( + {total > limit ? (
    ) : ( "" )} - { data && data.issues && data.issues.length === 0 ? + { issues && issues.length === 0 ?
    + has_created_pull_requests={data.has_created_pull_requests} + projectsId={projectsId} + owner={owner} + defaultBranch={props && turnbar(props.defaultBranch) }/>
    :"" - }
    -
    - ); - } + } +
    + ); } export default merge; diff --git a/src/forge/Merge/merge_form.js b/src/forge/Merge/merge_form.js deleted file mode 100644 index 2525cd5f0..000000000 --- a/src/forge/Merge/merge_form.js +++ /dev/null @@ -1,456 +0,0 @@ -import React, { Component } from "react"; -import { Button, Form, Menu, Input, Select, Tag, Checkbox, Spin } from "antd"; -import axios from "axios"; - -import "../Order/order.scss"; -import "./merge.css"; -import MDEditor from "../../modules/tpm/challengesnew/tpm-md-editor"; - -const Option = Select.Option; - -class MergeForm extends Component { - constructor(props) { - super(props); - this.state = { - desc: undefined, - issue_tag_ids: undefined, - fixed_version_id: undefined, - assigned_to_id: undefined, - titledata: undefined, - isSpin: false, - mergedata: undefined, - priority_id: undefined, - title: undefined, - members: undefined, - issue_tags: undefined, - issue_versions: undefined, - issue_priories: undefined, - atWhoLoginList:undefined, - issue_lists:undefined, - issue_id:undefined, - disable_pr_vew:false//是否有权限访问pr - }; - } - - componentDidMount = () => { - // this.check_is_login(); - this.get_default_selects(); - this.set_defatul(); - this.getIssueList(); - }; - componentDidUpdate=(prevPros)=>{ - const { projectsId ,owner } = this.props.match.params; - const pId = prevPros.match.params.projectsId; - const oId = prevPros.match.params.owner; - if(pId !== projectsId || oId !== owner ){ - // console.log("切换了项目分支···········"); - this.get_default_selects(); - } - if(prevPros && this.props && !this.props.checkIfLogin()){ - this.props.history.push("/403") - return - } - } - - getIssueList=()=>{ - const { projectsId ,owner } = this.props.match.params; - const url = `/v1/${owner}/${projectsId}/issues`; - axios.get(url,{ - params:{ - only_name:true - } - }).then(result=>{ - if(result && result.data){ - this.setState({ - issue_lists:result.data.issues - }) - } - }) - } - - get_default_selects = () => { - const { projectsId ,owner } = this.props.match.params; - this.setState({ isSpin: true }); - axios - .get(`/${owner}/${projectsId}/pulls/create_merge_infos.json`) - .then((result) => { - if (result) { - this.setState({ - members: result.data.members, - issue_tags: result.data.issue_tags, - issue_versions: result.data.issue_versions, - issue_priories: result.data.issue_priories, - disable_pr_vew:result.data.disable_pr_vew - }); - } - this.setState({ isSpin: false }); - }) - .catch((error) => { - this.setState({ isSpin: false }); - console.log(error); - }); - }; - set_defatul = () => { - const { data, merge_type } = this.props; - if (data && merge_type === "edit") { - this.setState({ - desc: data.body, - issue_tag_ids: data.issue_tag_ids ? data.issue_tag_ids[0] : undefined, - fixed_version_id: data.fixed_version_id ? String(data.fixed_version_id) : undefined, - assigned_to_id: data.assigned_to_id ? String(data.assigned_to_id) : undefined, - priority_id: data.priority_id ? String(data.priority_id) :undefined, - issue_id:data.attached_issues && data.attached_issues.length>0 ? String(data.attached_issues[0].id) :undefined, - title: data.title, - },()=>{ - this.InitData(); - }); - } - }; - InitData = () => { - console.log(this.state.issue_id); - this.props.form.setFieldsValue({ - ...this.state, - }); - }; - - onPanelChange = (time, mode) => { - this.setState({ - value: time, - }); - }; - - onSelect = (time) => { - this.setState({ - value: time, - selectedValue: time, - }); - }; - - renderMenu = (array, id) => { - return ( - - {array && - array.length > 0 && - array.map((item, key) => { - return ( - this.getOption(item, id)}> - {item} - - ); - })} - - ); - }; - - renderSelect = (list) => { - if (list && list.length > 0) { - return list.map((item, key) => { - return ( - - ); - }); - } - }; - - //创建合并请求 - - handleSubmit = () => { - this.setState({ - isSpin: true, - }); - this.props.form.validateFieldsAndScroll((err, values) => { - if (!err) { - const { projectsId, mergeId , owner } = this.props.match.params; - const { merge, pull, merge_type, data , commits_count , files_count } = this.props; - if (values.issue_tag_ids && values.issue_tag_ids.length > 0) { - values.issue_tag_ids = [parseInt(values.issue_tag_ids)]; - } else { - values.issue_tag_ids = []; - } - const { desc , atWhoLoginList , disable_pr_vew } = this.state; - if (merge_type === "new") { - let url = `/${owner}/${projectsId}/pulls.json`; - axios.post(url, { - ...values, - body: desc, - head: pull, - base: merge, - is_original: data && data.is_original, - fork_project_id: data && data.fork_project_id, - merge_user_login: data && data.merge_user_login, - merge_project_identifier:data && data.merge_project_identifier, - files_count, - commits_count, - receivers_login:atWhoLoginList, - attached_issue_ids:values.issue_id ? [values.issue_id] :undefined - }) - .then((result) => { - if (result) { - this.setState({ - isSpin: false, - }); - const { pull_request_number } = result.data; - this.props.history.push({pathname: disable_pr_vew ? `/${owner}/${projectsId}/pulls`:`/${owner}/${projectsId}/pulls/${pull_request_number}`, query:{showNps: true}}); - const { getDetail } = this.props; - getDetail && getDetail(); - } else { - this.setState({ - isSpin: false, - }); - } - }) - .catch((error) => { - this.setState({ - isSpin: false, - }); - }); - } else { - let url = `/${owner}/${projectsId}/pulls/${mergeId}.json`; - axios - .put(url, { - ...values, - body: desc, - head: pull, - base: merge, - receivers_login:atWhoLoginList, - attached_issue_ids:values.issue_id ? [values.issue_id] :undefined - }) - .then((result) => { - if (result) { - this.setState({ - isSpin: false, - }); - // , query:{showNps: true} - this.props.history.push({pathname: `/${owner}/${projectsId}/pulls/${mergeId}`}); - } else { - this.setState({ - isSpin: false, - }); - } - }) - .catch((error) => { - this.setState({ - isSpin: false, - }); - console.log(error); - }); - } - } else { - this.setState({ - isSpin: false, - }); - } - }); - }; - - onContentChange = (value) => { - this.setState({ - desc: value, - }); - }; - - //合并请求中at谁列表(存储:login) - changeAtWhoLoginList = (loginList) =>{ - this.setState({ - atWhoLoginList:loginList, - }); - }; - - render() { - const { merge_type , project } = this.props; - const open_blockchain = project && project.open_blockchain; - const { getFieldDecorator } = this.props.form; - const { projectsId, mergeId ,owner } = this.props.match.params; - const { - issue_tag_ids, - fixed_version_id, - assigned_to_id, - priority_id, - desc, - isSpin, - title, - members, - issue_tags, - issue_versions, - issue_priories, - issue_lists, - issue_id - } = this.state; - return ( -
    - -
    - - {merge_type === "new" ? "新建" : "编辑"}合并请求: - - - 可合并的 - -
    -
    -
    -
    - - {getFieldDecorator("title", { - rules: [ - { - required: true, - message: "请填写请求标题", - }, - ], - initialValue: title, - })()} - -
    - -
    -

    - - -

    -
    -
    -
    - - {getFieldDecorator("assigned_to_id", { - initialValue: assigned_to_id, - })( - - )} - - - {getFieldDecorator("fixed_version_id", { - initialValue: fixed_version_id, - })( - - )} - - - {getFieldDecorator("issue_tag_ids", { - initialValue: issue_tag_ids, - })( - - )} - - - {getFieldDecorator("priority_id", { - initialValue: priority_id, - })( - - )} - - - {getFieldDecorator("issue_id", { - initialValue: issue_id, - })( - - )} - - {/* - {getFieldDecorator("checkbox-group")( - -
    - 必须审查代码 -
    -
    - 合并后删除提交分支 -
    -
    - 合并后关闭提到的任务 -
    -
    - )} -
    */} -
    -
    -
    -
    -
    -
    - ); - } -} -const WrappedNewMerge = Form.create({ name: "NewMergeForm" })(MergeForm); -export default WrappedNewMerge; diff --git a/src/forge/Merge/merge_form.jsx b/src/forge/Merge/merge_form.jsx new file mode 100644 index 000000000..f10c54b34 --- /dev/null +++ b/src/forge/Merge/merge_form.jsx @@ -0,0 +1,335 @@ +import React, { useEffect, useState } from "react"; +import { Button, Form, Menu, Input, Select, Tag, Spin } from "antd"; +import axios from "axios"; +import ChooseMenu from '../Issues/Component/chooseMenu'; +import DropMenu from '../Issues/Component/dropMenu'; +import "../Order/order.scss"; +import "./merge.css"; +import MDEditor from "../../modules/tpm/challengesnew/tpm-md-editor"; + +const Option = Select.Option; + +function MergeForm(props){ + const [ desc , setDesc ] = useState(undefined); + const [issue_tag_ids , setIssueTagIds] = useState(undefined); + const [fixed_version_id , setFixedVersionId] = useState(undefined); + const [assigned_to_id , setAssignedToId] = useState(undefined); + const [isSpin , setIsSpin ] = useState(false); + const [priority_id, setPriorityId] = useState(undefined); + const [title,setTitle] = useState(undefined); + const [members,setMembers] = useState(undefined); + const [ copymembers,setCopyMembers ] = useState(undefined); + const [ memberSearch , setMemberSearch ] = useState(undefined); + const [issue_tags,setIssueTags] = useState(undefined); + const [copyIssueTags,setCopyIssueTags] = useState(undefined); + const [issue_versions,setIssueVersions] = useState(undefined); + const [copyissueVersions,setCopyissueVersions] = useState(undefined); + const [ versionSearch , setVersionSearch ] = useState(undefined); + const [ tagSearch ,setTagSearch ] = useState(undefined); + const [ issueSearch ,setIssueSearch ] = useState(undefined); + const [issue_priories,setIssuePriories] = useState(undefined); + const [atWhoLoginList,setAtWhoLoginList] = useState(undefined); + const [issue_lists,setIssuelists] = useState(undefined); + const [copyIssueLists,setCopyIssueLists] = useState(undefined); + const [issue_id,setIssueId] = useState(undefined); + const [disable_pr_vew,setDisableprview] = useState(undefined); + const { projectsId, mergeId ,owner } = props.match.params; + const { checkIfLogin , form , merge_type , project ,data , merge , files_count , commits_count ,pull } = props; + const open_blockchain = project && project.open_blockchain; + const permission = props && props.projectDetail && props.projectDetail.permission; + const { getFieldDecorator } = props.form; + + useEffect(()=>{ + getIssueList(); + },[]) + + useEffect(()=>{ + if(!checkIfLogin()){ + props.history.push("/403"); + return + } + get_default_selects(); + },[projectsId,owner]) + + const getIssueList=()=>{ + const url = `/v1/${owner}/${projectsId}/issues`; + axios.get(url,{ + params:{ + only_name:true + } + }).then(result=>{ + if(result && result.data){ + let data = result.data.issues; + data = data && data.length>0 ? data.map(i=>{return {id:i.id,name:i.subject}}) :[] + setIssuelists(data); + setCopyIssueLists(data); + } + }) + } + // 各下拉搜索字段 + useEffect(()=>{ + if(memberSearch){ + let filter = copymembers.filter(i=>i.name.indexOf(memberSearch)>-1); + setMembers(filter); + }else{ + setMembers(copymembers) + } + if(versionSearch){ + let filter = copyissueVersions.filter(i=>i.name.indexOf(versionSearch)>-1); + setIssueVersions(filter); + }else{ + setIssueVersions(copyissueVersions) + } + if(tagSearch){ + let filter = copyIssueTags.filter(i=>i.name.indexOf(tagSearch)>-1); + setIssueTags(filter); + }else{ + setIssueTags(copyIssueTags) + } + if(issueSearch){ + let filter = copyIssueLists.filter(i=>i.name.indexOf(issueSearch)>-1); + setIssuelists(filter); + }else{ + setIssuelists(copyIssueLists) + } + },[memberSearch,versionSearch,tagSearch,issueSearch]) + + function get_default_selects(){ + setIsSpin(true); + axios.get(`/${owner}/${projectsId}/pulls/create_merge_infos.json`).then((result) => { + if (result && result.data) { + setIssueTags(result.data.issue_tags); + setCopyIssueTags(result.data.issue_tags); + setIssueVersions(result.data.issue_versions); + setCopyissueVersions(result.data.issue_versions); + setDisableprview(result.data.disable_pr_vew); + + let priorities = result.data.issue_priories; + let array =[]; + let colors = ["#1abcb1","#28be6c","#e67e22","#db3d1d"]; + if(priorities && priorities.length>0){ + array = priorities.map((i,k)=>{ + let arr = {...i,color:colors[k]} + return arr; + }) + } + setIssuePriories(array); + let mem = result.data.members; + mem = mem && mem.length > 0 && mem.map(i=>{return {...i,image_url:i.avatar_url}}); + setMembers(mem); + setCopyMembers(mem); + if (data && merge_type === "edit") { + set_defatul(result.data.issue_tags,mem,array,result.data.issue_versions); + } + } + setIsSpin(false); + }).catch((error) => { + setIsSpin(false) + }); + }; + function set_defatul(tag,member,priority,version){ + setDesc(data.body); + setIssueTagIds(tag.filter(i=>data.issue_tag_ids.includes(String(i.id)))); + setFixedVersionId(version.filter(i=>String(i.id)===String(data.fixed_version_id))); + setAssignedToId(member.filter(i=>String(i.id)===String(data.assigned_to_id))); + setPriorityId(priority.filter(i=>String(i.id)===String(data.priority_id))); + let issues = data.attached_issues && data.attached_issues.length>0?data.attached_issues.map((i)=>{return {id:i.id,name:i.subject}}):[] + setIssueId(issues); + setTitle(data.title); + form.setFieldsValue({title:data.title}) + }; + + //创建合并请求 + const handleSubmit = () => { + setIsSpin(true); + form.validateFieldsAndScroll((err, values) => { + if (!err) { + let params={ + priority_id:priority_id ? priority_id.map(i=>i.id).join(",") : "", + issue_tag_ids:issue_tag_ids ? issue_tag_ids.map(i=>i.id) : "", + fixed_version_id:fixed_version_id ? fixed_version_id.map(i=>i.id).join(",") : "", + assigned_to_id:assigned_to_id ? assigned_to_id.map(i=>i.id).join(",") : "", + } + if (merge_type === "new") { + let url = `/${owner}/${projectsId}/pulls.json`; + axios.post(url, { + ...values, + ...params, + body: desc, + head: pull, + base: merge, + is_original: data && data.is_original, + fork_project_id: data && data.fork_project_id, + merge_user_login: data && data.merge_user_login, + merge_project_identifier:data && data.merge_project_identifier, + files_count, + commits_count, + receivers_login:atWhoLoginList, + attached_issue_ids:issue_id && issue_id.length > 0 ? issue_id.map(i=>i.id) :[] + }) + .then((result) => { + if (result) { + setIsSpin(false); + const { pull_request_number } = result.data; + props.history.push({pathname: disable_pr_vew ? `/${owner}/${projectsId}/pulls`:`/${owner}/${projectsId}/pulls/${pull_request_number}`, query:{showNps: true}}); + const { getDetail } = props; + getDetail && getDetail(); + } else { + setIsSpin(false); + } + }).catch((error) => { + setIsSpin(false); + }); + } else { + let url = `/${owner}/${projectsId}/pulls/${mergeId}.json`; + axios + .put(url, { + ...values, + ...params, + body: desc, + head: pull, + base: merge, + receivers_login:atWhoLoginList, + attached_issue_ids:issue_id && issue_id.length > 0 ? issue_id.map(i=>i.id) :[] + }) + .then((result) => { + if (result) { + setIsSpin(false); + props.history.push({pathname: `/${owner}/${projectsId}/pulls/${mergeId}`}); + } else { + setIsSpin(false) + } + }).catch((error) => { + setIsSpin(false) + }); + } + } else { + setIsSpin(false) + } + }); + }; + + const onContentChange = (value) => { + setDesc(value) + }; + + //合并请求中at谁列表(存储:login) + const changeAtWhoLoginList = (loginList) =>{ + setAtWhoLoginList(loginList) + }; + + return ( +
    + +
    + + {merge_type === "new" ? "新建" : "编辑"}合并请求: + + + 可合并的 + +
    +
    +
    +
    + + {getFieldDecorator("title", { + rules: [ + { + required: true, + message: "请填写请求标题", + }, + ], + initialValue: title, + })()} + +
    + +
    +

    + + +

    +
    +
    +
    + {setMemberSearch(value)}} + headImg + selectValueList={assigned_to_id} + chooseFunc={(list)=>{setAssignedToId(list);}} + removeFlag + /> + {setVersionSearch(value)}} + selectValueList={fixed_version_id} + chooseFunc={(list)=>{setFixedVersionId(list);}} + /> + {setTagSearch(value)}} + selectValueList={issue_tag_ids} + chooseFunc={(list)=>{setIssueTagIds(list);}} + colorFlag="2" + removeFlag + double={3} + onAdd={permission && permission !== "Reporter" ? ()=>{getSign();} :false} + owner={owner} + projectsId={projectsId} + /> + {setPriorityId(list);}} + /> + {setIssueSearch(value)}} + selectValueList={issue_id} + chooseFunc={(list)=>{setIssueId(list);}} + /> +
    +
    +
    +
    +
    +
    + ); +} +export default Form.create({ name: "NewMergeForm" })(MergeForm); diff --git a/src/forge/New/Index.js b/src/forge/New/Index.js index c0ff747e4..9fc55de35 100644 --- a/src/forge/New/Index.js +++ b/src/forge/New/Index.js @@ -606,7 +606,7 @@ class Index extends Component { {getFieldDecorator('repository_name', { rules: [{ required: true, message: '请填写项目标识' - }], + },{pattern: /^(?!.*\.git$).*$/, message: `项目标识不能以.git结尾`}], })( )} diff --git a/src/forge/Order/order.scss b/src/forge/Order/order.scss index 912ce6e80..aefa4a333 100644 --- a/src/forge/Order/order.scss +++ b/src/forge/Order/order.scss @@ -172,6 +172,27 @@ display: flex; flex-wrap: wrap; align-items: center; + li{ + min-width: 88px; + display: flex!important; + justify-content: flex-end; + cursor: default; + margin-left: 12px; + color: #898d9d; + &.minwidth { + min-width: 70px; + } + } + .dropspan{ + display: flex; + align-items: center; + cursor: pointer; + } + .dropspan > span { + max-width: 80px; + display: inline-block; + text-align: right; + } } .topWrapper .ant-btn.ant-input-search-button { height: 30px; @@ -187,22 +208,13 @@ .topWrapper_select.wrapperStyle li{ width:90px; } -.topWrapper_select li { - text-align: center; - cursor: pointer; - color: #666; - width: 86px; - text-align: center; - display: inline-block; - overflow: hidden; - white-space: nowrap; - -o-text-overflow: ellipsis; - text-overflow: ellipsis; -} -.topWrapper_select li:active { - background: #f4f4f4; - border-radius: 4px; +.topWrapper_select{ + padding-right: 20px; } +// .topWrapper_select li:active { +// background: #f4f4f4; +// border-radius: 4px; +// } .no-cursor li { cursor: default !important; } diff --git a/src/forge/Settings/Setting.js b/src/forge/Settings/Setting.js index ef3c7c95b..939d7bcb6 100644 --- a/src/forge/Settings/Setting.js +++ b/src/forge/Settings/Setting.js @@ -357,8 +357,9 @@ class Setting extends Component { rules: [ { required: true, - message: "请输入项目标识", + message: "请输入项目标识", }, + {pattern: /^(?!.*\.git$).*$/, message: `项目标识不能以.git结尾`} ], })( diff --git a/src/forge/css/index.scss b/src/forge/css/index.scss index c4d4c07ed..e19bf7acf 100644 --- a/src/forge/css/index.scss +++ b/src/forge/css/index.scss @@ -56,7 +56,7 @@ ul,ol,dl{ text-align: right; } .main{ - width: 1200px; + width: 1400px; padding:20px; margin:20px auto; background: #fff; @@ -67,7 +67,7 @@ ul,ol,dl{ border-radius: 2px; } .normal{ - width: 1200px; + width: 1400px; margin:0px auto; } /* 背景色 */ @@ -406,24 +406,6 @@ button.btngrey{ } } -.newContainer { - .newTab,.newBtn { - position: relative; - } - .newBtnImg { - background-image: url('../Images/newIcon.svg'); - background-size: 100% 100%; - width: 29px; - height: 13px; - position: absolute; - right: -14px; - top: -7px; - } - .newTab .newBtnImg { - right: -19px; - } -} - // 操作按钮-蓝色 .operateButton{