20260905:微信小程序-蓝牙采集网关-样式调试

This commit is contained in:
zhugongping 2026-09-05 16:41:52 +08:00
parent d146afe5fa
commit 7ce0fdb147
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<!-- 设备卡片组件 -->
<view class="device-card" bindtap="handleTap">
<view class="device-card" catchtap="handleTap">
<!-- 设备信息 -->
<view class="device-main">
<view class="device-header">

View File

@ -106,8 +106,12 @@
background-color: #fff1f0;
border: 1rpx solid #ffa39e;
border-radius: 28rpx;
line-height: 1;
line-height: 56rpx;
text-align: center;
transition: all 0.2s ease;
/* 重置微信小程序 button 默认样式 */
box-sizing: border-box;
overflow: visible;
}
.delete-btn::after {

View File

@ -16,7 +16,7 @@
wx:for="{{devices}}"
wx:key="serialNumber"
device="{{item}}"
bindtap="handleDeviceTap"
bind:tap="handleDeviceTap"
data-index="{{index}}"
binddelete="handleDeviceDelete"
bindswitch="handleDeviceSwitch"