diff --git a/src/forge/Component/NoticeModal/Index.scss b/src/forge/Component/NoticeModal/Index.scss index 259be854..18e4dcda 100644 --- a/src/forge/Component/NoticeModal/Index.scss +++ b/src/forge/Component/NoticeModal/Index.scss @@ -39,13 +39,10 @@ .nContent{ padding:20px 34px; background-color: #fff; - .nMaindesc{ - height: 90px; - font-size: 15px; - font-weight: 400; - color: #000000; - line-height: 30px; - } + line-height: 30px; + font-size: 15px; + font-weight: 400; + color: #333; .realmName{ margin-top: 20px; display: flex; diff --git a/src/forge/Component/NoticeModal/SystemNotice.jsx b/src/forge/Component/NoticeModal/SystemNotice.jsx index cb3fccf0..32c864ab 100644 --- a/src/forge/Component/NoticeModal/SystemNotice.jsx +++ b/src/forge/Component/NoticeModal/SystemNotice.jsx @@ -26,10 +26,12 @@ function SystemNotice({system_notification,history}){ // } // }).catch(error=>{}) // } + console.log("cookies before:",cookie.load('notice_stage')) ; cookie.remove('notice_stage'); - let inFifteenMinutes = new Date(new Date().getTime() + 24 * 3600 * 1000);//一天 + // let inFifteenMinutes = new Date(new Date().getTime() + 24 * 3600 * 1000);//一天 + let inFifteenMinutes = new Date(new Date().getTime() + 60 * 1000);//一分钟 cookie.save('notice_stage', true,{ expires: inFifteenMinutes }); - console.log("cookies:",cookie.load('notice_stage')) ; + console.log("cookies after:",cookie.load('notice_stage')) ; setVisible(false); }