forked from drone/command-center-dashboard

chenyao
2025-03-27 fab019a657d174fb8fc101cd5e0e6296004d12df
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
<template>
    <div class="overview-title">
        <div class="left">{{ title }}</div>
        <div class="right">详情 ></div>
    </div>
</template>
<script setup>
    const props = defineProps({
        title: {
            type: String,
            default: '机巢概况'
        }
    })
</script>
<style scoped lang="scss">
    .overview-title {
        height: hToV(42);
        background-image: url(@/assets/images/title-bg.png);
        background-repeat: no-repeat;
        display: flex;
        justify-content: space-between;
        margin-bottom: 18px;
        .left {
            margin-left: 66px;
            font-weight: 400;
            font-size: 20px;
            color: #FFFFFF;
            line-height: 23px;
            text-shadow: 0px 0px 7px rgba(75,180,229,0.69), 0px 2px 8px rgba(5,28,55,0.42);
            text-align: left;
            font-style: normal;
            text-transform: none;
        }
        .right {
            width: 42px;
            font-weight: 500;
            font-size: 14px;
            color: #0BE7F6;
            line-height: hToV(42);
        }
    }
</style>