Merge pull request '域名更换弹框样式' (#186) from caishi/forgeplus-react:featrue_system_popup_notification into featrue_system_popup_notification

This commit is contained in:
jasder 2021-10-18 17:25:35 +08:00
commit edbd47ea0f
2 changed files with 7 additions and 8 deletions

View File

@ -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;

View File

@ -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() + 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);
}