From 33e4edea0205a5765339773619fe10847ef5f05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=B6=E4=B8=AD=E6=B2=99?= <464652163@qq.com> Date: Wed, 16 Oct 2024 17:37:29 +0800 Subject: [PATCH] 123 --- src/css/index.scss | 2 +- src/views/Data.vue | 102 ++++++++++++++++++++++++++++++++------------- 2 files changed, 75 insertions(+), 29 deletions(-) diff --git a/src/css/index.scss b/src/css/index.scss index 8f9fdd4..960b6b0 100644 --- a/src/css/index.scss +++ b/src/css/index.scss @@ -284,7 +284,7 @@ s { font-size: 18px; font-weight: bold; background: -webkit-gradient(linear, left top, left bottom, from(#a7fcff), to(#08ced0)); - background: linear-gradient(180deg, #a7fcff, #08ced0); + background: linear-gradient(180deg, #00AAA3, #006b3b); -webkit-background-clip: text; color: transparent; } diff --git a/src/views/Data.vue b/src/views/Data.vue index d4acbb7..51c1401 100644 --- a/src/views/Data.vue +++ b/src/views/Data.vue @@ -12,15 +12,38 @@
通讯信息 - 通讯名称: {{ curDriver.driver_name }} - 通讯总计数: {{ curDriver.health && curDriver.health.total_count }} - 通讯描述: {{ curDriver.driver_description }} - 通讯状态: {{ txStatus[curDriver.driver_status] }} - 通讯成功计数: {{ curDriver.health && curDriver.health.success_count }} - 通讯失败计数: {{ curDriver.health && curDriver.health.failure_count }} - 通讯最后一次成功时间: {{ curDriver.health && curDriver.health.last_success_time }} - 通讯最后一次失败时间: {{ curDriver.health && curDriver.health.last_failure_ctime }} - 通讯最后一次失败原因: {{ curDriver.health && curDriver.health.last_failure_cause }} + + + + + + + + + + + + + + + + + +
+ 通讯名称: {{ curDriver.driver_name }} + 通讯失败计数: {{ curDriver.health && curDriver.health.failure_count }} + 通讯最后一次成功时间: {{ curDriver.health && curDriver.health.last_success_time }} + + 通讯状态: {{ txStatus[curDriver.driver_status] }} + + 通讯总计数: {{ curDriver.health && curDriver.health.total_count }} +
+ 通讯描述: {{ curDriver.driver_description }} + + 通讯成功计数: {{ curDriver.health && curDriver.health.success_count }} + + 通讯最后一次失败时间: {{ curDriver.health && curDriver.health.last_failure_ctime }} + 通讯最后一次失败原因: {{ curDriver.health && curDriver.health.last_failure_cause }}
@@ -40,25 +63,27 @@
-
+
设备信息 -
- 设备名称: {{ curDevice.device_name }} - 设备描述: {{ curDevice.device_description }} +
+
+ 设备名称: {{ curDevice.device_name }} + 设备描述: {{ curDevice.device_description }} +
{{!curDevice.device_disable? '禁用' : '启用'}}
- + - + - +