diff --git a/src/AppConfig.js b/src/AppConfig.js index bbdceb02..7d2e1e92 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -25,7 +25,7 @@ if (isDev) { } debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' : window.location.search.indexOf('debug=s') !== -1 ? 'student' : - window.location.search.indexOf('debug=a') !== -1 ? 'a' : parsed.debug || 'a' + window.location.search.indexOf('debug=a') !== -1 ? 'a' : parsed.debug || 'admin' } window._debugType = debugType; export function initAxiosInterceptors(props) { diff --git a/src/forge/Index.js b/src/forge/Index.js index dc4bb870..062a03dd 100644 --- a/src/forge/Index.js +++ b/src/forge/Index.js @@ -11,6 +11,7 @@ import "./css/index.scss"; import Loadable from "react-loadable"; import Loading from "../Loading"; import { ImageLayerOfCommentHOC } from "../modules/page/layers/ImageLayerOfCommentHOC"; +import Handbook from "./Component/Handbook"; const ProjectNew = Loadable({ @@ -40,6 +41,7 @@ class Index extends Component { return (
+ { }) } @@ -141,7 +141,7 @@ class Index extends Component { this.setState({ typeList: list.map((item, key) => { return ( -
  • this.changeType(`${item.id}`, list)}> +
  • this.changeType(`${item.id}`, list)}>

    {item.name} {item.projects_count} @@ -175,7 +175,7 @@ class Index extends Component { name:'全部类别', id:0, }); - this.setCategoryList(result.data, undefined); + this.setCategoryList(result.data, 0); } }).catch((error) => { }) } @@ -184,7 +184,7 @@ class Index extends Component { this.setState({ categoryList: list.map((item, key) => { return ( -

  • this.changeCategory(`${item.id}`, list)}> +
  • this.changeCategory(`${item.id}`, list)}>

    {item.name} {item.projects_count} diff --git a/src/forge/Main/list.scss b/src/forge/Main/list.scss index 67ee90b0..a7a2ab44 100644 --- a/src/forge/Main/list.scss +++ b/src/forge/Main/list.scss @@ -66,6 +66,9 @@ } .list-r-Search{ width: 400px; + .ant-input:hover{ + border-color: #4154f1; + } } .padding0-25{ padding:0px 25px; diff --git a/src/forge/Settings/Setting.js b/src/forge/Settings/Setting.js index 878ac19f..0763d78f 100644 --- a/src/forge/Settings/Setting.js +++ b/src/forge/Settings/Setting.js @@ -14,7 +14,7 @@ const menu = [ {name:"代码库",index:"code"}, {name:"疑修 (Issue)",index:"issues"}, {name:"合并请求 (PR)",index:"pulls"}, - {name:"引擎 (Engine)",index:"devops"}, + // {name:"引擎 (Engine)",index:"devops"}, // {name:"资源库",index:"resources"}, {name:"里程碑",index:"versions"}, {name:"维基 (Wiki)",index:"wiki"}, diff --git a/src/forge/css/index.scss b/src/forge/css/index.scss index 29bf1865..4bde40a9 100644 --- a/src/forge/css/index.scss +++ b/src/forge/css/index.scss @@ -273,7 +273,7 @@ form{ width: 6px; content: ''; height: 33px; - background: #1484EF; + background: #4154f1; } .MenuTitle{ font-size: 16px; @@ -291,10 +291,10 @@ form{ cursor: pointer; } span:hover{ - color: #1484EF; + color: #4154f1; .iconfont{ - color: #1484EF !important; + color: #4154f1 !important; } } }