style: 车站卡片文字排版

This commit is contained in:
yangsy
2025-12-11 15:55:27 +08:00
parent 37781216b2
commit 77406f1932

View File

@@ -135,9 +135,9 @@ const onSelectDropdownOption = (key: string, option: DropdownOption) => {
<NFlex justify="flex-end" align="center" :size="2">
<div>
<span :style="{ color: onlineDeviceCount > 0 ? themeVars.successColor : '' }">在线{{ onlineDeviceCount }}</span>
<span :style="{ color: onlineDeviceCount > 0 ? themeVars.successColor : '' }">在线 {{ onlineDeviceCount }} </span>
<span> · </span>
<span :style="{ color: offlineDeviceCount > 0 ? themeVars.errorColor : '' }">离线 {{ offlineDeviceCount }}</span>
<span :style="{ color: offlineDeviceCount > 0 ? themeVars.errorColor : '' }">离线 {{ offlineDeviceCount }} </span>
</div>
<!-- 占位按钮对齐布局 -->
<NButton quaternary size="tiny" :focusable="false" style="visibility: hidden">