蓝牙调试页面初步完成

This commit is contained in:
2026-01-16 12:00:49 +08:00
parent d9f8358191
commit bbc4f205a3
60 changed files with 2201 additions and 51331 deletions

View File

@@ -35,9 +35,9 @@
</view>
<scroll-view scroll-y scroll-into-view="{{toView}}" id="myScroll" style="height:{{scrollHeight}}rpx;" >
<view class='nav-list1 bg-white' style="margin-top: 20rpx;">
<view class='nav-list1' style="margin-top: 20rpx;">
<view bindtap="goProcess" data-room="{{item.RoomNumber}}" data-hotel="{{Hotelinfo.HotelName}}"
data-status="{{item.Status}}" hover-class="navigator-hover" class="nav-li4 bg-{{item.Status===1? 'cyan':'gray'}}" wx:for="{{HostsDataFilters}}" id="msg-{{index}}" wx:key>
data-status="{{item.Status}}" hover-class="navigator-hover" class="nav-li4 {{item.Status===1? 'online':'offline'}}" wx:for="{{HostsDataFilters}}" id="msg-{{index}}" wx:key>
<view style="font-size: 32rpx;justify-content:start" >{{item.RoomNumber}}</view>
<view style="font-size: 20rpx;justify-content:start" >{{item.MAC}}</view>
</view>

View File

@@ -99,3 +99,18 @@
transform: translate(0rpx, 0rpx);
margin-right: initial;
}
/* 查房列表项在线/离线样式 */
.nav-li4.online {
background-color: #FFFFFF; /* 在线高亮白 */
color: #111111;
}
.nav-li4.offline {
background-color: #C9CBCA; /* 设备离线浅灰色 */
color: #111111;
}
/* 房间卡片的大框背景色 */
.nav-list1 {
background-color: #F0F0F0;
}