+
无异常
diff --git a/src/views/dashboard/components/TrainInfoModel.scss b/src/views/dashboard/components/TrainInfoModel.scss
index ceaafa6..70f9232 100644
--- a/src/views/dashboard/components/TrainInfoModel.scss
+++ b/src/views/dashboard/components/TrainInfoModel.scss
@@ -43,7 +43,7 @@
}
.train-content-bottom {
box-sizing: border-box;
- margin-top: 12px;
+ padding-top: 12px;
.train-content-bottom-train {
box-sizing: border-box;
@@ -73,10 +73,17 @@
}
.train-card-item-alarm {
- background: rgba(245,63,63,0.3);
+ background: rgba(245, 63, 63, 0.3);
color: #f53f3f;
border: 1px solid #f53f3f;
}
+ .train-card-item-active {
+ background-image: url("@/assets/trainManage/train_card_bg.png");
+ background-size: 100% 100%;
+ background-position: center;
+ background-repeat: no-repeat;
+ border: 1px solid transparent;
+ }
.train-card-item-default {
position: relative;
color: #cacbce;
diff --git a/src/views/dashboard/components/VideoExport.vue b/src/views/dashboard/components/VideoExport.vue
index aef32cd..345b920 100644
--- a/src/views/dashboard/components/VideoExport.vue
+++ b/src/views/dashboard/components/VideoExport.vue
@@ -1,14 +1,21 @@
-
-
-
diff --git a/src/views/dashboard/components/待删除PieChartSmall.vue b/src/views/dashboard/components/待删除PieChartSmall.vue
deleted file mode 100644
index 729ec9a..0000000
--- a/src/views/dashboard/components/待删除PieChartSmall.vue
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
diff --git a/src/views/dashboard/components/TrainInfoModel.vue b/src/views/dashboard/components/待删除TrainInfoModel.vue
similarity index 95%
rename from src/views/dashboard/components/TrainInfoModel.vue
rename to src/views/dashboard/components/待删除TrainInfoModel.vue
index 63e1b8b..b5c98bc 100644
--- a/src/views/dashboard/components/TrainInfoModel.vue
+++ b/src/views/dashboard/components/待删除TrainInfoModel.vue
@@ -2,7 +2,7 @@
* @Author: donghao donghao@supervision.ltd
* @Date: 2025-06-23 15:50:30
* @LastEditors: donghao donghao@supervision.ltd
- * @LastEditTime: 2025-09-05 16:48:36
+ * @LastEditTime: 2025-09-10 10:47:08
* @FilePath: \5G-Web\src\views\dashboard\components\TrainInfoModel.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -72,7 +72,7 @@ const itemCount = 16; // 这里可以根据实际需求动态设置
-
+
-
{{ item.model }}
diff --git a/tests/echartsClickDemo.html b/tests/echartsClickDemo.html
new file mode 100644
index 0000000..64ac345
--- /dev/null
+++ b/tests/echartsClickDemo.html
@@ -0,0 +1,451 @@
+
+
+
+
+
+
Vue 3 + ECharts 饼图点击交互
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
点击饼图扇区查看详情
+
点击左侧饼图的任何部分将会在此显示详细信息
+
+
+
+
+
+
+
+
+
{{ clickData.name }}
+
+
+
+ 数值:
+ {{ clickData.value }}
+
+
+
+ 百分比:
+ {{ clickData.percent }}%
+
+
+
+ 描述:
+ {{ getDescription(clickData.name) }}
+
+
+
+
+
+ 所属系列:
+ {{ clickData.seriesName }}
+
+
+
+ 数据索引:
+ {{ clickData.dataIndex }}
+
+
+
+
+
+
+
+
实现说明
+
+ - 使用 ECharts 的 chart.on('click') 方法监听饼图点击事件
+ - 点击事件参数包含名称(name)、值(value)、百分比(percent)等关键数据
+ - 通过 Vue 的响应式特性更新点击信息展示区域
+ - 添加了窗口大小变化监听器,确保图表响应式调整
+ - 在组件卸载时正确销毁 ECharts 实例和事件监听器
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/videoExport.html b/tests/videoExport.html
new file mode 100644
index 0000000..3ee9bf2
--- /dev/null
+++ b/tests/videoExport.html
@@ -0,0 +1,692 @@
+
+
+
+
+
+
JSON数据解析器 - DeepSeek风格
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ error }}
+
+
+ {{ formattedJson }}
+
+
+
+
+
+ 等待加载JSON数据...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
frame_id: {{ id }}
+
+
+
+
+
+
+
+
未找到匹配的数据
+
请加载JSON数据并确保其中包含is_check为true的对象
+
+
+
+
+
+
+
+
+
+
+
+
{{ notificationMessage }}
+
+
+
+
+
+
+
\ No newline at end of file