fix: network_status
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 46s
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 46s
This commit is contained in:
@@ -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 }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user