Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
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
ReactWeb5
CivWeb
Commits
0e599fa1
Commit
0e599fa1
authored
1 year ago
by
杨思琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 消息提示修改
parent
c737fe08
Pipeline
#86225
passed with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
6 deletions
+26
-6
NoticeIconView.js
src/components/GlobalHeader/NoticeIconView.js
+7
-2
index.less
src/components/GlobalHeader/index.less
+19
-4
No files found.
src/components/GlobalHeader/NoticeIconView.js
View file @
0e599fa1
...
...
@@ -60,9 +60,14 @@ const PlatformModal = ({ platformVisible, handleClosePlatform, handlerMointer, m
<
img
src
=
{
icon
}
alt
=
""
/>
<
div
className
=
{
styles
.
content
}
>
<
div
className
=
{
styles
[
'content-top'
]}
>
<
a
onClick
=
{
event
=>
handlerMointer
(
event
,
message
,
true
)}
>
{
message
&&
message
.
infoContent
&&
message
.
infoContent
.
title
}
<
div
className
=
{
styles
[
'content-top-title'
]}
>
<
a
onClick
=
{
event
=>
handlerMointer
(
event
,
message
,
true
)}
title
=
{
message
&&
message
.
infoContent
&&
message
.
infoContent
.
title
}
>
{
message
&&
message
.
infoContent
&&
`
${
message
.
infoContent
.
title
}
${
message
.
infoContent
.
title
}
`
}
<
/a
>
<
/div
>
<
span
title
=
"点击标为已读"
onClick
=
{
event
=>
handlerMointer
(
event
,
message
,
false
)}
/
>
<
/div
>
{
isAlarm
?
(
...
...
This diff is collapsed.
Click to expand it.
src/components/GlobalHeader/index.less
View file @
0e599fa1
@import '~antd/es/style/themes/variable.less';
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
@keyframes marque-animation {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-40%);
}
}
.menu {
:global(.@{ant-prefix}icon) {
...
...
@@ -420,11 +428,18 @@
white-space: nowrap;
justify-content: space-between;
align-items: center;
a {
text-overflow: ellipsis;
&-title {
flex: 1;
text-overflow: clip;
overflow: hidden;
white-space: nowrap;
margin-right: 30px;
margin-right: 15px;
display: flex;
a {
animation: marque-animation 10s linear infinite;
}
a:hover {
animation-play-state: paused;
}
}
span {
width: 18px;
...
...
This diff is collapsed.
Click to expand it.
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