index.vue
717 Bytes
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
/<template>
<div class="title-with-circle">
<div class="circle"></div>
<div class="title1">{{ title }}</div>
</div>
</template>
<script>
export default {
name: 'TitleWithCircle',
props: {
title: {
type: String,
required: true
}
}
}
</script>
<style scoped>
.title-with-circle {
display: flex;
align-items: center;
}
.circle {
margin-right: 9px;
content: " ";
display: inline-block;
height: 18px;
width: 4px;
background-color: #3f9b6a;
border-radius: 5px;
vertical-align: bottom;
}
.title1 {
line-height: 18px;
color: #000000e6;
font-size: 18px;
font-weight: bold;
font-family: "Alibaba PuHuiTi 2.0-85 Bold";
}
</style>