From 365d1eae2e5f0b8b5acb1a2bd5417e0cb02cda58 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 21 九月 2024 14:20:22 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/components/PulseSignal.jsx | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/zy-acs-flow/src/page/components/PulseSignal.jsx b/zy-acs-flow/src/page/components/PulseSignal.jsx
index b4a0750..1b98d49 100644
--- a/zy-acs-flow/src/page/components/PulseSignal.jsx
+++ b/zy-acs-flow/src/page/components/PulseSignal.jsx
@@ -1,5 +1,6 @@
import * as React from 'react';
import { Paper, Typography, Box, Chip, Avatar } from '@mui/material';
+import { teal } from '@mui/material/colors';
const PulseSignal = (props) => {
const { flag = true, width = 8, ...rest } = props;
@@ -12,9 +13,9 @@
width: width,
height: width,
borderRadius: '50%',
- backgroundColor: flag ? '#3f51b5' : '#f44336',
+ backgroundColor: flag ? `${teal[400]}` : '#f44336',
display: 'inline-block',
- animation: 'pulse 1.5s infinite',
+ animation: 'pulse 1.2s infinite',
'@keyframes pulse': {
'0%': {
transform: 'scale(1)',
--
Gitblit v1.9.1