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="panel-header">
    <span class="header-dot"></span>
    <span class="panel-title">{{ title }}</span>
  </div>
</template>
 
<script setup>
defineProps({
  title: {
    type: String,
    required: true,
    default: ''
  }
})
</script>
 
<style scoped>
.panel-header {
  background-image: url("@/assets/BI/kehuhetongback@2x.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  gap: 10px;
}
 
.header-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #4ee4ff 0%, #217aff 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: dotPulse 2s ease-in-out infinite;
  margin-left: 32px;
}
 
@keyframes dotPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 10px rgba(78, 228, 255, 0.5); }
}
 
.panel-title {
  width: 100%;
  font-weight: 500;
  font-size: 16px;
  color: #D9ECFF;
  padding-left: 10px;
  line-height: 36px;
  animation: titleShimmer 3s ease-in-out infinite;
}
 
@keyframes titleShimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
</style>