forked from Gitlink/forgeplus-react
修改弹框样式
This commit is contained in:
parent
3dac15aa86
commit
5efeb93e9e
|
@ -18,11 +18,11 @@ function QzModal() {
|
|||
if (qzModalTime) {
|
||||
if (nowTime - qzModalTime > 24 * 3600 * 1000) {
|
||||
// 延时展示,保证渲染modal不会白屏
|
||||
setTimeout(()=>{setVisible(true);},500)
|
||||
setTimeout(()=>{setVisible(true);},800)
|
||||
localStorage.setItem('qzModalTime', nowTime);
|
||||
}
|
||||
} else {
|
||||
setTimeout(()=>{setVisible(true);},500)
|
||||
setTimeout(()=>{setVisible(true);},800)
|
||||
localStorage.setItem('qzModalTime', nowTime);
|
||||
}
|
||||
}, [])
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.qzModal {
|
||||
top:calc(50vh - 250px);
|
||||
.ant-modal-body {
|
||||
padding: 0;
|
||||
background: rgb(48,118,207);
|
||||
|
|
Loading…
Reference in New Issue