fix: order-list
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 45s

This commit is contained in:
sexygoat
2026-04-15 16:22:06 +08:00
parent 8bf89dbe57
commit dc3a37f60f
3 changed files with 63 additions and 14 deletions

View File

@@ -14,8 +14,8 @@
<view v-if="isDevice" class="tag-apple" :class="onlineStatus === '在线' ? 'tag-success' : 'tag-warning'">
{{ onlineStatus }}
</view>
<view v-else class="status-text">
{{ networkStatus === 0 ? '停机' : '正常' }}
<view v-else class="tag-apple">
{{ onlineStatus }}
</view>
</view>
</view>
@@ -31,8 +31,7 @@
currentCardNo: { type: String, default: '' },
deviceInfo: { type: Object, default: () => ({}) },
onlineStatus: { type: String, default: '离线' },
isDevice: { type: Boolean, default: true },
networkStatus: { type: Number, default: 1 }
isDevice: { type: Boolean, default: true }
});
// 默认头像
@@ -56,9 +55,5 @@
image { width: 100%; height: 100%; object-fit: cover; }
}
.user-details { flex: 1; }
.status-text {
font-size: 24rpx;
color: var(--text-secondary);
}
}
</style>