From 9859152fdaebb4162e80e8a112705bf397f35e09 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Tue, 23 Jun 2026 14:34:34 +0800
Subject: [PATCH] feat: 添加事件名称
---
applications/drone-command/src/views/dataCockpit/components/templateComponents/TitleTemplate.vue | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/applications/drone-command/src/views/dataCockpit/components/templateComponents/TitleTemplate.vue b/applications/drone-command/src/views/dataCockpit/components/templateComponents/TitleTemplate.vue
index 9d3c9b0..39c8c8f 100644
--- a/applications/drone-command/src/views/dataCockpit/components/templateComponents/TitleTemplate.vue
+++ b/applications/drone-command/src/views/dataCockpit/components/templateComponents/TitleTemplate.vue
@@ -9,7 +9,7 @@
* 2026-01-08 09:32:52
-->
<template>
- <div class="title-box">
+ <div class="title-box" :class="props.className">
<div class="title">
<slot></slot>
</div>
@@ -17,7 +17,12 @@
</template>
<script setup>
-
+const props = defineProps({
+ className: {
+ type: String,
+ default: ''
+ }
+})
</script>
<style lang="scss" scoped>
@@ -40,4 +45,8 @@
text-transform: none;
}
}
+
+.equipment-scene {
+ background: url('@/assets/images/dataCockpit/equipment-scene.png') center / 100% 100% no-repeat !important;
+}
</style>
\ No newline at end of file
--
Gitblit v1.9.3