@@ -183,7 +187,7 @@ function MyNotice(props) {
{item.status === 1 ? : }
- {item.notification_url && window.open("https://"+`${item.notification_url}`)}} dangerouslySetInnerHTML={{__html: item.content}}>
+ {item.notification_url && window.open("https://"+`${item.notification_url}`);readNotice([item.id])}} dangerouslySetInnerHTML={{__html: item.content}}>
{item.time_ago}
@@ -199,11 +203,11 @@ function MyNotice(props) {
{/*
*/}
- {item.sender &&

}
+ {item.sender &&

}
{item.status === 1 ? : }
- {item.sender &&
{item.sender.name}
}
-
{item.notification_url && window.open("https://"+`${item.notification_url}`)}} dangerouslySetInnerHTML={{__html: item.content+" 中@我"}}>
+ {/* {item.sender &&
{item.sender.name}
} */}
+ {item.sender &&
{item.notification_url && window.open("https://"+`${item.notification_url}`);readNotice([item.id])}} dangerouslySetInnerHTML={{__html: "" + item.sender.name +" " + item.content +" 中@我"}}>
}
diff --git a/src/forge/SecuritySetting/notice/myNotice/Index.scss b/src/forge/SecuritySetting/notice/myNotice/Index.scss
index ac0de198a..b10f28a77 100644
--- a/src/forge/SecuritySetting/notice/myNotice/Index.scss
+++ b/src/forge/SecuritySetting/notice/myNotice/Index.scss
@@ -155,12 +155,9 @@ button:active {
position:absolute;
}
- & .atme-sender-name{
- padding: 0 4px;
- }
-
& .atme-cont{
- max-width: 42rem;
+ max-width: 48rem;
+ margin-left: 12px;
}
}
}