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
51
52
53
54
55
56
57
58
59
60
61
| <template>
| <div>
| <div>
| <p
| v-for="(p,index) in Introduces.p"
| :key="index"
| class="indent"
| >{{p}}</p>
| </div>
| <div
| v-for="(item,index) in Introduces.skill"
| :key="index"
| class="Introduces_style"
| >
| <p>{{item.title}}</p>
| <div>
| <span
| class="title-style"
| v-for="(a) in item.all"
| :key="a"
| >{{a}}</span>
| </div>
| </div>
| </div>
| </template>
|
| <script>
| export default {
| props: ["Introduces"],
| };
| </script>
|
| <style scoped lang="scss">
| // 关于
| .indent {
| font-size: 16px;
| // 首行缩进
| text-indent: 24px;
| color: #7f7f7f;
| // 设置行高,撑开行高
| line-height: 20px;
| }
| .Introduces_style {
| & > div {
| display: flex;
| flex-wrap: wrap;
| }
|
| //技能
| .title-style {
| padding: 10px 16px;
| background-color: #d7d7d7;
| border-radius: 20px;
| font-size: 14px;
| margin-right: 16px;
| margin-bottom: 16px;
| min-width: 120px;
| text-align: center;
| }
| }
| </style>
|
|