index.vue
848 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
45
46
47
48
<!-- 弹窗 -->
<template>
<div class="subheading-ctnr">
<span class="sign"></span>
<span class="subheading">{{title}}</span>
</div>
</template>
<script>
export default {
name: 'subheading',
data() {
return {}
},
props: {
title: {
type: String,
default: ''
},
},
methods: {
}
}
</script>
<style scoped lang="scss">
.subheading-ctnr {
margin-bottom: 8px;
.sign {
display: inline-block;
width: 3px;
height: 12px;
background-color: #8360FE;
border-radius: 2px;
margin-right: 4px;
}
.subheading {
line-height: 25px;
font-family: PingFangSC-Medium;
font-weight: 600;
font-size: 18px;
color: #333333;
letter-spacing: 0;
}
}
</style>