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
| <template>
| <div class="head-info">
| <span>{{title}}</span>
| <p>{{content}}</p>
| </div>
| </template>
|
| <script>
| export default {
| name: 'HeadInfo',
| props: ['title', 'content', 'bordered']
| }
| </script>
|
| <style lang="less" scoped>
| .head-info{
| text-align: center;
| padding: 0 24px;
| flex-grow: 1;
| flex-shrink: 0;
| align-self: center;
| span{
| color: @text-color-second;
| display: inline-block;
| font-size: 14px;
| margin-bottom: 4px;
| }
| p{
| color: @text-color;
| font-size: 24px;
| margin: 0;
| }
| }
| </style>
|
|