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? '禁用' : '启用'}}
-
+
-
+
-
+
历史
@@ -300,9 +325,10 @@ export default {
justify-content: space-around;
.box-title {
height:100% !important;
- width: 30px;
+ width: 70px;
background: #00AAA3;
color:#fff;
+
// border-right: 1px solid #006b3b;
display: flex;
justify-content: center;
@@ -351,21 +377,41 @@ export default {
}
.box-info {
width:100%;
- // border: 1px solid red;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- align-items: center;
- padding: 0 10px;
- .el-tag {
- margin: 10px;
- }
+ display: inline-block;
+ height: 100%;
+ table {
+ width:100%;
+ height: 100%;
+ border-collapse: collapse;
+ }
+ td {
+ padding:5px;
+ border-right: 1px solid #006b3b;
+ border-collapse: collapse;
+ }
}
- .des {
+ .des, .des1 {
border-bottom: 1px solid #006b3b;
display: flex;
align-items: center;
width:100%;
-
+ height: 80px;
+ }
+ .des1 {
+ height: 50px;
+ }
+ .box-info1 {
+ width:100%;
+ height: 80px;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 5px 10px;
+ }
+
+ .el-tag {
+ margin-right: 10px;
+ width:200px;
+ justify-content: left;
}