diff --git a/src/App.css b/src/App.css index 2abbaf5e1..9b0b3741f 100644 --- a/src/App.css +++ b/src/App.css @@ -1,3 +1,4 @@ +@import url(./font/font.css); .App { text-align: center; } diff --git a/src/App.js b/src/App.js index 10988cae7..6377ab24d 100644 --- a/src/App.js +++ b/src/App.js @@ -112,7 +112,7 @@ const Relaction = Loadable({ loading: Loading, }); const LoginRegisterPage = Loadable({ - loader: () => import("./modules/loginRegister/LoginRegisterPage"), + loader: () => import("./modules/loginRegister/LoginRegisterPageNew"), loading: Loading, }); diff --git a/src/font/font.css b/src/font/font.css new file mode 100644 index 000000000..c9a06976c --- /dev/null +++ b/src/font/font.css @@ -0,0 +1,5 @@ +/* 导航栏 */ +@font-face { + font-family: "YouSheBiaoTiHei"; + src: url('./youshebiaotihei-2-webfont.woff2'); +} \ No newline at end of file diff --git a/src/font/youshebiaotihei-2-webfont.woff2 b/src/font/youshebiaotihei-2-webfont.woff2 new file mode 100644 index 000000000..b9d9abd7a Binary files /dev/null and b/src/font/youshebiaotihei-2-webfont.woff2 differ diff --git a/src/forge/Activity/ActivityItem.js b/src/forge/Activity/ActivityItem.js index 19ce15366..d82dff5c1 100644 --- a/src/forge/Activity/ActivityItem.js +++ b/src/forge/Activity/ActivityItem.js @@ -2,6 +2,7 @@ import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import './activity.css'; import { getImageUrl } from 'educoder'; +import { truncateCommitId } from "../common/util"; class ActivityItem extends Component { @@ -25,9 +26,16 @@ class ActivityItem extends Component { {item.trend_type}
: + // 如果是commit--CommitLog + item.trend_type === "CommitLog" ? ++ {item.name} + {item.trend_type} +
+ : // 如果是合并请求- {item.name} + {item.name} {item.trend_type}
} diff --git a/src/forge/Head/Header.js b/src/forge/Head/Header.js index 70a9d681d..8a578834e 100644 --- a/src/forge/Head/Header.js +++ b/src/forge/Head/Header.js @@ -12,6 +12,7 @@ import { getOrzCompanyList } from '../../forge/Information/api'; import AddProjectModal from './AddProjectModal'; import '../../modules/tpm/TPMIndex.css'; import CheckProfile from '../Component/ProfileModal/Profile'; +import logo from './img/logo.png' import './header.scss'; const { SubMenu } = Menu @@ -334,6 +335,11 @@ class NewHeader extends Component { return (文件加载中...
}- {item.type===2 ? "+" : item.type===3 ? "-" :""} - { (item.type===3 || item.type===2) ? subStrContent(item.content) : item.content} -
-文件加载中...
} +文件加载中...
} +欢迎登录 群智开发
+{message}
++ //
+ // 快速登录 + // {setting.third_party_new.map((item,key)=>{ + // return( + // + //欢迎注册 群智开发
+{mess}
+{mess}
+