智慧园区前端大屏
shuishen
2024-12-18 9a37c5e1b2190c3f6ec71483923922189091dd52
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
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 18:41:39
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-10-26 14:48:11
 * @FilePath: \bigScreen\src\components\global\TitleBox.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>
 
<script setup>
 
</script>
 
<script>
export default {
  name: 'TitleBox'
}
</script>
 
<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>