zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
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
<template>
  <div class="title_main">
    <div v-if="size === 'small'">
      <el-divider direction="vertical"></el-divider>
      <span class="title_name">{{ title }}</span>
    </div>
    <div v-if="size === 'max'">
      <span class="title_max">{{ title }}</span>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    /**
     * 标题名称
     * @example
     */
    title: {
      type: String,
      default: () => ""
    },
    size: {
      type: String,
      default: () => "small"
    }
  },
  methods: {}
};
</script>
<style lang="less" scoped>
.title_main {
  height: 81px;
  line-height: 81px;
}
.title_main .el-divider {
  background-color: #0081f0;
}
.title_main .el-divider--vertical {
  width: 2px;
  height: 16px;
}
.title_name {
  font-weight: 600;
  font-size: 14px;
  color: #222222;
}
.title_max {
}
</style>