/* 设备详情页样式 */ .device-info { margin-bottom: 20rpx; } .info-row { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 16rpx 0; border-bottom: 1rpx solid #f5f5f5; } .info-row:last-child { border-bottom: none; } .info-label { font-size: 26rpx; color: #666; } .info-value { font-size: 26rpx; color: #333; } .data-section { margin-bottom: 20rpx; } .section-header { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 16rpx; } .section-title { font-size: 30rpx; font-weight: 600; color: #333; } .clear-btn { font-size: 24rpx; color: #ff4d4f; } .data-list { max-height: 600rpx; overflow-y: auto; } .data-item { display: flex; flex-direction: row; align-items: center; padding: 16rpx 0; border-bottom: 1rpx solid #f5f5f5; } .data-item:last-child { border-bottom: none; } .data-time { width: 140rpx; font-size: 24rpx; color: #999; } .data-hex { flex: 1; font-size: 24rpx; color: #333; font-family: monospace; word-break: break-all; } .data-action { width: 100rpx; text-align: right; } .uploaded { font-size: 22rpx; color: #52c41a; } .upload-btn { font-size: 22rpx; color: #1890ff; } .empty-hint { font-size: 24rpx; color: #bbb; margin-top: 12rpx; } .stats-section { display: flex; flex-direction: row; margin-bottom: 20rpx; } .stat-item { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 16rpx 0; } .stat-value { font-size: 40rpx; font-weight: 600; color: #1890ff; } .stat-label { font-size: 24rpx; color: #999; margin-top: 8rpx; } .action-group { display: flex; flex-direction: row; flex-wrap: wrap; gap: 16rpx; padding: 20rpx 0; } .btn-connect, .btn-mqtt, .btn-upload { flex: 1; min-width: 200rpx; height: 80rpx; line-height: 80rpx; font-size: 28rpx; border-radius: 8rpx; border: none; } .btn-connect { background-color: #1890ff; color: #fff; } .btn-connect[disabled] { background-color: #69c0ff; } .btn-mqtt { background-color: #52c41a; color: #fff; } .btn-mqtt[disabled] { background-color: #95de64; } .btn-upload { background-color: #722ed1; color: #fff; } .btn-upload[disabled] { background-color: #b37feb; }