吉安感知网项目-前端
chenyao
4 days ago c2e0774ce8fecf5ef512afa3ff6125fd2f5377b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!--
 * @Author       : yuan
 * @Date         : 2026-01-08 09:32:52
 * @LastEditors  : yuan
 * @LastEditTime : 2026-01-08 09:43:00
 * @FilePath     : \applications\drone-command\src\views\dataCockpit\components\templateComponents\TitleTemplate.vue
 * @Description  : 
 * Copyright 2026 OBKoro1, All Rights Reserved. 
 * 2026-01-08 09:32:52
-->
<template>
    <div class="title-box" :class="props.className">
        <div class="title">
            <slot></slot>
        </div>
    </div>
</template>
 
<script setup>
const props = defineProps({
  className: {
    type: String,
    default: ''
  }
})
</script>
 
<style lang="scss" scoped>
.title-box {
    padding-left: 26px;
    background: url('@/assets/images/dataCockpit/title-bg.png') center / 100% 100% no-repeat;
    height: 34px;
 
    .title {
        height: 25px;
        line-height: 25px;
 
        font-family: PangMen; 
        font-weight: 400;
        font-size: 18px;
        color: #FFFFFF;
        letter-spacing: 1px;
        text-align: left;
        font-style: normal;
        text-transform: none;
    }
}
 
.equipment-scene {
    background: url('@/assets/images/dataCockpit/equipment-scene.png') center / 100% 100% no-repeat !important;
}
</style>