SectionTitle.vue
582 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
<template>
<div class="title">
<img class="icon" :src="titleIcon" />
<span class="title-text">{{ title }}</span>
</div>
</template>
<script>
export default {
props: {
title: {
type: String,
default: ''
},
titleIcon: {
type: String,
default: ''
}
}
}
</script>
<style lang="scss" scoped>
.title {
padding:11px 0;
display: flex;
align-items: center;
.icon {
width: 18px;
height: 18px;
}
.title-text {
color: #222222;
font-size: 15px;
font-weight: 500;
margin-left: 6px;
}
}
</style>