From 9c5778b706fc187d4450d423496816ef2b82337c Mon Sep 17 00:00:00 2001 From: sexygoat <1538832180@qq.com> Date: Wed, 15 Apr 2026 16:41:36 +0800 Subject: [PATCH] fix: network_status --- components/UserInfoCard.vue | 5 +++-- pages/order-list/order-list.vue | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/UserInfoCard.vue b/components/UserInfoCard.vue index f0256bd..4e62887 100644 --- a/components/UserInfoCard.vue +++ b/components/UserInfoCard.vue @@ -14,8 +14,8 @@ {{ onlineStatus }} - - {{ onlineStatus }} + + {{ networkStatus == 1 ? '正常' : '停机' }} @@ -31,6 +31,7 @@ currentCardNo: { type: String, default: '' }, deviceInfo: { type: Object, default: () => ({}) }, onlineStatus: { type: String, default: '离线' }, + networkStatus: { type: String, default: '离线' }, isDevice: { type: Boolean, default: true } }); diff --git a/pages/order-list/order-list.vue b/pages/order-list/order-list.vue index 6aca34f..4843ce2 100644 --- a/pages/order-list/order-list.vue +++ b/pages/order-list/order-list.vue @@ -173,10 +173,10 @@ .filter-tabs { display: flex; - padding: 0 24rpx; background: #fff; position: sticky; top: 0; + border-radius: 10rpx; z-index: 10; .tab-item { position: relative; @@ -206,7 +206,6 @@ .order-scroll { flex: 1; - padding: 24rpx; } .empty-state {