-
- {item.status === 1 ? : }
-
- window.location.href = (`${item.notification_url}`)}>{item.content}
-
-
- {item.time_ago}
- {item.status === 1 && 标记为已读}
-
+ {messageList.map(item => {
+ // 系统消息
+ // 消息类别
+ // const iconName = item.source.startsWith("Issue")?"icon-yixiuicon1":item.source.startsWith("Project")?"icon-daimakuicon1":item.source.startsWith("Project")?"icon-daimakuicon1":
+ if (noticeType === "0" && item.type === "notification") {
+ return (
+
+
+ {item.status === 1 ? : }
+
+ window.location.href = (`${item.notification_url}`)}>{item.content}
- )
- } else if (noticeType === "2" && item.type === "atme") {
- //@我
- return (
-
-
- {/*
*/}
-
-
-
- {item.status === 1 ? : }
- {item.content}
-
-
-
+
+ {item.time_ago}
+ {item.status === 1 && readNotice([item.id])}>标记为已读}
- )
- }
- })}
+
+ )
+ } else if (noticeType === "2" && item.type === "atme") {
+ //@我
+ return (
+
+
+ {/*
*/}
+
+
+
+ {item.status === 1 ? : }
+ {item.content}
+
+
+
+ {item.time_ago}
+ {item.status === 1 && readNotice([item.id])}>标记为已读}
+ deleteNotice([item.id])}>删除
+
+
+ )
+ }
+ })}
+
+ {/* 私信 */}
+ {/*
+
+
+
+
props.history.push('/settings/notice/privateLetter')}>
+ 最好的OpenStack控制台,对标OpenStack社区Horizon项目,最好的OpenStack控制台,对标OpenStack社区Horizon项目,在易用性、页面性能等方面进行深度优化,提供简单控制台。
+
+
+
*/}
)
}
diff --git a/src/forge/SecuritySetting/notice/myNotice/Index.scss b/src/forge/SecuritySetting/notice/myNotice/Index.scss
index d8ce6ad0..2632f62b 100644
--- a/src/forge/SecuritySetting/notice/myNotice/Index.scss
+++ b/src/forge/SecuritySetting/notice/myNotice/Index.scss
@@ -6,7 +6,7 @@
}
.ant-menu-item{
padding:0px;
- // margin-right:34px!important;
+ margin-right:34px!important;
height: 34px;
width: 64px;
text-align: center;
@@ -129,9 +129,12 @@ button:active {
.mynotice-cont{
padding:0;
- & .atme-checkbox{
+ & .visible-checkbox{
margin-right: 10px;
}
+ & .invisible-checkbox{
+ display: none;
+ }
}
& .ant-badge-count, .ant-badge-dot, .ant-badge .ant-scroll-number-custom-component {
@@ -197,7 +200,7 @@ button:active {
.at-length{
max-width: 48rem;
- margin-left: 18px;
+ margin-left: 12px;
}
#numberSpan{
color: #466AFF;
@@ -212,14 +215,14 @@ button:active {
margin-right: 10px;
}
-.invisible_checkGroup{
- & .ant-checkbox-inner{
- display: none;
- }
-}
-.notice01{
- & .ant-checkbox-group{
- display: flex;
- flex-direction: column;
- }
-}
\ No newline at end of file
+// .invisible_checkGroup{
+// & .ant-checkbox-inner{
+// display: none;
+// }
+// }
+// .notice01{
+// & .ant-checkbox-group{
+// display: flex;
+// flex-direction: column;
+// }
+// }
\ No newline at end of file