| | |
| | | } |
| | | }); |
| | | |
| | | |
| | | const logList = computed(() => { |
| | | let _list = rtDatas.value.eventList; |
| | | let resObj = {}; |
| | |
| | | <div class="value">{{ toFixed(rtDatas.devStates.avgMonVol, VOL) }}V</div> |
| | | </div> |
| | | <div class="item-big"> |
| | | {{ toFixed(rtDatas.devStates.storageVoltage, VOL) }} |
| | | {{ toFixed(rtDatas.devStates.storageVoltage, GROUPVOL) }} |
| | | <div class="unit">V</div> |
| | | </div> |
| | | |
| | |
| | | <div class="value"> |
| | | {{ rtDatas.devStates.testCapacity }} |
| | | <div class="unit">AH</div> |
| | | </div> |
| | | </div> |
| | | <div class="border border-center"> |
| | | <div class="i label"> |
| | | 电芯压差 |
| | | </div> |
| | | <div class="value"> |
| | | {{ rtDatas.devStates.diffBatteryVoltage }} mV |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | text-align: center; |
| | | background: #02a7f0; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | text-align: center; |
| | | background: #02a7f0; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | padding: 2px 10px; |
| | | border-radius: 6px; |
| | | &.max { |
| | | background: #d9001b; |
| | | background: #438D29; |
| | | } |
| | | &.min { |
| | | background: #f59a23; |
| | | background: #DBD608; |
| | | } |
| | | } |
| | | } |
| | |
| | | .stop-reason { |
| | | // margin-left: 4em; |
| | | text-align: center; |
| | | color: #0ff; |
| | | /* 定义动画名称和持续时间 */ |
| | | animation: colorChange 3s infinite; |
| | | font-weight: bold; |
| | | .label { |
| | | margin-right: 0.4em; |
| | |
| | | &.border2 { |
| | | grid-column: 4 e("/") 5; |
| | | } |
| | | &.border-center { |
| | | grid-column: 3 e("/") 4; |
| | | width: 9em; |
| | | } |
| | | .i { |
| | | margin-top: 0.2em; |
| | | &.label { |
| | | font-size: 16px; |
| | | } |
| | | } |
| | | } |
| | | .center { |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | place-self: stretch; |
| | | grid-area: 1 e("/") 3 e("/") 6 e("/") 4; |
| | | grid-area: 1 e("/") 3 e("/") 5 e("/") 4; |
| | | .i { |
| | | height: 150px; |
| | | width: 100%; |
| | |
| | | transform: translateX(0); |
| | | } |
| | | } |
| | | |
| | | /* 使用@keyframes定义动画 */ |
| | | @keyframes colorChange { |
| | | 0%, 100% { color: red; } /* 开始和结束时的颜色 */ |
| | | 50% { color: #0ff; } /* 中间状态的颜色 */ |
| | | } |
| | | </style> |