6 天以前 1c829f9177eab675b22be4d20ef2761ed1bbb423
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="panel-header">
    <span class="panel-title">{{ title }}</span>
  </div>
</template>
 
<script setup>
defineProps({
  title: {
    type: String,
    required: true,
    default: ''
  }
})
</script>
 
<style scoped>
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  height: 36px;
}
 
/* 品牌蓝细竖条,呼应 PSI 大屏标题样式 */
.panel-header::before {
  content: '';
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--bi-accent-bright, #4a6cf0) 0%, var(--bi-accent, #2c51d9) 100%);
  flex-shrink: 0;
}
 
.panel-title {
  font-weight: 500;
  font-size: 16px;
  color: var(--bi-text-strong, #eaf1ff);
  letter-spacing: 1px;
}
</style>