ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
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
53
54
55
56
57
<template>
    <div class="screen1-moudle-block-title">
        <div class="title-bottom-line"></div>
        <div class="title-tag"></div>
        <div class="title-text">{{title}}</div>
    </div>
</template>
 
<script>
export default {
    name:'screen1MoudleBlockTitle',
    props:{
        title:{
            type:String,
            default:'title'
        }
    }
}
</script>
 
<style lang="scss" scoped>
.screen1-moudle-block-title{
    .title-bottom-line,.title-tag,.title-text{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }
    .title-bottom-line,.title-tag{
        background-repeat: no-repeat;
    }
    .title-bottom-line{
        z-index: 1;
        background-image: url(@/assets/img/screen/title-line.png);
        background-size: 100% 2px;
        background-position: left bottom;
    }
    .title-tag{
        z-index: 2;
        background-image: url(@/assets/img/screen/title-tag.png);
        background-size: auto 60%;
        background-position: left center;
    }
    .title-text{
        z-index: 3;
        color: #e4ffff;
        display: flex;
        align-items: center;
        font-size: 13px;
        padding-left: 43px;
        padding-bottom: 8px;
        letter-spacing: 2px;
    }
}
</style>