diff --git a/public/css/iconfont.css b/public/css/iconfont.css index 4498c693a..faec9e742 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=1630632852475') format('woff2'), - url('iconfont.woff?t=1630632852475') format('woff'), - url('iconfont.ttf?t=1630632852475') format('truetype'); + src: url('iconfont.woff2?t=1630894072659') format('woff2'), + url('iconfont.woff?t=1630894072659') format('woff'), + url('iconfont.ttf?t=1630894072659') format('truetype'); } .iconfont { diff --git a/src/forge/Head/Header.js b/src/forge/Head/Header.js index be36d6dbd..912b8b4ee 100644 --- a/src/forge/Head/Header.js +++ b/src/forge/Head/Header.js @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import AccountProfile from "../../modules/user/AccountProfile"; import { getImageUrl } from 'educoder' import axios from 'axios'; -import { Input , notification , Dropdown , Menu } from 'antd'; +import { Input , notification , Dropdown , Menu,Badge, Button } from 'antd'; import { Link } from 'react-router-dom'; import LoginDialog from '../../modules/login/LoginDialog'; @@ -255,6 +255,26 @@ class NewHeader extends Component { ) } + + messageList=()=>{ + return( +
+ ) + } + renderMenu=(personal)=>{ const { current_user } = this.props; return( @@ -435,14 +455,17 @@ class NewHeader extends Component { :"" } - {this.props.user && this.props.user.login && notice_url ? + {/* {this.props.user && this.props.user.login && notice_url ? */} + {this.props.user && this.props.user.login ? :"" } diff --git a/src/forge/Head/header.scss b/src/forge/Head/header.scss index fc8ca9d62..12aa417af 100644 --- a/src/forge/Head/header.scss +++ b/src/forge/Head/header.scss @@ -26,6 +26,22 @@ border-radius: 50%; margin-left: 30px; } + +.messageHoverDiv{ + padding: 20px 17px 13px; + width: 386px; + min-height: 294px; + background: #FFFFFF; + box-shadow: 0px 4px 8px 2px rgba(212,212,212,0.5); + border-radius: 4px; + border: 1px solid red; + + .buttom{ + display: flex; + justify-content: space-between; + } +} + .currentMenu{ width: 120px; text-align: center; diff --git a/src/forge/SecuritySetting/Index.jsx b/src/forge/SecuritySetting/Index.jsx index d9d4e49c2..edbd763f3 100644 --- a/src/forge/SecuritySetting/Index.jsx +++ b/src/forge/SecuritySetting/Index.jsx @@ -14,6 +14,16 @@ import { Link } from 'react-router-dom'; import './Index.scss'; +const MyNoticeIndex = Loadable({ + loader: () => import("./notice/myNotice/Index"), + loading: Loading, +}); + +const NoticeManager = Loadable({ + loader: () => import("./notice/manager/Index"), + loading: Loading, +}); + const SSHNew = Loadable({ loader: () => import("./sub/New"), loading: Loading, @@ -39,18 +49,35 @@ function Index(props){