forked from drone/command-center-dashboard

罗广辉
2025-04-21 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7
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
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 18:41:39
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2025-04-02 18:26:00
 * @FilePath: \command-center-dashboard\src\components\publicTitle\publicTitle.vue
 * @Description: 
 * 
 * Copyright (c) 2024 by shuishen, All Rights Reserved. 
-->
<template>
    <div class="title-box">
        <div class="title">
            <slot name="titleName"></slot>
        </div>
    </div>
</template>
 
<style lang="scss" scoped>
.title {
    margin-left: 30px;
    text-align: left;
    font-size: 18px;
    font-family: Alibaba PuHuiTi;
    font-weight: 700;
    font-style: italic;
    color: transparent;
    text-shadow: 0 2px 8px rgba(5, 28, 55, .42);
    background-image: linear-gradient(180deg, rgba(14, 197, 236, .36) 5%, rgba(49, 190, 255, .36) 20%, #fff 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparen;
}
</style>