+ :
+
{/* 系统通知 */}
{noticeType === "0" ?
: ""}
{noticeType === "0" ?
: ""}
{noticeType === "2" ?

: ""}
-
你关注的仓库王涛/协同案例分析已被删除
+
你关注的仓库王涛/协同案例分析已被删除
-
+
1小时前
-
标记为已读 {noticeType==="0"?"":
删除}
+
标记为已读 {noticeType === "0" ? "" :
删除}
}
diff --git a/src/forge/SecuritySetting/notice/myNotice/Index.scss b/src/forge/SecuritySetting/notice/myNotice/Index.scss
index d4773048f..6b8afdd87 100644
--- a/src/forge/SecuritySetting/notice/myNotice/Index.scss
+++ b/src/forge/SecuritySetting/notice/myNotice/Index.scss
@@ -2,23 +2,29 @@
padding:0 10px 0px 0px !important;
.ant-badge{
font-size: 16px;
- font-weight: 500;
+ color: #333333;
}
.ant-menu-item{
padding:0px;
- margin-right:50px!important;
+ // margin-right:34px!important;
height: 34px;
+ width: 64px;
+ text-align: center;
line-height: 0px;
position: relative;
}
+ #item{
+ margin: 0 34px !important;
+ }
+
li.ant-menu-item, .ant-menu-horizontal > .ant-menu-item {
border-bottom: 0px;
}
.ant-menu-item-selected{
color: #333333 !important;
- font-weight: 700;
+ font-weight: 600;
border-bottom: 2px solid #2A61FF !important;
}
@@ -43,6 +49,7 @@ button {
background: #FAFBFC;
border: 1px solid #D0D0D0;
border-radius: 4px;
+ height: 32px;
}
button:hover {
background: #F3F4F6;
@@ -57,17 +64,17 @@ button:active {
.deleteBut:hover{
background: #DF0002;
+ border: 1px solid #DF0002;
color:#FFFFFF;
}
.deleteBut:active{
background: #CE0002;
+ border: 1px solid #CE0002;
color:#FFFFFF;
}
-.content {
- display: flex;
- align-items: center;
+.mynotice-content {
justify-content: space-between;
padding: 15px 0 15px 10px;
border-bottom: 1px solid #EEEEEE;
@@ -104,9 +111,8 @@ button:active {
// margin-right: 10px;
}
- .cont{
- display: flex;
- align-items: center;
+ .mynotice-cont{
+ padding:0;
}
}
@@ -137,24 +143,45 @@ button:active {
line-height: 16px;
}
-.right {
+.private-letter-right {
flex: auto;
margin: 0px 10px;
-}
-
-.right div {
- display: flex;
- justify-content: space-between;
-
- span{
- max-width: 640px;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
+ & div{
+ display: flex;
+ justify-content: space-between;
}
}
-.highlightSpan:hover{
+.highlightSpan{
+ &:hover{
+ color: #466AFF;
+ cursor: pointer;
+ }
+}
+
+.letter-length-limit{
+ max-width: 50rem;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+
+.sysNotice-length{
+ max-width: 52rem;
+}
+
+.at-length{
+ max-width: 48rem;
+}
+#numberSpan{
color: #466AFF;
}
+.vertical-center-style{
+ display: flex;
+ align-items: center;
+}
+
+.float-left-little{
+ margin-right: 10px;
+}
\ No newline at end of file
diff --git a/src/forge/SecuritySetting/notice/privateLetter/Index.jsx b/src/forge/SecuritySetting/notice/privateLetter/Index.jsx
new file mode 100644
index 000000000..be5b1bb36
--- /dev/null
+++ b/src/forge/SecuritySetting/notice/privateLetter/Index.jsx
@@ -0,0 +1,82 @@
+import React, { useState, useEffect } from 'react';
+import './Index.scss'
+import '../manager/Index.scss'
+import { Button, Input, Icon, Badge } from 'antd';
+
+function PrivateLetter(props){
+
+ const { TextArea,Search } = Input;
+
+ function deleteNotice(){
+ alert("删除消息");
+ }
+
+ return(
+
+
+
+
+
+

+
+
+ 嗨在吗?哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
+
删除
+
+
2021-08-29 11:59
+
+
+
+

+
+
+ 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
+
删除
+
+
2021-08-29 11:59
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+ }
+ onSearch={value => console.log(value)}
+ style={{ width: 265 }}
+ />
+
+
+
+

+
+
+ 蒋宇航
+ 4分钟前
+
+
+
最好的OpenStack控制台,对标OpenStack社区Horizon项目,在易用性、页面性能等方面进行深度优化,提供简单控制台。
+
删除
+
+
+
+
+
+
+ )
+}
+export default PrivateLetter;
\ No newline at end of file
diff --git a/src/forge/SecuritySetting/notice/privateLetter/Index.scss b/src/forge/SecuritySetting/notice/privateLetter/Index.scss
new file mode 100644
index 000000000..0ac006bd9
--- /dev/null
+++ b/src/forge/SecuritySetting/notice/privateLetter/Index.scss
@@ -0,0 +1,181 @@
+.private-letter{
+ border-radius: 4px 4px 0px 0px;
+ border: 1px solid rgba(151, 151, 151, 0.24);
+ display: flex;
+}
+
+.pl-content{
+ flex: auto;
+ .pl-name{
+ height: 3rem;
+ // padding-left: 26px;
+ border-bottom: 1px solid #EEEEEE;
+
+ &>a{
+ position: relative;
+ left: 26px;
+ }
+ span{
+ font-size: 16px;
+ font-weight: 600;
+ color: #333333;
+ flex: auto;
+ text-align: center;
+ }
+ }
+ .plcontent-list{
+ height: 24rem;
+ padding:25px;
+ overflow-y: scroll;
+
+ .plclo{
+ margin-bottom: 30px;
+ }
+
+ .notice-my{
+ flex-direction: row-reverse;
+
+ & .pld01{
+ left: 0;
+ }
+ }
+
+ & .notice-content{
+ padding:8px 10px;
+ background: #F4F4F4;
+ border-radius:5px;
+ position: relative;
+ max-width: 20rem;
+
+ .pld01{
+ display: none;
+
+ }
+ &:hover .pld01{
+ display: block;
+ position: absolute;
+ right: 0;
+ bottom: -2em;
+ color: #999999;
+ font-size: 12px;
+ &:hover{
+ color: #666666;
+ }
+ }
+ }
+
+ & .message-bubble{
+ position:relative;
+ width:0;
+ height:0;
+ font-size:0;
+ border:solid 8px;
+ border-color:#FFFFFF #FFFFFF #FFFFFF #F4F4F4;
+ }
+
+ & .mb-other{
+ border-color:#FFFFFF #F4F4F4 #FFFFFF #FFFFFF;
+ }
+
+ & span{
+ margin: 0 10px;
+ font-size: 12px;
+ color: #999999;
+ line-height: 17px;
+ }
+ }
+ .private-letter-present{
+ padding:20px 28px;
+ & div{
+ display: flex;
+ align-items: center;
+ justify-content: flex-end;
+ flex: auto;
+ }
+ .private-letter-cont-mt25{
+ margin-top: 8px;
+ padding:0 22px;
+ // background-color: #2A61FF;
+ // color: #fff;
+ // border-color: #2A61FF;
+ // &:hover,&:focus,&:active{
+ // background-color: #4a76f8;
+ // border-color: #4a76f8;
+ // }
+ }
+
+ .private-letter-cont, .private-letter-cont .ant-input-suffix{
+ background-color: #F4F4F4 !important;
+ margin-left: 17px;
+ }
+ .private-letter-cont:hover,.private-letter-cont:focus {
+ background-color: #F4F4F4 !important;
+ }
+ }
+}
+
+.pl-list{
+ width: 30%;
+ border-left: 1px solid #EEEEEE;
+ .list-sort{
+ justify-content: center;
+ height: 3rem;
+ border-bottom: 1px solid #EEEEEE;
+ & .ant-btn-primary{
+ width: 2.3rem;
+ color: #466AFF;
+ background: #eff2ff;
+ border: 1px solid rgba(151, 151, 151, 0.24);
+ }
+
+ & .ant-btn{
+ padding: 0;
+ }
+ }
+
+ .list-scroll{
+ height: 32.4rem;
+ overflow-y: scroll;
+ }
+
+ .list-scroll-content{
+ padding: 10px 10px 15px 15px;
+ border-bottom: 1px solid #EEEEEE;
+ // &:last-child{
+ // border-bottom: 0px;
+ // }
+ &:hover{
+ background: #F3F4F6;
+ }
+ & a{
+ display: none;
+ }
+ &:hover a{
+ display: block;
+ color: #466AFF;
+ }
+ }
+
+ .ls-cont{
+ width: 13rem;
+ // flex: auto;
+ margin-left: 6px;
+ justify-content: space-between;
+ & .ls-content-span{
+ max-width: 11rem;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ }
+ }
+}
+
+.vertical-center-style{
+ display: flex;
+ align-items: center;
+}
+
+img{
+ width: 45x;
+ height: 45px;
+}
diff --git a/src/forge/SecuritySetting/sub/SSH.jsx b/src/forge/SecuritySetting/sub/SSH.jsx
index bc004e119..80294b398 100644
--- a/src/forge/SecuritySetting/sub/SSH.jsx
+++ b/src/forge/SecuritySetting/sub/SSH.jsx
@@ -56,7 +56,7 @@ function SSH(props) {
setVisibleDesc(false)} desc={content}/>
SSH密钥
-
+
{
list && list.length > 0 &&
diff --git a/src/forge/users/Material/Base.jsx b/src/forge/users/Material/Base.jsx
index 5f776f8db..f9707ab0d 100644
--- a/src/forge/users/Material/Base.jsx
+++ b/src/forge/users/Material/Base.jsx
@@ -125,7 +125,7 @@ export default Form.create()(
-
+
{/* */}
diff --git a/src/forge/users/Material/Index.jsx b/src/forge/users/Material/Index.jsx
index 2ea0ecc17..869c1877f 100644
--- a/src/forge/users/Material/Index.jsx
+++ b/src/forge/users/Material/Index.jsx
@@ -1,5 +1,6 @@
import React , { useEffect , useState } from 'react';
import './Index.scss';
+import '../../SecuritySetting/notice/manager/Index.scss'
import { Menu } from 'antd';
import { Link } from 'react-router-dom';
import Base from './Base';
@@ -25,11 +26,14 @@ function Index(props){
return(
-
-
+
+
+
+
{
key === "0" ?
diff --git a/src/forge/users/Material/Index.scss b/src/forge/users/Material/Index.scss
index b24d3eb19..f4e79a52b 100644
--- a/src/forge/users/Material/Index.scss
+++ b/src/forge/users/Material/Index.scss
@@ -19,6 +19,12 @@
.ant-menu-item{
a{
font-size: 16px;
+ color: #333333;
+ position: relative;
+ bottom: -10px;
+ }
+ a:hover{
+ color: #333333;
}
}
}
\ No newline at end of file
diff --git a/src/forge/users/Material/Password.jsx b/src/forge/users/Material/Password.jsx
index 12b31ac53..d7a2abc6a 100644
--- a/src/forge/users/Material/Password.jsx
+++ b/src/forge/users/Material/Password.jsx
@@ -89,7 +89,7 @@ export default Form.create()(
-
+