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
Mar 20, 2024
by
杨思琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 消息提示修改
parent
c737fe08
Pipeline
#86225
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
7 deletions
+27
-7
NoticeIconView.js
src/components/GlobalHeader/NoticeIconView.js
+8
-3
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
...
@@ -60,9 +60,14 @@ const PlatformModal = ({ platformVisible, handleClosePlatform, handlerMointer, m
<
img
src
=
{
icon
}
alt
=
""
/>
<
img
src
=
{
icon
}
alt
=
""
/>
<
div
className
=
{
styles
.
content
}
>
<
div
className
=
{
styles
.
content
}
>
<
div
className
=
{
styles
[
'content-top'
]}
>
<
div
className
=
{
styles
[
'content-top'
]}
>
<
a
onClick
=
{
event
=>
handlerMointer
(
event
,
message
,
true
)}
>
<
div
className
=
{
styles
[
'content-top-title'
]}
>
{
message
&&
message
.
infoContent
&&
message
.
infoContent
.
title
}
<
a
<
/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
)}
/
>
<
span
title
=
"点击标为已读"
onClick
=
{
event
=>
handlerMointer
(
event
,
message
,
false
)}
/
>
<
/div
>
<
/div
>
{
isAlarm
?
(
{
isAlarm
?
(
...
...
src/components/GlobalHeader/index.less
View file @
0e599fa1
@import '~antd/es/style/themes/variable.less';
@import '~antd/es/style/themes/variable.less';
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
@keyframes marque-animation {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-40%);
}
}
.menu {
.menu {
:global(.@{ant-prefix}icon) {
:global(.@{ant-prefix}icon) {
...
@@ -420,11 +428,18 @@
...
@@ -420,11 +428,18 @@
white-space: nowrap;
white-space: nowrap;
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: center;
a {
&-title {
text-overflow: ellipsis;
flex: 1;
text-overflow: clip;
overflow: hidden;
overflow: hidden;
white-space: nowrap;
margin-right: 15px;
margin-right: 30px;
display: flex;
a {
animation: marque-animation 10s linear infinite;
}
a:hover {
animation-play-state: paused;
}
}
}
span {
span {
width: 18px;
width: 18px;
...
...
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