Commit 3845f799 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix:

parent b875a9d0
...@@ -62,7 +62,7 @@ const RightContent: React.FC<{}> = (props) => { ...@@ -62,7 +62,7 @@ const RightContent: React.FC<{}> = (props) => {
className={styles.topMessage} className={styles.topMessage}
> >
<BellOutlined /> <BellOutlined />
<span className={styles.push}></span> <span className="pulse"></span>
</a> </a>
</Dropdown> </Dropdown>
<Dropdown overlay={menu}> <Dropdown overlay={menu}>
......
...@@ -112,18 +112,21 @@ ...@@ -112,18 +112,21 @@
font-size: 18px; font-size: 18px;
} }
} }
.push{ }
:global{
.pulse{
display: block; display: block;
position: absolute; position: absolute;
top: 0.9rem; top: 0.9rem;
right: 15px; left: 18px;
width: 7px; width: 7px;
height: 7px; height: 7px;
border-radius: 50%; border-radius: 50%;
background: #04ff2f; background: #04ff2f;
cursor: pointer; cursor: pointer;
box-shadow: 0 0 0 rgba(4, 255, 47, 0.9); box-shadow: 0 0 0 rgba(4, 255, 47, 0.9);
animation: pulse 2s infinite; animation: all 2s infinite;
animation-duration: .9s; animation-duration: .9s;
animation-iteration-count: infinite; animation-iteration-count: infinite;
animation-timing-function: ease-out; animation-timing-function: ease-out;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment