Commit 0e599fa1 authored by 杨思琦's avatar 杨思琦

fix: 消息提示修改

parent c737fe08
Pipeline #86225 passed with stages
......@@ -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}
</a>
<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 ? (
......
@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;
......
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