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

This commit is contained in:
sexygoat
2026-04-15 16:41:36 +08:00
parent 9797de4202
commit 9c5778b706
2 changed files with 4 additions and 4 deletions

View File

@@ -14,8 +14,8 @@
<view v-if="isDevice" class="tag-apple" :class="onlineStatus === '在线' ? 'tag-success' : 'tag-warning'"> <view v-if="isDevice" class="tag-apple" :class="onlineStatus === '在线' ? 'tag-success' : 'tag-warning'">
{{ onlineStatus }} {{ onlineStatus }}
</view> </view>
<view v-else class="tag-apple"> <view v-else class="tag-apple" :class="networkStatus == 1 ? 'tag-success' : 'tag-warning'">
{{ onlineStatus }} {{ networkStatus == 1 ? '正常' : '停机' }}
</view> </view>
</view> </view>
</view> </view>
@@ -31,6 +31,7 @@
currentCardNo: { type: String, default: '' }, currentCardNo: { type: String, default: '' },
deviceInfo: { type: Object, default: () => ({}) }, deviceInfo: { type: Object, default: () => ({}) },
onlineStatus: { type: String, default: '离线' }, onlineStatus: { type: String, default: '离线' },
networkStatus: { type: String, default: '离线' },
isDevice: { type: Boolean, default: true } isDevice: { type: Boolean, default: true }
}); });

View File

@@ -173,10 +173,10 @@
.filter-tabs { .filter-tabs {
display: flex; display: flex;
padding: 0 24rpx;
background: #fff; background: #fff;
position: sticky; position: sticky;
top: 0; top: 0;
border-radius: 10rpx;
z-index: 10; z-index: 10;
.tab-item { .tab-item {
position: relative; position: relative;
@@ -206,7 +206,6 @@
.order-scroll { .order-scroll {
flex: 1; flex: 1;
padding: 24rpx;
} }
.empty-state { .empty-state {