Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project
jinfa-admin
Commits
3845f799
Commit
3845f799
authored
Nov 09, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:
parent
b875a9d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
RightContent.tsx
src/layouts/RightContent.tsx
+1
-1
index.less
src/layouts/index.less
+6
-3
No files found.
src/layouts/RightContent.tsx
View file @
3845f799
...
@@ -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
}
>
...
...
src/layouts/index.less
View file @
3845f799
...
@@ -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: 15
px;
left: 18
px;
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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment