From 7372ec452ef2d185ccfd981fb837c139f968d6a5 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Sun, 28 Dec 2025 23:41:48 +0800 Subject: [PATCH] mqtt --- pages/demo/index.vue | 669 +++++++++++++++++++++++++++++++------------ 1 file changed, 491 insertions(+), 178 deletions(-) diff --git a/pages/demo/index.vue b/pages/demo/index.vue index 240be9d..97a09f4 100644 --- a/pages/demo/index.vue +++ b/pages/demo/index.vue @@ -1,220 +1,533 @@ - +.log-item { + padding: 8px; + border-bottom: 1px solid #eee; + margin-bottom: 5px; + font-size: 14px; +} + +.log-item.received { + background-color: #e8f5e9; + border-radius: 4px; +} + +.log-item.sent { + background-color: #e3f2fd; + border-radius: 4px; +} + +.log-item.system { + background-color: #fff8e1; + border-radius: 4px; +} + +.log-time { + color: #999; + font-size: 12px; + margin-bottom: 3px; +} + +.log-type { + font-weight: bold; + margin-bottom: 3px; +} + +.log-topic { + color: #666; + margin-bottom: 3px; +} + +.log-message { + color: #333; +} + \ No newline at end of file